In Windows 7, you can press Shift++←/→ to instantly move the current window to the next/previous monitor. Is there an equivalent feature in Ubuntu 11.04? I poked around the Keyboard Shortcuts
dialog but didn't see anything relating to moving windows among multiple monitors.
Ubuntu Keyboard Shortcuts – Move Window to Another Monitor
keyboard shortcutsUbuntu
Related Question
- Windows – keyboard shortcut to close windows from the Windows 7 taskbar window selector
- Cinnamon Shortcut to Move Window Between Monitors
- Windows – Keyboard shortcuts for moving windows between screens doesn’t work in Windows 10
- Windows 10 – How to move window to other monitor by using keyboard shortcuts
Best Answer
What you need:
sudo apt-get install wmctrl
)How to do it:
gnome-keybinding-properties
and click "Add"wmctrl -r ":ACTIVE:" -e 0,0,0,1280,1024
gravity,x-coordinate,y-coord,width,height
. I have gravity set to 0, which is default (I don't actually know what gravity does), x and y-coordinates set to 0 and 0, and the width and height are the dimensions of the left monitor: 1280 and 1024. Change this to match your configuration.wmctrl -r ":ACTIVE:" -e 0,1280,0,1366,768
You may have to tweak the coordinates and dimensions to account for the top (usually 24px tall) or side panels.
For more reading on wmctrl, check out http://movingtofreedom.org/2010/08/10/arranging-windows-from-the-gnulinux-command-line-with-wmctrl/
I hope this helps!