Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benhutchins/wmctrl
A simple Python script to add Windows-7 like shortcuts to Linux. Originally based off Stiler.
https://github.com/benhutchins/wmctrl
Last synced: 2 months ago
JSON representation
A simple Python script to add Windows-7 like shortcuts to Linux. Originally based off Stiler.
- Host: GitHub
- URL: https://github.com/benhutchins/wmctrl
- Owner: benhutchins
- Created: 2012-06-20T17:19:33.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-06-21T16:20:28.000Z (over 12 years ago)
- Last Synced: 2024-05-01T23:29:55.678Z (8 months ago)
- Language: Python
- Homepage:
- Size: 97.7 KB
- Stars: 9
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
wmctrl.py
======A simpler Python script to add Windows-7 like shortcuts to Linux.
This application relies on wmctrl, ensure you have it installed before use.
sudo apt-get install wmctrl xdotool
Add keyboard shortcuts calling a command from the list below like:
python wmctrl.py left
Available commands are:
command | description | recommended shortcut
--------------------------------------------------------------------------------------------------------
left Position active window on the left-half of your desktop. Super+Left
right Position active window on the right-half of your desktop Super+Right
up Toggle maximized state of active window (TODO) Super+Up
down Demaximize window if maximized, if not, minimize window. Super+Down
shift-left Position window to take up 1/3 or 2/3 of desktop on left. Super+Shift+Left
shift-right Position window to take up 1/3 or 2/3 of desktop on right. Super+Shift+Right
shift-up Position a window to take up 1/2 of desktop on top. Super+Shift+Up
shift-down Position a window to take up 1/2 of desktop on bottom. Super+Shift+Down