You are not logged in.
Need some help on how to add a new keyboard language and on how to switch keyboard layouts. Thank you!
Last edited by Head_on_a_Stick (2016-11-07 07:23:21)
Offline
Documentation here: https://wiki.debian.org/Keyboard
Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me
Offline
Need some help on how to add a new keyboard language and on how to switch keyboard layouts. Thank you!
If you are using Debian Jessie,
sudo apt-get install ibus
then call ibus-setup in gmrun or in terminal. It'd ask if you want to start ibus, click yes. IBus Preferences > Input Method and add keyboard layouts. It'd appear in your system tray.
The screenshot in this thread would show how the keyboard switcher stays in system tray. https://forums.bunsenlabs.org/viewtopic … 2371#p2371
Last edited by nobody0 (2015-10-12 15:10:17)
Offline
Documentation here: https://wiki.debian.org/Keyboard
And then in "~/.config/openbox/autostart" something like this:
### Keyboard Switcher ###
## Start keyboard with 3 language mapping by Omen
## setxkbmap -layout 'us,ua,ru' -option 'grp:alt_shift_toggle' &
##setxkbmap -layout 'latam,es' &
(sleep 3s && fbxkb && setxkbmap latam,es) &
##(sleep 1s && fbxkb) &
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
You can find Ibus info here; https://packages.debian.org/jessie/utils/ibus
Offline
I like setting mine in my xorg.conf.d/10-evdev.conf file:
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us,br,gr"
Option "XkbModel" "pc104"
Option "XkbVariant" ", ,polytonic"
Option "XkbOptions" "grp:shifts_toggle"
EndSection
This way I have the same config across desktops/wms
"Chuck Norris can compile syntax errors."
Offline
Thank you everybody! Everything was helpful! The easier method was to install ibus.
Offline
Hi,
I tried ibus, but I had 2 major problems with that:
- For some reason I could not set any variant for the keyboard, I think the "Preferences" button was disabled on the GUI
- Even if I could set alt + shift to switch the keyboards, it did not work for some reason, but alt + shift + space worked.
I wanted to set:
- us keyboard (which I already learned with Commodore 64 :) )
- hungarian keyboard but with 101 keys (so that 'z' and 'y' are in the same position as with the us keyboard, 'z' in the bottom line)
- I wanted to use alt + shift to switch between them
So ibus did not work for me and I needed to dig deeper and based on the https://wiki.debian.org/Keyboard linked above + 'man 5 keyboard' + my successful XFCE keyboard setting in Xubuntu (xfce4-settings-editor -> keyboard-layout section), I managed to come up with the following /etc/default/keyboard config file:
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="us,hu"
XKBVARIANT=",101_qwerty_comma_nodead"
XKBOPTIONS="grp:alt_shift_toggle"
BACKSPACE="guess"
Based on https://wiki.debian.org/Keyboard I tried
sudo service keyboard-setup restart
but I think it was somehow not enough so I also tried the following command from that page, which worked:
sudo udevadm trigger --subsystem-match=input --action=change
Then I tested that this keyboard setting is preserved across reboot, and purged the useless ibus from my system.
Now I don't have any feedback in the tint2 panel about which keyboard layout is active, but I don't need it either.
I hope this helps someone. :)
Last edited by attila123 (2016-11-06 20:15:00)
Offline
I hope this helps someone.
Thanks for posting
I have marked the thread [SOLVED] so that people can find this more easily.
Offline