Skip to main content
67 votes
Accepted

i3wm: How to move workspaces between monitors?

You can define a binding in your i3 config. Note: windows are called "containers", and monitors are called "outputs". The relevant documentation is here. move workspace to output ...
Ricardo Decal's user avatar
21 votes
Accepted

i3wm: How to move windows between monitors?

For windows and workspaces, you need to define a binding in your i3 config. Note: windows are called "containers", and monitors are called "outputs". For moving windows: move container to output ...
Ricardo Decal's user avatar
20 votes

i3wm: How to move workspaces between monitors?

The workspace can be explicitly specified by name like this, for values of workspace_name and output_name: i3-msg '[workspace="workspace_name"]' move workspace to output output_index Note that if you ...
kgilmer's user avatar
  • 301
19 votes
Accepted

Switch between monitors with dual display state [awesome wm]

Yes there should be. Try Mod+Ctrl+j to focus the next screen. Then Mod+Ctrl+k should focus the previous screen.
111---'s user avatar
  • 4,663
18 votes

Cursor flickers with xrandr scaling

This workaround helped me. What I do now is after performing a xrandr scale, I run an extra command which stops the mouse flicker. xrandr --output eDP-1 --auto --output HDMI-2 --auto --scale 2x2 --...
jadelord's user avatar
  • 349
13 votes

VNC-Server as a virtual X11 monitor to expand screen problem

Using Fedora 26, I faced the same issue with VIRTUAL1 not being shown by xrandr command. Then I followed this instructions , to reuse an empty output, like HDMI-2, and it worked quite well, but: ...
Rafael Godínez Pérez's user avatar
11 votes

i3wm: How to move workspaces between monitors?

To move to the next workspace, you can use: bindsym $mod+Ctrl+greater move workspace to output next docs This has the advantage of being agnostic as to the position of the workspace - it just cycles ...
emilBeBri's user avatar
  • 237
10 votes

Double screen: desktops "moving" with the mouse

This just happened to me. The solution: Hold down the ALT key and roll the mouse wheel. It was a zoom feature that accidentally got triggered when I held down ALT and didn't notice I moved my wheel. ...
Michael's user avatar
  • 101
9 votes
Accepted

Disable laptop screen and use only VGA

Run the command xrandr -q to shows the exact names. xrandr -q | grep 'VGA\|HDMI\|DP\|LVDS' This is a sample command to turn off LVDS-1 and enable VGA-1: xrandr --output LVDS-1 --off --output VGA-1 -...
GAD3R's user avatar
  • 69.9k
8 votes

How can I swap my two screens, left to right?

I use Ubuntu 20.4, and pressed Win-P accidentally, and fuzzled around with the several options. To switch back to my original setting I used: press Win-P selected "Built in only" then ...
Edo de Roo's user avatar
8 votes

How can I get stable video output names?

I ran into similar issues, and thought it would be useful to add some information to this post in case anyone else experiences problems relating to the changing of port IDs between X.org and /sys/...
Lizardx's user avatar
  • 3,134
7 votes

VNC-Server as a virtual X11 monitor to expand screen

See this answer to be able to use VIRTUAL1 instead of a real output like HDMI2, and be able to manage it (select resolution, arrange desktop geometry, clone or extend) in the desktop environment ...
Rafael Godínez Pérez's user avatar
6 votes
Accepted

Per-screen font config?

xrdb uses the C preprocessor (because of course it does), so it supports conditions. Here's a snippet from my .Xresources: #if SCREEN_NUM == 0 Xft.dpi: 157 #endif #if SCREEN_NUM == 1 Xft.dpi: 96 ...
Ben Stern's user avatar
  • 412
6 votes

How can I detect when a monitor is plugged in or unplugged?

I stuck to using srandrd. It monitors X events and triggers your script when a display gets connected or disconnected.
scorpp's user avatar
  • 191
6 votes
Accepted

Thumbnail preview of secondary display on primary display?

actually you can use vlc for that purpose (if I understand your needs correctly). First you click on Media -> Open Capture Device Then set Capture mode to Desktop. Then you check show more ...
Pierre-Alain TORET's user avatar
6 votes

Tricking Slack into thinking you don't have multiple monitors

Not my answer, but this worked for me: I found a workaround by using "v4l2loopback". Like following, by using "v4l2loopback", ffmpeg can output screen captured movie to v4l2 device.Then, in Slack ...
mistapink's user avatar
  • 171
5 votes

How can I swap my two screens, left to right?

Ubuntu 18.10 here with GNOME 3.30.2. Just go to Settings > Devices > Displays. The display arrangement can be rearranged, with simple drag-and-drop. I had better experience doing this rather than ...
Akhil's user avatar
  • 151
5 votes

Monitor labels appearing in displays on Linux Mint MATE

I had 3 lingering mate-display-properties processes running. Killing all of them fixed the issue.
clashley's user avatar
5 votes

External screen recognized, but black

I had the same problem (with the same Samsung screen I think) and I just solved it by unplugging power cable because the menu button did not respond then replugging it and test the button by taping a ...
eytienne's user avatar
5 votes

Linux Mint - Not detecting monitor connected via USB-C to HDMI hub

Try opening a console and typing the following: xrandr --auto Make sure that you're providing electricity to the hub with your cable - it should be connected to the laptop's power cable. Not all USB-...
Meetai.com's user avatar
5 votes
Accepted

Multiple monitor with virtual gap between them

1920 is the width in landscape mode, so becomes the height in portrait mode. Your config starts each monitor 1920 pixels from the start of the last monitor, so there's a 700-900 pixel gap between ...
quixotic's user avatar
  • 1,170
5 votes

Ubuntu 18.04 Mouse Pointer Blinks and disappears on one screen after setting HiDPI scaling with xrandr

Run the following xrandr command after yours: xrandr --output eDP-1 --scale 0.9999x0.9999
edpr's user avatar
  • 51
5 votes

PopOS Scaling multiple monitors individually

This work for me(4k+1080P) gsettings set org.gnome.mutter experimental-features "['x11-randr-fractional-scaling']" (Just ignore the Chinese) If that does not work for you, you also can try ...
XQ DD's user avatar
  • 51
5 votes
Accepted

Simple way to query which monitor is currently focused

If you want to know what the current primary monitor is, that's easy: $ xrandr | grep primary DP-2 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm or $ xrandr ...
cas's user avatar
  • 83.9k
4 votes

Restrict Alt+Tab to the current monitor in Gnome 3

Faced the same issue when bought second monitor. Did this repo with the workaround - https://github.com/reanimatorzon/at4dm At this time I'm trying to publish this to https://extensions.gnome.org/...
Vasiliy Bolgar's user avatar
4 votes

External screen recognized, but black

I had to switch from gdm3 to lightdm. sudo apt install lightdm -y Then stop the gdm3 service, which may cause a reboot sudo service gdm3 stop lightdm should be enabled by default and you shouldn't ...
brianrobt's user avatar
  • 170
4 votes

How can I stop windows re-positioning after waking up monitors?

Use this simple shellscript before and after suspend: #!/bin/bash # Get the coordinates of the active window's # top-left corner, and the window's size. # This can be saved & loaded getpos(){ ...
Ipor Sircer's user avatar
  • 14.9k
4 votes
Accepted

Second monitor not recognized - xorg.conf file

Your log says it is not able to read EDID for your display port, I assume to your external monitor. Intel requires you to supply EDID config via xorg.conf, at least that is what I can pull up from my ...
Bussller's user avatar
  • 525
4 votes

How to use an Android device as additional display on Linux

You could use the android device(s) as (additional) X-Server(s): Install e.g. XSDL Xserver on your android device(s), and launch it. Set DPI/Font size for that Xserver. Optional, but better: Install ...
Alex Stragies's user avatar
3 votes

Remember window layout on multiple monitors on Mint Cinnamon

I haven't automated this, but wmctrl let's you record window positions and also set them. xdotool might also work. Here are commands to restore and place windows: Record: wmctrl -lG > ${rcfile} ...
mankoff's user avatar
  • 295

Only top scored, non community-wiki answers of a minimum length are eligible