G15daemon takes control of the G15 keyboard, allowing the use of all keys through the uinput device driver. It also controls the use of the keyboard's LCD display, allows multiple, simultaneous client applications to connect, and gives the user the ability to switch between client apps at the press of a button.
Currently, patches to enable support for the daemon are available for libgraphlcd, which in turn enables support for lcdproc, vdr, and any other applications able to use that library.
- libg15
- libg15render
./configure make && make install
Or use your distribution (Available on AUR, also debian and rpm scripts are provided).
G15daemon must be run as root, as it writes to system logs.
to run : g15daemon to kill a previously running daemon : g15daemon -k
Patches are available for libgraphlcd, in the g15daemon patches subdirectory. You'll need a copy of graphlcd source, which is available from http://graphlcd.berlios.de. The patches are against the current version, which is 1.3.
To patch the graphlcd source, extract the graphlcd-base archive, then type:
patch -p0 -i "g15daemon_src_folder"/patch-es/graphlcd-1.3_g15daemon_drv.patch
Where 'g15daemon_src_folder' is the directory you extracted the g15daemon sourcecode into...
As of version 1.2, the MR key is used for switching between LCD clients, and cannot be used for other purposes if the LCD is being used. As of 30/10/06 svn, the client switch key can be altered from L1 to MR by specifying -s on the g15daemon commandline. This is not recommended.
For a number of reasons, by default the keys on the G15 arent usable - especially without g15daemon. With g15daemon running, the kernel will know all about the new keys, but your 'X' server won't without a bit of help. In the contrib subfolder of the g15daemon distribution, you'll find an xmodmaprc script. To have all those new keys working in X11, you'll need to have xmodmap read that file on every startup. Depending on your distro, xmodmap may automatically load the file if it is copied to ${HOME}/.Xmodmap otherwise you will have to load it yourself. There is an example xmodmap.sh file in the contrib directory that will do this, if it's placed (for instance) in kde's Autostart folder.
| -k | Kill a previous incarnation |
| -K | Turn off the keyboard backlight on the way out |
| -h | Shows this help |
| -s | Changes the screen-switch key from L1 to MR (may cause issues) |
| -d | Debug Mode - Stay in foreground and output all debug messages to STDERR |
| -v | Show version |
| -l | Set default LCD backlight level |
| --set-backlight | Sets backlight individually for currently shown screen. Default is to set backlight globally (keyboard default). |
G-Keys works a bit flaky (sometimes lags occurs and I don't know how to fix it) LCD works as expected.