on Linux - there is tool called XVKBD which you can use to control keyboard on that particular X-server.
http://homepage3.nifty.com/tsato/xvkbd/
xvkbd -text disables gui.
Possible usages are to bind G15, or any other non-standard device's, keys to scripts that launch xvkbd on same or different X-server.
Connect With Us