1 | ! vi:set ts=4:
|
2 | !
|
3 | ! .Xmodmap
|
4 | !
|
5 | ! Attn.: setxkbmap conflicting with xmodmap !
|
6 | ! Attn.: xmodmap is ancient and deprecated; it will not function at all on modern
|
7 | ! Wayland desktops. best to stop using it entirely. – quixotic Jun 26 '18 at 10:11
|
8 | ! XKB is the system Wayland uses. but system XKB only, last i checked setxkbmap
|
9 | ! and xkbcomp only funciton in X. – quixotic Jun 26 '18 at 19:32
|
10 | !
|
11 | ! Aufruf in .profile mit: xmodmap ~/Xmodmap funktioniert nicht
|
12 | !
|
13 | ! vgl: http://www.windowslinuxosx.com/q/answers-bash-profile-wont-run-on-login-592427.html
|
14 | !
|
15 | ! ~/.Xmodmap is read by /etc/gdm/Xsession.
|
16 | !
|
17 | ! If you're not using gdm, you could add a script named: 91xmodmap
|
18 | ! in /etc/X11/Xsession.d/
|
19 | !
|
20 | ! that contains:
|
21 | !
|
22 | ! XMODMAP="$(which xmodmap)"
|
23 | ! SYSMODMAP="/etc/X11/Xmodmap"
|
24 | ! USRMODMAP="$HOME/.Xmodmap"
|
25 | ! if [ -x $XMODMAP ]; then
|
26 | ! if [ -f "$SYSMODMAP" ]; then
|
27 | ! $XMODMAP "$SYSMODMAP"
|
28 | ! fi
|
29 | ! if [ -f "$USRMODMAP" ]; then
|
30 | ! $XMODMAP "$USRMODMAP"
|
31 | ! fi
|
32 | ! fi
|
33 | !
|
34 | ! The command you put in your ~/.bash_profile isn't running because gnome-terminal doesn't run as a
|
35 | ! login shell by default.
|
36 | !
|
37 | ! Right click on gnome-terminal's screen and go to Profiles -> Profile Preferences.
|
38 | !
|
39 | ! Then under the Title and Command, check Run command as a login shell.
|
40 | !
|
41 |
|
42 | ! Fuer setxkbmap siehe auch /usr/share/X11/xkb/rules/base.lst
|
43 | ! Mit setxkbmap -option werden alle definitionen zurueckgesetzt
|
44 | !
|
45 | !! Nerviges CapsLock abschalten
|
46 | remove Lock = Caps_Lock
|
47 | !
|
48 | !! Alt_R (keycode 108) bzw. Alt_L (keycode 64) wird als ModeSwitch definiert, aktiviert
|
49 | !! also (ohne Shift) das 3. bzw. (mit Shift) das 4. Symbol
|
50 | !
|
51 | !! Beide, 'keycode' und 'keysym' funktionieren, 'keysym' ist wohl eleganter
|
52 | !
|
53 | keycode 108 = Mode_switch
|
54 | !keycode 26 = e E EuroSign EuroSign
|
55 | !keycode 39 = s S ssharp ssharp
|
56 | !keycode 38 = a A adiaeresis Adiaeresis
|
57 | !keycode 30 = u U odiaeresis Odiaeresis
|
58 | !keycode 32 = o O udiaeresis Udiaeresis
|
59 |
|
60 | !keysym Alt_R = Mode_switch
|
61 | keysym e = e E EuroSign
|
62 | keysym s = s S ssharp ssharp
|
63 | keysym a = a A adiaeresis Adiaeresis
|
64 | keysym o = o O odiaeresis Odiaeresis
|
65 | keysym u = u U udiaeresis Udiaeresis
|
66 | keysym p = p P section section
|
67 |
|
68 | !! end of .Xmodmap
|