You are not logged in.

#1 2020-11-08 16:40:45

zaxdan69
Member
Registered: 2016-06-04
Posts: 318

[SOLVED]blackbox/fluxbox change keyboard layout

I'm using cinnamon as main DE without DM, and also I have setted and autologin to tty3 console in which I run blackbox wm(via xinit) to mostly run some wine games. I'm using this without problems some months now, but today somehow the keyboard layout changed from english(probably via a key combination I used in a game I played) to my native language layout and I cannot change it back. I tried to use fluxbox in case was blackbox's config, but I have the same problem there. If I logout to console the layout is in english. In cinnamon I can change layouts via alt+shift normally. But in blackbox/fluxbox cannot change it. I have a 00-keyboard.conf file in xorg.conf.d directory with these contents:

# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us,gr"
        Option "XkbModel" "pc105"
        Option "XkbVariant" "grp:alt_shift_toggle"
EndSection

but it doesn't used from xorg.
I tried some other key combinations(in fluxbox) as super+space, both shift, ctrl+alt+shift, both alt, but nothing works. Is there any other key combination that openbox/fluxbox have as default?

Last edited by zaxdan69 (2020-11-08 20:15:32)

Offline

#2 2020-11-08 18:45:18

teckk
Member
Registered: 2013-02-21
Posts: 589

Re: [SOLVED]blackbox/fluxbox change keyboard layout

Is there any other key combination that openbox/fluxbox have as default?

They are at ~/.fluxbox/keys

Look at ~/.fluxbox/startup

and ~/.Xmodmap

Last edited by teckk (2020-11-08 18:45:42)

Offline

#3 2020-11-08 19:40:41

zaxdan69
Member
Registered: 2016-06-04
Posts: 318

Re: [SOLVED]blackbox/fluxbox change keyboard layout

Thanks. There was nothing there about change layouts but I found this:
http://fluxbox-wiki.org/Switch_Keyboard_layout.html
and now I can switch the layouts via menu. This is a workaround for fluxbox only, which of course helps,
but he problem still exists and the layout still isn't english as it was before. So somehow the default value which was the english layout changed.

EDIT:
I found the problem. I was using im-ibus to test type prediction. So I had those in .xinitrc:

export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

ibus-daemon -drx

After I removed them the problem solved.

Last edited by zaxdan69 (2020-11-08 20:14:40)

Offline

Board footer

Powered by FluxBB