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

Shortcuts do not register on Windows 8 or Kali Linux #23

Open
mrjayway opened this issue Apr 27, 2015 · 6 comments
Open

Shortcuts do not register on Windows 8 or Kali Linux #23

mrjayway opened this issue Apr 27, 2015 · 6 comments

Comments

@mrjayway
Copy link

Great library. Works perfect on my Mac OSX and Windows 7. Unfortunately it does not register on my Windows 8 32-bit, or Kali Linux.

Linux error is as follows:

INFO: Starting X11 global hotkey provider
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: Can't obtain updateLastError method for class com.sun.jna.Native
at com.sun.jna.Native.initIDs(Native Method)
at com.sun.jna.Native.(Native.java:139)
at com.tulskiy.keymaster.x11.X11.(X11.java:31)
at com.tulskiy.keymaster.x11.X11Provider$1.run(X11Provider.java:54)
at java.lang.Thread.run(Thread.java:745)

@rimrim
Copy link

rimrim commented Jul 7, 2015

Yes really great but not working on Windows 8 64-bit neither, please fix or give a clue how to do it ;)

@tulskiy
Copy link
Owner

tulskiy commented Jul 7, 2015

@mrjayway, sorry for late response. your problem on Kali Linux seems to be that you have an older version of jna installed on classpath. Try adding -Djna.nosys=true to vm args. See java-native-access/jna#281

I will try to see how the library works on win 8 once I can get my hands on one :)

@tulskiy
Copy link
Owner

tulskiy commented Jul 7, 2015

are you guys running win 8 or 8.1? I just tried in win 8 VM and everything works fine for me. I will need some logs

@rimrim
Copy link

rimrim commented Jul 7, 2015

I'm running 8.1 and I should say only "Windows" key combination not working. Cheers

@rimrim
Copy link

rimrim commented Jul 7, 2015

Hi, and I've just tried on ubuntu 14.04 as well, same problem, the combination of "Windows" + something, not working. Thanks

@JBarna
Copy link

JBarna commented Jun 15, 2016

Just wanted to drop a line and say that this worked for me on windows 10

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

4 participants