Qtile has the wrong index for the monitor.
See original GitHub issueThe issue:
I wanted to get monitor index same as result of xrandr --listmonitors
, but qtile missmatch with it.
First is log of using my func of cycleing monitor using screen index.
Second is result of `xrandr --listmonitors’
Qtile reported monitor0(DP-0, primary, WQHD)->monitor1(DVI-D-0, FHD)->monitor2(HDMI-0, WQHD) but xrandr reported DP-0->HDMI-0->DVI-D-0.
I use display config generated by nvidia-setting. (Third is)
- Qtile version: 0.21.1
- distro: ArchLinux
- I make screen using my func but this is almost identical to the example.
Required:
- I have searched past issues to see if this bug has already been reported.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Getting the index of the current layout : r/qtile
When I run the config file in terminal, I get AttributeError: 'NoneType' object has no attribute 'current_layout' . So qtile has no ...
Read more >Wrong number of positional arguments in lazy.function()
NB. the qtile object is automatically passed as the first argument. ... i = qtile.screens.index(qtile.current_screen) if i + 1 ...
Read more >Scripting Commands
Move window to a specified screen. If index is not specified, we assume the current screen. Examples. Move window to current screen: toscreen ......
Read more >Qtile Documentation
Either Qtile can then be downloaded from the package index or the Github repository ... False). If this group is already on the...
Read more >Qtile
Qtile is a full-featured, hackable tiling window manager written in Python. Qtile is simple, small, and extensible. It is easy to write your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry for the time delay in replying since the last time. I checked mode of
xcffib
. You are right, the mode was 0. The fourth one is the output for the VM. It appears that the patch I wrote about here is still needed.I’m also experiencing this issue. I’m looking to try out qtile, coming from bspwm (used for the last 3-4 years).
In my example, xrandr lists my monitor as following:
while qtile swaps DP-2 and HDMI-0.
Since HDMI-0 is a monitor that occasionally is disconnected, this makes this issue quite tedious issue.
I find it a bit strange that qtile try to use monitor index from randr / xrandr instead of using monitor name (which are unique).