SHIFT+Right-click reveals the System Menu. SHIFT+Right-click on the program’s icon in the taskbar to reveal the System Menu. If the window is off-screen - meaning that you can’t click in any magical corner - and ALT-Space isn’t working either, then another approach is called for. In this example, I’ve right-clicked in the space immediately to the left of my left-most tab in the Chrome browser to reveal its System Menu.Ī) this doesn’t always work, and B) it assumes you can see the top of the window. In some applications - mostly older ones - you can click on an icon in the upper left to cause the System Menu to appear, or, if you’re very careful, in some apps you can right click on the (usually very small) space immediately to the left of whatever is in the application’s title bar. I don’t know if it’s really useful (unless you have no mouse), but it is kinda cool.
You can click on Move and then use your keyboard arrows to move the program’s window around the screen. That’s the menu that pops up in the upper left of a window when you type ALT+Space in many applications. The System MenuĪlmost every window has what’s called a “System Menu”. Then click on “Move” to bring it back into view. If the window is not visible, typing SHIFT+Right-click on the running application’s taskbar icon can also make it appear.
ALT+Space will make the menu appear in some applications CTRL+Click in the very upper left of some windows will make it appear in others. See more info about window-positions here.The System Menu can let you control the position and size of a window, even when initially not visible. Subsequently starting the app should place the window with the prescribed geometry. With that said, here is a command capable of restoring the window from the above it can be seen that it has to be issued while there is no window open for system monitor: gsettings set -system-monitor window-state '(1000,800,50,50)' So after you have already recovered the window to a usable position with mouse, or cursors, or anyhow, there is no point in setting these they will just get updated again. System monitor however has this feature.) gsettings get -system-monitor window-stateĪnd gsettings get -system-monitor maximizedīut both of these seem to get updated every time you close the system monitor window. (Note: this is not available for all apps. Tweaking the system monitor app's window geometry through gsettings API: This modifier key used to be Alt on older releases, and left Super (the left-side "Windows" key) on recent releases.
Holding down a modifier key during a click-dragging mouse gesture makes the entire surface of the window available for click-dragging (not just the header). (This however will not resize the window, and will keep its disturbing offset, even if on the other monitor.) Super + shift + left / right arrows will move the window to the next adjacent monitor. Super + left / right arrows will move the window to the corresponding side of the active monitor.Īgain, each of these will resize the window to match the active screen's size. Super + up arrow will maximize the window size on the active monitor. (On older releases, the modifier was the Alt key, and in 20.04, through user preferences, Alt can still be made that modifier.
This modifier on 20.04 by default is the left Super key (the left "Windows" key). With the window focused, the combination of a modifier key + arrow keys can position it such that it gets resized to the active monitor's exact size. You can get it focused by using the Alt+Tab cycle, or, in some configurations, through clicks on the app's icon in the dock.
The first task is to get the mis-positioned window focused. Window-positioning keyboard shortcuts (best and quickest solution candidate): Assuming stock Ubuntu 20.04 with Xorg Server and Mutter window manager.