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

xkb Profis hier?



Hi,

hab heute festgestellt, dass meine Multimedia-Key-Erweiterung nicht
soooo ganz funktioniert hat. Die Tasten für ^, ' sowie ~ müssen immer
mit einem Druck auf <Space> abgeschlossen werden, damit das Zeichen
als "eingegeben" gilt. X11 Config sieht so aus.


Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"AutoRepeat"	"500 30"
	Option		"XkbOptions"	"grp:ctrls_toggle,ctrl:ctrl_aa,grp_led:scroll"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"cymotionlinux"
	Option		"XkbLayout"	"de,us"
	Option		"XkbVariant"	"nodeadkeys"
EndSection

Vorher war XkbModel auf pc105 eingestellt. AltGr funktioniert mit @
oder € einwandfrei, und "'" sowie "^" werden ja nicht mit AltGr
erzeugt. 

Änderungen unter /etc/X11/xkb waren zum einen das Anfügen der
folgenden Zeilen an /etc/X11/xkb/symbols/inet

partial alphanumeric_keys
xkb_symbols "cymotionlinux" {
    name[Group1]= "Cherry CyMotion Master Linux";
    
    key <I6A>	{	[	XF86Back		]	};
    key <I69>	{	[	XF86Forward		]	};
    key	<I68>	{	[	XF86Stop		]	};
    key <I67>	{	[	XF86Reload		]	};
    key <FK17>	{	[	XF86Search		]	};
    key <I30>	{	[	XF86AudioRaiseVolume	]	};
    key <I2E>	{	[	XF86AudioLowerVolume	]	};
    key <I20>	{	[	XF86AudioMute		]	};
    key <XFER>	{	[	XF86AudioMedia		]	};
    key <I22>	{	[	XF86AudioPlay		]	};
    key <I24>	{	[	XF86AudioStop		]	};
    key <I10>	{	[	XF86AudioPrev		]	};
    key <I19>	{	[	XF86AudioNext		]	};
    key <I21>	{	[	XF86Calculator		]	};
    key <I6C>	{	[	XF86Mail		]	};
    key <I02>	{	[	XF86WWW			]	};
    key <I63>   {	[	XF86Standby		]	};
    key <ALT>	{	[	XF86ScrollUp		]	};
    key <I0F>	{	[	XF86ScrollDown		]	};
    key <I3C>	{	[	XF86Cut			]	};
    key <I78>	{	[	XF86Copy		]	};
    key <I1F>	{	[	XF86Launch1		]	};
    key <I17>	{	[	XF86Launch2		]	};
    key <I2B>	{	[	XF86Launch3		]	};
    key <AE13>	{	[	Redo			]	};
    key <I07>	{	[	Undo			]	};
};

Und das Ändern einer Zeile in /etc/X11/xkb/rules/xfree86:

! $inetkbds = airkey acpi scorpius \
		...
	      sven symplon toshiba_s3000 trust trustda yahoo cymotionlinux

Danach kommt ja dann:
! model = symbols
  $inetkbds = +inet(%m)

Und die definierten Tasten gehen wunderbar, aber so ein wenig nervt
mich das schon. Auf der Konsole geht natürlich alles ganz wunderbar.

Also wenn mir jemand sagen kann, was hier falsch läuft oder wenigstens
ne andere Quelle (ML, Forum, Webseite, was auch immer) empfehlen
kann... 

Andreas

PS: Hab meine Infos aus:
http://www.xfree86.org/current/XKB-Enhancing.html
http://netadmin1.ic.tsu.ru/en/xkb/setup.html
http://www.xfree86.org/current/XKB-Config.html

PPS: setxkbmap -print liefert:
andreas@morpheus:~>setxkbmap -print
xkb_keymap {
	xkb_keycodes  { include "xfree86+aliases(qwertz)"       };
	xkb_types     { include "complete"      };
	xkb_compat    { include "complete+leds(scroll)" };
	xkb_symbols   { include "pc/pc(pc105)+pc/de+inet(cymotionlinux)+pc/us:2+group(ctrls_toggle)+ctrl(ctrl_aa)"};
	xkb_geometry  { include "pc(pc104)"     };
};
setxkbmap mit pc105 liefere ich bei Bedarf nach, aber da ist IIRC nur
inet(cymotionlinux) weniger...

-- 
You recoil from the crude; you tend naturally toward the exquisite.



Reply to: