LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-09-2009, 10:39 AM   #1
Chryyz
Member
 
Registered: Dec 2004
Distribution: Slackware 10, Gentoo
Posts: 46

Rep: Reputation: 15
XF86 Keyboard Events -- Can they be disabled? [Solved]


Greetings,

I recently upgraded from xorg-server 1.3 to 1.6.1.901 -- Ever since the upgrade I've been having issues with some apps I used to handle keyboard functions, such as Keytouch and G15Macro. As I have a Logitech G15 keyboard I found that these apps were necessary. However, since the update it seems XF86 already has them bound, and I can't use them for other functions anymore. Keytouch refuses to handle the keys (which isn't that big of a deal for the most part as I don't really need the media keys handled by keytouch anymore). G15Macro is also now seg faulting, and I believe it is related to this. Under 'xev' the G15 keys have media functions bound to them such as 'launch' 'new' 'audioraisevolume' 'Tools', etc.

So my question is this. Is there any way to remove the mapped functions from these keys? Is there a package or driver that's handling it that I can remove to free up the keys? Any help is appreciated.

Distribution: Gentoo AMD64

[Solved] Edit:

I found that the solution was to modify the keysyms manually in the following file.

Code:
/usr/share/X11/xkb/symbols/inet
Use xev to find the keycode, then search for your keycode in
Code:
/usr/share/X11/xkb/keycodes/xfree86
and add it using the appropriate format in the inet file. (Note that these files may be under /etc/X11/xkb/ depending on your distribution.) !! Be sure to scroll down to your specific keyboard model before adding the code or it won't be applied. For the logitech G15, it's logitech_g15. !!

Also, for some reason they decided to add a lot of utility functions to the G15 keys. In some cases I guess this would be great, but if you (like me) don't need them, just prefix the line with " // " and you should be able to map them with your application.

Last edited by Chryyz; 07-09-2009 at 02:10 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard events interrupting mouse events. miner49er Linux - Hardware 3 11-04-2008 04:16 AM
X and keyboard events? kalleanka Programming 2 03-11-2008 09:03 PM
Keyboard events under GNOME Dj Supreme Programming 1 02-13-2004 04:59 AM
XF86 Keyboard Map Wolverine Linux - General 1 08-24-2001 03:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration