Registered Member
|
Hello,
I'm trying to bind a mouse gesture to a keyboard shortcut ctrl+F9 (window presentation / overview) but it's not working. Does anyone know how to do it? I'm running kubuntu 18.10 plasma 5.13.5 |
Registered Member
|
You should be able to set up custom mouse gestures in System Settings -> Workspace -> Shortcuts -> Custom Shortcuts. Right-click in the left-hand tree-list and select New > Mouse Gesture Action > and select the kind of action you want it to trigger. From there give the new gesture a name, in the Trigger tab hit Edit and perform the gesture in the box, then in the Action tab indicate what you want it to do.
To use the gesture, it should be configured to use the Middle mouse button by default. If at first this isn't working, you may need to hit the Settings button at the bottom of the Custom Shortcuts pane and ensure the Gestures setting is checked. In that settings view you can also specify the mouse button to use (2=middle, 3=right, 4+ for additional buttons your mouse may have)
airdrik, proud to be a member of KDE forums since 2008-Dec.
|
Registered Member
|
Thank you for your help !
It's working! I've used commands i've found here: https://www.reddit.com/r/kde/comments/7pftu0/terminal_commands_to_access_kwin_effects/ Pasting this command in the terminal will give a list of command shortcuts: -To list all shortcutNames:
When you have found the shortcut you need, you replace in the command bellow "shortcutname" by the command you have found. -To call a shortcutName:
EXEMPLE: I wanted to use a mouse gesture to call a window presentation/overview (task view in windows,expose/mission control in osx). 1- I have opened a terminal and pasted this command:
Ii've scrolled down the list, found the shortcut name : Expose 2- I added this shortcut (Expose) name to replace "shortcutNames" at the end of the second command like this:
3- Opened system settings > Shortcuts > Custom shortcuts > New Mouse Gesture Action > Command/Url > then copy the command command into the Action tab > Command/URL. Here's the command to close windows (don't forget the quotation marks) "Shortcutnames"
|
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]