yogatotal.blogg.se

Nvidia adjust desktop size and position
Nvidia adjust desktop size and position





Xdotool getactivewindow windowmove 2400 0

nvidia adjust desktop size and position

# move xterm I am in to the right side of desktop - this is the easy part, ignore if you don't care Pick the pieces you want (I place the script in the project directory and run it there) Use xdotool to find and position/resize windows My preferred desktop organization is to have an open xterm bordering the desktop on the right at its normal size and VS Code on the left, between the left desktop border and the xterm, sized such that I can see bothĪfter I exit from all 3 VS Code windows, and start reopening next day, the first window normally opens at position & geometry of the last one from which I exited, the subsequent windows open at full screen and block the xterm from my view - pretty much the issue we have here.(note the dot - start VS Code in current directory) I open an xterm (gnome-terminal), cd to a directory of the project and start VS Code by typing code.I use 3 VS Code windows, on 3 different virtual desktops, one each for different projects.Just want to point out that this doesn't solve the 'remember the last position / size' issue but it lets you consistently position (and reposition) the window wherever you want - so if the window moves elsewhere, you can make it go back to where you want Workaround on Debian Linux, Cinnamon desktop - not tested anywhere else That would help me a looooads of headaches!

nvidia adjust desktop size and position

and when it's messed up, I run the command and the window get's re-positioned to the previous state. each workspace could have a command to remember the layout (size, position) and to easy recall it. This is probably not VSCode issue, I know. The problem is, when I close down the lid, or disconnect one of the monitors, or connect in a meeting room, or login again to the system, or connect to different monitor setup. the most important one is expanded over 2 monitors (not full width, 3/4 of the width ). (2 of the projects are full size on one monitor. So my regular setup (laptop + 2 monitors) I have 3 VSCode windows (3 different projects). But, regarding remembering the window positions is becoming really, really frustrating on a laptop that connects to multiple monitors (which is very typical in a workplace).







Nvidia adjust desktop size and position