"--right-of" xrandr command still mirrors instead of extends on i3

First post, Hey!, hope I’m doing this right.
I use i3 on Qubes 4.1

When I plug in a second Monitor through HDMI to my Laptop the main screen gets mirrored on the second monitor.
A refresh seems to happen when I type in the command xrandr --output HDMI-1 --auto --right-of eDP-1 but nothing changes, the second Monitor still mirrors.

Another issue I have is that as soon as I plug in the HDMI cable the Network Symbol in the Task bar bottom right disappears. sys-net is still running and connection is still working though.

What’s the full output of xrandr?

Not the full output, had to type by hand. Did a quick google but am struggling with how to copy out of the dom0 xterm terminal.

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384x16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
    1920x1080    60.01*+  60.01    59.97    59.96    59.93    40.01
HDMI-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 16mm x 9 mm
    1920x1080    60.00    50.00    59.94    59.93    24.00    23.98*

To copy out of dom0, select the text then use “CTRL+Shift+C”, go in the clipboard widget and click on “Copy dom0 clipboard”. When done, you can paste everywhere you want with “CTRL+Shift+V”.

Can you try this command:

xrandr --output eDP-1 --primary --output HDMI-1 --left-of eDP-1
1 Like

Used your command and replaced “–left-of” with “–right-of” and it does properly extends now. Thanks. I’ll look into what exactly I did wrong.

Status bar is on the second screen now and the network symbol still missing.
I’m guessing I have to change the position of the “–primary” option to get the status bar on the correct display?

I use the following in my i3 config in “bar”:

output primary
tray_output primary

It should work like that. If not, then you can switch the primary flag and see if it changes the bar placement.

For the widget, this is a known bug on Qubes i3 unfortunately. If you restart sys-net, it should appear again.

1 Like