Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to read "control alt RIGHT" or "alt TAB" keystrokes under Ubuntu 11.10 (32-bit processor) #4

Closed
ejones23 opened this issue Nov 11, 2011 · 1 comment

Comments

@ejones23
Copy link

I am working with scmurdock, and along with him, am very glad to have found your project. I have been able to successfully catch every keystroke using your program so far, but there is one that is still giving me difficulties: "control alt RIGHT".

Normally, when I make a registered keystroke while the program is running, the system gives me output showing that it recieved the event. For example:

Nov 11, 2011 3:18:35 PM com.tulskiy.keymaster.x11.X11Provider$1 run
INFO: Received event for hotkey: HotKey{ctrl alt T}
HotKey{ctrl alt T}

However, when I register the keystrokes, "control alt RIGHT" or "alt TAB", nothing is shown when I press them. It's as if the keystrokes weren't even seen by the program.

In my version of Ubuntu (11.10), the keystrokes "control alt RIGHT" and "alt TAB" by default are mapped as system shortcuts. I wonder if that has something to do with my problem. On the same note, I have been able to successfully receive other keystrokes which are by default mapped as system shortcuts (for example, "control alt T".)

Any help you could offer would be greatly appreciated.

@tulskiy
Copy link
Owner

tulskiy commented Nov 12, 2011

Yes, when some program registers a hotkey, system or not, it remains
exclusive for that program and no one else can use it. Check your log,
there should be something like "could not register a hotkey".

On Nov 12, 2011 4:53 AM, "ejones23" <
reply@reply.github.com>
wrote:

I am working with scmurdock, and along with him, am very glad to have
found your project. I have been able to successfully catch every keystroke
using your program so far, but there is one that is still giving me
difficulties: "control alt RIGHT".

Normally, when I make a registered keystroke while the program is
running, the system gives me output showing that it recieved the event. For
example:

Nov 11, 2011 3:18:35 PM com.tulskiy.keymaster.x11.X11Provider$1 run
INFO: Received event for hotkey: HotKey{ctrl alt T}
HotKey{ctrl alt T}

However, when I register the keystrokes, "control alt RIGHT" or "alt
TAB", nothing is shown when I press them. It's as if the keystrokes weren't
even seen by the program.

In my version of Ubuntu (11.10), the keystrokes "control alt RIGHT" and
"alt TAB" by default are mapped as system shortcuts. I wonder if that has
something to do with my problem. On the same note, I have been able to
successfully receive other keystrokes which are by default mapped as system
shortcuts (for example, "control alt T".)

Any help you could offer would be greatly appreciated.


Reply to this email directly or view it on GitHub:
#4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants