You are not logged in.
Pages: 1
I currently use the following code to set configure my monitors (dual monitor setup).
#!/bin/sh
xrandr --output HDMI-0 --mode 1920x1080 --rate 144 --primary
xrandr --output DVI-I-1 --mode 1920x1080 --rate 75 --noprimary --left-of HDMI-0
But even though I specified the primary monitor Qtile still thinks my DVI-I-1 is the primary monitor (i.e. the info bar of qtile is located there).
Does anybody know of a workaround for this problem?
Btw. I also tried to configure /etc/X11/xorg.conf as follows:
Section "Monitor"
Identifier "HDMI-0"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "DVI-I-1"
Option "LeftOf" "HDMI-0"
EndSection
With this it did detect the HDMI-0 as the primary one, but then the DVI-I-1 was always on the right instead of on the left (also tried changing Option "RightOf" and didn't work).
Last edited by LVN (2021-02-01 12:18:01)
Offline
Are you setting your screens up in ~/.confg/qtile/config.py ?
If you have a two monitor setup and wanted the info bar to show up just on one of them, it should look something like this:
screens = [
Screen(
top=bar.Bar(
[
widget.Clock(),
],
28,
),
),
Screen(
),
]
If you wanted the bar on the other screen, just move the bar widget to the next Screen section.
screens = [
Screen(
),
Screen(
top=bar.Bar(
[
widget.Clock(),
],
28,
),
),
]
Offline
Pages: 1