sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #45675
Re: [Question #255885]: "Super" key in Linux?
Question #255885 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255885
Description changed to:
**************** possible solution form comment #9
I know this answer is over 3 years old at this point, however it's one of Google's top search results for this issue and wasn't very helpful to me.
I have an alternative workaround to this problem: xdotool. I installed
xdotool and added these lines to my scripts:
# Type WIN
run("xdotool key super")
# Type WIN+1
run("xdotool keydown super")
wait(0.2)
type("1")
run("xdotool keyup super")
These worked for my application. I hope it helps someone else!
----------------------------------------------------------------------------------------------------------------
Is there a way to trigger the "Super" key with Sikuli in Linux.
I tried using Key.WIN which doesn't seem to do anything, and using Key.META actually uses the Meta key in Linux (which is same as Alt). Reason I ask is I want to use the default keyboard shortcuts for maximizing/restoring windows in Ubuntu, which use Ctrl + Super + Up / Down.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.