Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux General Discussion (http://www.linux-archive.org/archlinux-general-discussion/)
-   -   Writing xkb mappings (http://www.linux-archive.org/archlinux-general-discussion/711905-writing-xkb-mappings.html)

Robbie Smith 10-12-2012 06:16 PM

Writing xkb mappings
 
Hi list

Using xmodmap to redefine my keyboard mappings was causing Openbox to
hang for about a minute, so I read up on writing my own layouts using
xkb[1]. By and large I've achived the desired results (in much fewer
lines too!) but there's still a few things that don't quite work.


1. I think I've mapped ALT+CAPS_LOCK to act as the third level switch,
but this works sporadically at best. I want to add mathematical symbols
to the keypad, and xev detects most of them, but I can't type them
anywhere except in Vim. There's a dump of the key mapping xkbcomp
created at [2].


2. Is is possible to have complex variable mappings similar to as
described here[3] in X.org? That guide is Max OS X specific, but it's
definitely quite nifty.


Robbie

[1] http://madduck.net/docs/extending-xkb/
[2] https://gist.github.com/3880640
[3] http://stevelosh.com/blog/2012/10/a-modern-space-cadet/


All times are GMT. The time now is 03:34 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.