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

Re: xmodmap macht sch.....



Hallo, Udo! 

Udo Müller schrieb am Freitag, den 05. Oktober 2001 folgendes:

> Ich habe in die ~/.xinitrc folgende Zeile eingetragen:

Ich habe mal festgestellt, dass es trotz richtiger Rechtevergabe (?)
im lokalen Userverzeichnis nicht immer klappen will. 
Daher habe ich das in die /etc/X11/xkb/ eingefuegt. - Das hat u.a.
den Vorteil, dass sich jeder User das Keyboard selber recht leicht
programmieren kann. 
Fuer die Nutzung auf der Con laesst sich die boot-keymap anpassen.

Bei mir steht also folgendes:
 /etc/X11/xkb/symbols:
...
    // Beginn der Logi-Extratasten
    // alle Tasten werden zu F-Tasten gemappt.
    key <I5F>  { [ F25 ] };
    key <I20>  { [ F26 ] };
    key <I2E>  { [ F27 ] };
    key <I30>  { [ F28 ] };
    key <I22>  { [ F29 ] };
    key <I24>  { [ F30 ] };
    key <I10>  { [ F31 ] };
    key <I19>  { [ F32 ] };
    key <I6C>  { [ F33 ] };
    key <I65>  { [ F34 ] };
    key <I66>  { [ F35 ] };
    key <I32>  { [ F24 ] };

   // Ende Logi-Extra

Und in der boot-keymap:
...
keycode 113 = F13
keycode 114 = F14
keycode 115 = F15
keycode 116 = F16
keycode 117 = F17
keycode 118 = F18
keycode 119 = F19
keycode 120 = F20
keycode 121 = F21
keycode 122 = F22
keycode 123 = F23
keycode 124 = F24
keycode 125 = Decr_Console
keycode 126 = Incr_Console
keycode 127 = F27
string F1 = "\033[[B"
string F2 = "\033[[B"
string F3 = "\033[[C"
string F4 = "\033[[D"
string F5 = "\033[[E"
string F6 = "\033[17~"
string F7 = "\033[18~"
string F8 = "\033[19~"
string F9 = "\033[20~"
string F10 = "\033[21~"
string F11 = "\033[23~"
string F12 = "\033[24~"
string F13 = "logout\012"
string F14 = "links localhost\012"
string F15 = "mutt\012"
string F16 = "links google.de/linux\012"
string F17 = "tin\012"
string F18 = "sh -c gom -d /dev/mixer -m >/dev/null 2>&1\012"
string F19 = "gom -d /dev/mixer -l-3 1>/dev/null\012"
string F20 = "gom -d /dev/mixer -l+3 1>/dev/null\012"
string F21 = "cdplay p\012"
string F22 = "cdplay s\012"
string F23 = "cdplay -\012"
string F24 = "cdplay +\012"

> Als root kann ich xmodmap ohne Probleme ausführen und die
> Änderungen sind gesetzt.

So gehts dann auch. ;)

HTH
-- 
Regards, GR                                  | GnuPG-key on keyservers avaible
Now I've got to miss Muck, Dickbaer and Nane | or mail -s 'get gpg-key'
You will become rich and famous unless you don't.

Attachment: pgpWMSBEJnkYD.pgp
Description: PGP signature


Reply to: