This article is written for the Logitech G15 but it should work with other keyboards in the G-series produced by Logitech.
To be able to use g15daemon used in this article you need to compile your kernel with uinput support
To get other applications to know about your G15 keyboard you should add the following to your make.conf
G15Daemon / G15Macro
To get multimedia keys and LCD panel working properly you will need g15daemon, for the M^ and G^ keys to work you will also need g15macro.
After installing g15daemon and g15macro you should check out the following files before starting anything, normally default values works for everyone.
When finished you can start the g15daemon with
And add it to start up as default with
If everything worked correctly you should now have a clock visible on your LCD-display
To have all new keys working in X11, you'll need create a specific xmodmap in your home directory or edit the existent one.
Create the xmodmap
Adding keycodes to an existing xmodmap:
To get the new keys you might need to restart your session or run:
To check if your keys have been mapped correctly you can test them with x11-apps/xev
G & M keys
To get your G^ and M^ keys to work you need to start up g15macro, preferably you should make it start automatically with the rest of your desktop.
Your extra keys should now be working and you should be able to record macro keys by pushing the MR key.
Optionally you can add the following to your xorg.conf: