Portál AbcLinuxu, 12. července 2025 13:21
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us,cz_qwerty"
Option "XkbOptions" "grp:shift_toggle"
partial alphanumeric_keys
xkb_symbols "hpnx9020" {
// Describes the multimedia buttons on HP nx9020 notebook
name[Group1]= "Hewlett-Packard nx9020";
key <I0A> { [ XF86ScreenSaver ] };
key <I1A> { [ XF86Search ] };
key <I1E> { [ XF86Mail ] };
key <I20> { [ XF86AudioMute ] };
key <I2E> { [ XF86AudioLowerVolume ] };
key <I23> { [ XF86WWW ] };
key <I30> { [ XF86AudioRaiseVolume ] };
key <I31> { [ Help ] };
};
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us+inet(hpnx9020)"
Option "XkbOptions" "grp:shift_toggle"
// Usage in XF86Config: // Option "XkbLayout" "my_kb_layout" // Option "XkbVariant" "my_kb_variant" // Option "XkbModel" "my_eak_type" // Option "XkbRules" "xfree86" // Simple command line usage: // setxkbmap 'my_kb_layout' -variant 'my_kb_variant' -model 'my_eak_type' // All keyboards listed here should be also mentioned in // xc/programs/xkbcomp/rules/xfree86, xfree86.lst and xfree86.xml.Takže po vyeditování /usr/X11R6/lib/X11/xkb/rules/xfree86* by se to mohlo dát nastavit nějak takto:
setxkbmap 'us,cz_qwerty' -options 'grp:shift_toggle' -model 'hpnx9020'
Option "XkbLayout" "us,cz_qwerty" Option "XkbModel" "hpnx9020" Option "XkbRules" "xfree86" Option "XkbOptions" "grp:shift_toggle"
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.