Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 11514  / 1 Year ago, sun, april 9, 2023, 2:18:48

I liked the mouse gesture of Windows 7 to minimize all open windows except the active one. Can I have that kind of gestures to use in Unity.



or What are the mouse gestures available for Unity?


More From » unity

 Answers
0

For your general question take a look at "What are Unity's keyboard and mouse shortcuts?"






For your special question I suggest Easystroke:




Easystroke is a gesture-recognition application for X11. Gestures or strokes are movements that you make with you mouse (or your pen, finger etc.) while holding down a specific mouse button. Easystroke will execute certain actions if it recognizes the stroke; currently easystroke can emulate key presses, execute shell commands, hold down modifiers and emulate a scroll wheel. The program was designed with Tablet PCs in mind and can be used effectively even without access to a keyboard. Easystroke tries to provide an intuitive and efficient user interface, while at the same time being highly configurable and offering many advanced features.
(source)



Install via the software center




  1. To minimize all windows except the active one I refer to the script in this answer (minimise.py).


  2. To manage Easystroke easily you should make it visible in the panel. For that install dconf-tools Install dconf-tools, then open dconf Editor and switch to desktopunitypanel and to "systray-whitelist" add , 'easystroke' at the end.


  3. Then start Easystroke. To add a new action click the panel icon and in the Actions tab click Add Action. Use these parameters:




    • Name: minimize except active

    • Type: command

    • Details: bash -c 'python ~/minimise.py'



    To set a mouse gesture click Record Stroke and then while pressing mouse button 2 move the mouse the way you like for this action in future. Ready.

    (You can change the preferred mouse button in Preferences tab with a click on Gesture Button.)



    easystroke settings


  4. To minimize all windows except the active one now just press mouse button 2 and do the action you chose before.


  5. If you like it add Easystroke to Startup Applications by marking as checked "Autostart easystroke" in the Preferences tab.







How to configure Easystroke you can find out in its Documentation as well as in this Tips & Tricks section.


[#38009] Sunday, April 9, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eaderitable

Total Points: 368
Total Questions: 117
Total Answers: 111

Location: Tuvalu
Member since Sat, Feb 11, 2023
1 Year ago
eaderitable questions
Tue, May 24, 22, 07:37, 2 Years ago
Mon, Aug 23, 21, 02:31, 3 Years ago
Thu, Mar 2, 23, 23:23, 1 Year ago
Wed, Apr 6, 22, 13:20, 2 Years ago
Tue, Dec 14, 21, 16:57, 2 Years ago
;