Keyboard shortcut to move windows between monitors?


If you want @wulftone (or others), at least until Cinnamon maybe add this possibility later, here is the script I personally use for that (found I don't know anymore where on the web):

(updated version again, now fully OK for normal -and- maximized windows ;
I've never looked more than that to this script content in fact, but was just basic shell script line errors about the maximized support! I fixed that. By the way, you just need to have these 3 tools installed before: xdotool, xwininfo, wmctrl)

Just edit and adapt these 2 lines at top for your situation (height is managed dynamically):
— screen width (the effective resolution! just set yours here.) —

Working nice here, at least for my configuration (primary screen at right, secondary screen at left). But else, can be easily adapted if required, even though there is no particular reason for this...

0 0
0 0

If you want to give the impression that you’ve been using Windows 10 for years, learning a few keyboard shortcuts is the best way to go about it—you can navigate around the interface, get apps in position, trigger events, change settings and more with a couple of taps on your keyboard. Here are the shortcuts we’ve been finding most useful.

Window snapping

Window snapping has changed slightly in Windows 10 and so have the shortcuts. App windows can be snapped to either side of the screen, as in Windows 8, but you can also assign them to quadrants and get four windows open on screen simultaneously.

Windows Key+Left — snap active window to the left.

Windows Key+Right — snap active window to the right.

Windows Key+Up — snap the active window to the top.

Windows Key+Down — snap the active window to the bottom.

Bonus: Whenever you snap a window to a side or a quadrant, Windows will automatically suggest you pick...

0 0

If you’re a productivity worker who doesn’t like to take their hands off the keyboard, no worries: Windows 10 has your back with some truly useful keyboard shortcuts that will help you manage and navigate between open applications and windows, and even virtual desktops, with ease.

If you’re familiar with Windows 8, you know that some of these shortcuts debuted a few years back. But to the hundreds of millions of people now tentatively testing the Windows 10 waters, these shortcuts are brand new. And proof that Microsoft hasn’t totally given in to touch-first interfaces.

So let’s get started. You’ve got open applications and other windows. Some are floating around on the desktop. Some are full-screen. Some are minimized. What can you do with them?

Get a mile-high view. Type WINKEY + TAB to see Task View, which provides thumbnails of all open applications and other windows. Then, use the arrow keys and SPACE to select one and bring it front and center....

0 0

After exiting from an extended desktop mode under Windows 7, you will be surprised to see all windows that were left opened in second monitor, back in the primary monitor. To leave extended mode hit the keyboard shortcut Win + P and select Disconnect Projector. But this is not all.

Windows 7 includes two new shortcuts; Win + Shift + Left Arrow Key & Win + Shift + Right Arrow Key to move windows between multiple monitors. Thus, making 3rd party apps, such as, MonitorSwitch, useless when it comes to dual-monitor setup.

The above mentioned two hotkeys only work in Extended mode. Lets say your windows got misplaced when you were in a single monitor mode, now these two hotkeys will not work. You could either use the following method which worked in old operating systems as well,

Select the hidden or misplaced windows from the taskbar, hit Alt+Space, press M, and finally press any one of the arrow keys (doesn’t matter which one you press) before moving the...

0 0


#!/bin/bash offx=$( grep metamodes /etc/X11/xorg.conf | cut -d '+' -f 4 | sed 's/[^0-9]*//g' ) offy=$( grep metamodes /etc/X11/xorg.conf | cut -d '+' -f 5 | sed 's/[^0-9]*//g' ) curx=$(xwininfo -id `xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)"| cut -d ' ' -f 5` | grep "Absolute upper-left X" | cut -d ' ' -f 7) cury=$(xwininfo -id `xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)"| cut -d ' ' -f 5` | grep "Absolute upper-left Y" | cut -d ' ' -f 7) if [ $curx -ge $offx ] then newx=$((curx-offx)) newy=$((cury-offy)) else newx=$((curx+offx)) newy=$((cury+offy)) fi /usr/bin/xdotool windowmove `/usr/bin/xdotool getwindowfocus` $newx $newy exit 0

There's probably a better sed command to find the display resolutions (I'm definitely no sed guru - in fact, it's a tool I still find incredibly hard to use after years of wrangling with it) and when I use the script to move a window, repeated moves means the window slowly gets lower on each screen, so there's pixels...

0 0

One of the most common tasks on a dual-monitor setup is moving windows from one screen to the other. Traditionally this involves dragging the titlebar across screens via the mouse. Of course, there are tools like DisplayFusion that make the job easier, but I’ve found that a simple keyboard shortcut provides the best solution of all.

The keyboard shortcut is: Windows Key + Shift + Left/Right Arrow

This shortcut will instantly transfer windows from one screen to another while attempting to maintain window size and relative position. This is just another quick groovy tip that I use everyday, and I hope it helps out anyone else who uses two monitors on a Windows...

0 0
0 0
0 0
0 0

One of my personal favorites among the new features that Windows 7 came with was the introduction of some awesome and long awaited keyboard shortcuts. I personally use them as much as I can to save time, and I recommend the practice of using keyboard shortcuts to others too.

This article talks about 15 really cool keyboards shortcuts that are specific to Windows 7. I can bet that you don’t know all of them. Check them out, some of them will surprise you for sure.

1. Ctrl+Shift+N to Create a New Folder

Creating a new folder in Windows explorer is something we all need to do on a frequent basis. And until now, there was no default shortcut key available for this task. But Windows 7 changed that.

You could now use Ctrl+Shift+N to quickly create a new folder in Windows or anywhere on your computer where a folder can be created.

2. Ctrl+Shift+Click to Open a Program As Administrator

There are many instances when...

0 0