LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   XFCE & setxkbmap (https://www.linuxquestions.org/questions/slackware-14/xfce-and-setxkbmap-342224/)

spes_hominis 07-11-2005 03:22 PM

XFCE & setxkbmap
 
The keyboard seems stuck on en_US in xfce 4 - you can't set the LANG variable to en_GB in Settings > Window Manager. If I open Konquerer, then change the kb from settings://Regional and Accessibility, it works, but only as long as Konquerer is open. I tried copying the command it showed
Code:

setxkbmap -model pc104 -layout gb -variant basic
into a terminal, but no luck.

gbonvehi 07-11-2005 04:24 PM

You can specify keyboard options at /etc/X11/xorg.conf.
Also if you want to set globally the LANG variable edit it in /etc/profile.d/lang.sh

spes_hominis 07-12-2005 03:21 PM

Editing /etc/profile.d/lang.sh looks like it might be the answer. Thanks!
The kb was already set in xorg.conf and working at the command line, which is why I was so confused. Now all I have to do is restart the daemon that executes lang.sh (I'm assuming that the "d" stands for "daemon"). Er... how do you do that? :o

gbonvehi 07-12-2005 03:55 PM

Well, it happens that profile.d is not a daemon :)
The scripts inside profile.d are executed by /etc/profile which is read everytime you login into some virtual terminal (or a some X term with login activated).
I would suggest you to quit X, logout, relogin, and start X again.


All times are GMT -5. The time now is 10:29 PM.