-
Notifications
You must be signed in to change notification settings - Fork 20
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
Regressions with de/wm and theme #18
Comments
Can you run it again? I'm working on that right now and just made 3 commits. Post full output so I can see whats going on easier |
Now under WSL2 getting this:
Same suggestion as with gsettings - test with |
It should work now. I accidentally left out the square brackets surrounding xprop and gsettings, if not I will attempt with which next |
This should be fixed with -z $DISPLAY on commit 433c555. Please pull latest commit and test so we can get this issue closed! |
On a RPi4 running Ubuntu 20.04, I get:
In Debian 10 under WSL2, I get:
Not sure if this is a bug or intended. Also, the "theme" row is still indented. |
That should have fixed your issue with gsettings output. The issue is likely that you have no theme at all but the path shouldn't output at all because it's irrelevant info. No schemas installed likely prints from xprop and I would consider it a good output to keep, if that fails next it will echo not found. Theme row is hard indented on purpose, de/wm should output not found or your theme name and theme should be in same row indented to the side |
I'll make a PR for the newline/indendation issue, seems like a really simple fix. |
I'll close this as solved then! Thanks alot! |
Just as a random note + thank-you, your comment @IndrekHaav was the only Google result when searching for an error that broke my WSL2 distro after trying to If it wasn't for this issue pointing towards |
Some recent commit introduced an error under WSL2:
Presumably the same can happen on other headless systems.
The label is also shown twice, because of line 47.
On a RPi4 running Ubuntu 20.04,
xprop
isn't found:Also, the "theme" label is indented, and under WSL2 also prints the path to
gsettings
:Maybe instead of
command -v gsettings
, runwhich gsettings
and test its return code?The text was updated successfully, but these errors were encountered: