https://bugs.kde.org/show_bug.cgi?id=401989

--- Comment #3 from Ashark <ash...@linuxcomp.ru> ---
Ok. I do not know how to make a kwin script, but I will just describe an
alternative way how can you set shortcut for this. This may be useful for those
who have found this bug report.

1) Go to System settings -> Shortcuts -> Custom shortcuts -> New -> Global
shortcut -> 
 1.1) there is "send keyboard input" action and we could use alt+f3, but it
fails. I think this is because you trigger it with shortcut, and it starts
synthesize keyboard input immediately, while you have hot released trigger
keys. So we cannot use this way.
 1.2) there is "command/url" action which we will use to run xdotool. Because
of the same reason (interfering synthesized input with actual input), we need
to sleep 1 second to wait until you release trigger shortcut.
2) go to Action tab and insert the following command without quotes:
"sleep 1; xdotool key alt+F3 Down Down Down Down Right Down Down Down Down Down
Down Down Down Return".
3) Set some shortcut on the Trigger tab.
4) Press shortcut and do not move your mouse, otherwise it will fail to go
through menu items.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to