KDE has built in mouse gesture system.
Path K > System Settings > Accessibility --> Input Actions
Enabling mouse gestures:
Press Global Settings button
Goto Gesture Settings tab. Enable mouse gestures globally.
Choose which mouse button do you want to use with gestures.
Two exaples how to add mouse gestures
Example #1 Start programs with mouse gestures
Click New Group
In General tab.
Give Action Group name: My KDE Gestures
Click My KDE Gestures in Actions screen then click New Action button.
In General tab
Action name: Start Konqueror
In Triggers tab
New > Gesture trigger -> (window pops up)
Click OK
In Actions tab
New > Command/URL to execute (window pops up) Put there:
Click OK
Note
That will open konqueror in home folder with file management profile.
Press Apply
Example #2 Use KDE mouse gestures in Firefox
Click New Group
In General tab.
Give Action Group name: My Firefox Gestures
In Conditions tab
New > Active window > (window pops up) New > (window pops up) Window class :
Matches Regular Expression
Click Autodetect ---> Click open Firefox window. Here it adds text Gecko Firefox-bin in the empty line (Note that my Firefox isn't from repos - so your text can be different)
Window Types: Normal
Click OK
Click OK
Click Apply
Click My Firefox Gestures in Actions screen then click New Action button
In General tab
Action name: Open New Tab
In Triggers tab
New > Gesture trigger > (window pops up)
Click OK
In Actions tab
New > Keyboard input > (window pops up)
Keyboard input: Ctrl+T
Send Input To: Action window
Click OK
Click Apply
Links:
KDE News/mouse gestures
http://dot.kde.org/1041971213/1041983589/
Actions for KHotKeys (KDE 3.2)
http://ktown.kde.org/~seli/khotkeys/
Path K > System Settings > Accessibility --> Input Actions
Enabling mouse gestures:
Press Global Settings button
Goto Gesture Settings tab. Enable mouse gestures globally.
Choose which mouse button do you want to use with gestures.
Two exaples how to add mouse gestures
Example #1 Start programs with mouse gestures
Click New Group
In General tab.
Give Action Group name: My KDE Gestures
Click My KDE Gestures in Actions screen then click New Action button.
In General tab
Action name: Start Konqueror
In Triggers tab
New > Gesture trigger -> (window pops up)
Draw the gesture you would like to record below. Press and hol the left mouse button while drawing, and release when you have finished.
You will be required to draw the gesture 3 times. After each drawing, if they match, the indicator below will change to represent which step you are on.
If at any point they do not match, you will be required to restart. If you want to force a restart, use the reset button below.
You will be required to draw the gesture 3 times. After each drawing, if they match, the indicator below will change to represent which step you are on.
If at any point they do not match, you will be required to restart. If you want to force a restart, use the reset button below.
In Actions tab
New > Command/URL to execute (window pops up) Put there:
Code:
kfmclient openProfile filemanagement
Note
That will open konqueror in home folder with file management profile.
Press Apply
Example #2 Use KDE mouse gestures in Firefox
Click New Group
In General tab.
Give Action Group name: My Firefox Gestures
In Conditions tab
New > Active window > (window pops up) New > (window pops up) Window class :
Matches Regular Expression
Click Autodetect ---> Click open Firefox window. Here it adds text Gecko Firefox-bin in the empty line (Note that my Firefox isn't from repos - so your text can be different)
Window Types: Normal
Click OK
Click OK
Click Apply
Click My Firefox Gestures in Actions screen then click New Action button
In General tab
Action name: Open New Tab
In Triggers tab
New > Gesture trigger > (window pops up)
Draw the gesture you would like to record below. Press and hol the left mouse button while drawing, ...
In Actions tab
New > Keyboard input > (window pops up)
Keyboard input: Ctrl+T
Send Input To: Action window
Click OK
Click Apply
Links:
KDE News/mouse gestures
http://dot.kde.org/1041971213/1041983589/
Actions for KHotKeys (KDE 3.2)
http://ktown.kde.org/~seli/khotkeys/
Comment