-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newer sway/wlroots name certain outputs randomly causing displays not to have a bg image #143
Comments
This looks bad, and I wonder if it only affects outputs connected via Thunderbolt. One way or another, it should be submitted as the sway issue: the problem is swaybg-related. Well, they might have changed something in swaybg... I haven't yet seen the new sway. |
Well it's the output port that keeps changing. I've no idea how that works internally in sway, but the dock's ports have always been reporting as display port, never mind they're HDMI, VGA (both that I use) or the actual DP and miniDP that are also present. |
Azote relies on swaybg. I'm not sure if we can use output generic names here. On my setup they look like this:
|
Alright, it seems we can. I'll take a closer look at this tonight. Will you help at testing? |
Goes without saying 👍 |
Very well. I'm about to finish tuning nwg-panel. Will try to fix your issue as soon as it's done. |
Would you be able to give a try to the display-names branch? I need to build the generic name out 3 fields like this: 'generic-name': "{} {} {}".format(output["make"], output["model"], output["serial"]) I'm not sure if it's going to always work as expected. If it does, I could just leave it as is. Otherwise we would need a switch - if to use output names or generic display names. But the first thing I need to know is if it works on your hardware. |
Success! recording.mp4 |
Very well. I think I should add the switch in settings anyway - just in case. I'll do it today or tomorrow and publish a new release. Can't promise this to be tonight, as I'm slightly obsessed with another project in Go. 😈 |
Go-od stuff mate 👍 |
Awesome, thank you Piotr 👍🏽 |
Thanks for reporting the issue. |
Describe the bug
Looks like on the last versions of sway and wlroots, virtual outputs (like those on a thunderbolt dock) are named randomly. I have two displays on a thunderbolt dock that keep changing
X
whereDP-X
. Those outputs are virtual (one is in fact VGA and the other HDMI, but from the system's point of view they're displayport).Anyhow the net result is that sometimes, when an output name is changed at random, I won't have a background image in there. For instance, this is the azotebg script before after I fixed it this morning because one of the displays somehow changed DP number after resuming from sleep:
To Reproduce
It's pretty hard to reproduce, unless you have my setup exactly.
Expected behavior
The output names change, but obviously the display names remain the same. Perhaps the script could use these instead?
So instead of
We could have:
This is in fact the recommended method of configuring your display layouts in Kanshi so that you can have different setups off the same hardware ports (eg built in HDMI and eDP) as it's the only effective way to identify a particular screen.
Desktop (please complete the following information):
Azote version (please state it clearly if you use -git version):
v1.9.0
The text was updated successfully, but these errors were encountered: