You are not logged in.
Pages: 1
Hi.
How can I change my keyboard layout?
Thanks.
Last edited by Head_on_a_Stick (2018-01-19 07:13:53)
Offline
Open a terminal window and run this command:
sudo dpkg-reconfigure keyboard-configuration
See also https://wiki.debian.org/Keyboard
You could also try
sudo apt install ibus
ibus-setup
If you need a switcher in the systray then add this line to ~/.config/openbox/autostart:
ibus-daemon &
Perhaps try it without the ampersand as well, check if `ibus-daemon` returns the prompt if you run it and if it does then drop the ampersand.
Offline
I have follow the steps of your first option but don't work. I have this:
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
The second option that you told me, I don't understand what you tell with this:
If you need a switcher in the systray then add this line to ~/.config/openbox/autostart:
ibus-daemon &
Perhaps try it without the ampersand as well, check if `ibus-daemon` returns the prompt if you run it and if it does then drop the ampersand.
Thanks a lot.
Offline
I have follow the steps of your first option but don't work. I have this:
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Those messages are quite normal and do not mean that the command failed.
After you used `dpkg-reconfigure keyboard-configuration` did you pick a keyboard from the list?
Offline
Ah, ok.
I pick a keyboard from the list (Generic Intel 105), but I don't know what are my keyboard.
My laptop is a Asus ROG.
Offline
I pick a keyboard from the list (Generic Intel 105), but I don't know what are my keyboard.
My laptop is a Asus ROG.
Try the other choices then, I'm sure one will work
Offline
Is there any way to know what type of keyboard is in my laptop?
Offline
Is there any way to know what type of keyboard is in my laptop?
Depends. I don't know for certain if there isn't a protocol/bus which supports this (USB at least should? as does Bluetooth?), but it's not possible to determine the physical layout of the keyboard from within X11.
You can gather some info however.
cat /proc/bus/input/devices
will include your keyboard and maybe tell you its product name/label. USB devices may provide more information here. For example, the "Name" may include stuff like "105 keys Intel keyboard" or suchlike. Here's my laptop's built-in keyboard. As you can see, it's not using the USB bus!
I: Bus=0011 Vendor=0001 Product=0001 Version=ab54
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input0
U: Uniq=
H: Handlers=sysrq kbd leds event0
B: PROP=0
B: EV=120013
B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7
Info on how to read this is here.
Next, you can find the number of keycodes using
xinput --list --long
You'll find your keyboard here under the "Name" key you learned earlier.
Offline
Sorry, but I'm really noob in this. Can you please explain this on other way?
Offline
Pages: 1