[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XFree86 4.0.1 and keyboard mappings



>>>>> "Calum" == Calum Mackay <calum.mackay@uk.sun.com> writes:

    Calum> Wonderful!  "setxkbmap gb" did exactly what I wanted :)

    Calum> Now, is there a "correct" place to put this command (for system-wide
    Calum> use), rather than in my .profile?

Does adding
  Option "XkbLayout" "gb"
to your XF86Config-4 file in the keyboard "InputDevice" section work?  That
would probably be the "correct" place.

Otherwise, I think you can add a script in /etc/X11/Xsession.d that runs
setxkbmap.  AFAICT, Xsession.d is (somewhat) like /etc/rc*.d - the files all
get executed in alphabetical order.

Hubert

-- 
____     |     -----------------------------------------------------------
|  /   --+--
| /   ___|___    Hubert Chan <hackerhue@crosswinds.net>
| \   | _|_ |
|__|  |__|__|    GCS/M d- s:- a-- C++ UL+(++++) P++ L++ E++ W++ N++ o?
|        |       K? w--- O++ M- V- PS-- PE+++ Y+ PGP+ t+ 5 X R- tv+ b+
|      / | \     DI++++ D G e++ h! !r !y
|     /  |  \
|        |     <><------------------ http://www.crosswinds.net/~hackerhue/

PGP/GnuPG fingerprint: 6CC5 822D 2E55 494C 81DD  6F2C 6518 54DF 71FD A37F
Key can be found at http://www.crosswinds.net/~hackerhue/hackerhue.asc



Reply to: