I have three screens:
- Internal laptop screen (eDP)
- Portable USB-C screen (DisplayPort-0)
- External HDMI projector (HDMI-A-0)
With that, I'm trying to set up xrandr so that I have my laptop screen, and the portable screen on the left of it, mirroring what people see on the projector. Thus, I run:
xrandr --output DisplayPort-0 --left-of eDP --auto
xrandr --output HDMI-A-0 --same-as DisplayPort-0 --auto
hc detect_monitors
which leads to xrandr reporting:
eDP connected primary 1920x1080+1920+0
HDMI-A-0 connected 1920x1080+0+0
DisplayPort-0 connected 1920x1080+0+0
and hc list_monitors saying:
0: 1920x1080+1920+0 with tag "2" [FOCUS]
1: 1920x1080+0+0 with tag "1"
however, I can't get barpyrus to show up on my laptop screen anymore: When I run either barpyrus 0 or barpyrus 1, the panel shows up on the left USB-C screen (probably picking DisplayPort and HDMI?). When I do barpyrus 2, I get:
monitor_rect: Cannot parse argument "2": No such monitor: 2
Traceback (most recent call last):
File "/usr/bin/barpyrus", line 33, in <module>
sys.exit(load_entry_point('barpyrus==0.0.0', 'console_scripts', 'barpyrus')())
File "/usr/lib/python3.10/site-packages/barpyrus/mainloop.py", line 45, in main
conf = get_user_config()
File "/usr/lib/python3.10/site-packages/barpyrus/mainloop.py", line 39, in get_user_config
return get_config(user_config_path())
File "/usr/lib/python3.10/site-packages/barpyrus/mainloop.py", line 24, in get_config
exec(code, global_vars)
File "/home/florian/.config/barpyrus/config.py", line 309, in <module>
bar = main()
File "/home/florian/.config/barpyrus/config.py", line 261, in main
x, y, monitor_w, _monitor_h = hc.monitor_rect(monitor)
File "/usr/lib/python3.10/site-packages/barpyrus/hlwm.py", line 60, in monitor_rect
x = int(geometry[0])
ValueError: invalid literal for int() with base 10: ''
I have three screens:
With that, I'm trying to set up xrandr so that I have my laptop screen, and the portable screen on the left of it, mirroring what people see on the projector. Thus, I run:
which leads to xrandr reporting:
and
hc list_monitorssaying:however, I can't get barpyrus to show up on my laptop screen anymore: When I run either
barpyrus 0orbarpyrus 1, the panel shows up on the left USB-C screen (probably picking DisplayPort and HDMI?). When I dobarpyrus 2, I get: