keyboard layout in LXDE changes only after LXTerminal start Topic is solved

Please post all general support questions for LXDE here.
meep-meep
Posts: 2
Joined: Sun May 14, 2017 8:21 pm

keyboard layout in LXDE changes only after LXTerminal start

Postby meep-meep » Mon May 15, 2017 7:22 pm

Hi - Debian Jessie 8.8 with LXDE works fine for me. 'setxkbmap -layout "de" -variant "nodeadkeys"' in .bashrc gievs me a German keyboard in LXTerminal. I thought the following settings in "/etc/default/keyboard" should give the desired keyboard map in application windows:
XKBMODEL=pc105
XKBLAYOUT=de
XKBOPTIONS=terminate:ctrl_alt_bksp
BACKSPACE=guess
Alas, applications still start up with "us" key map active. Only after opening a LXTerminal, applications start with "de" key map. Further more, key maps of applications, opened prior to that LXTerminal, switch miraculously from "us" to "de" key map.

What am I missing?

Juergen

drooly
Posts: 376
Joined: Mon Apr 08, 2013 6:45 am

Re: keyboard layout in LXDE changes only after LXTerminal start

Postby drooly » Thu May 18, 2017 6:13 am

~/.bashrc is not parsed by your login manager.
put the setxkbmap line in ~/.config/lxde/autostart instead.

meep-meep
Posts: 2
Joined: Sun May 14, 2017 8:21 pm

Re: keyboard layout in LXDE changes only after LXTerminal start  Topic is solved

Postby meep-meep » Thu May 18, 2017 4:42 pm

thank you very much, drooly. You solved my problem.
For my Debian the path to "autostart" turned out to be:
~/.config/lxsession/LXDE/autostart

drooly
Posts: 376
Joined: Mon Apr 08, 2013 6:45 am

Re: keyboard layout in LXDE changes only after LXTerminal start

Postby drooly » Fri May 19, 2017 6:56 am

thanks for clarifying that.
i think you can mark your thread Solved now.
i think it's in "Topic tools" at the top.


Return to “General Help”

Who is online

Users browsing this forum: No registered users and 2 guests