Skip to content
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

set-wallpaper will certainly fail for KDE and other desktops #2

Open
bruceravel opened this issue Oct 19, 2020 · 1 comment
Open

set-wallpaper will certainly fail for KDE and other desktops #2

bruceravel opened this issue Oct 19, 2020 · 1 comment

Comments

@bruceravel
Copy link

If I am understanding the operation of set-wallpaper correctly, you rely on the existance of /usr/bin/gsettings as the indicator of the choice of gnome as the desktop environment. In fact, it only indicates that gnome has been installed on the computer, which is often true even if another desktop is in use.

A better test would be against something like $XDG_CURRENT_DESKTOP, which would resolve the desktop actually in use.

Will work on a PR that works for KDE....

@stuwilkins
Copy link
Contributor

I like this! Thanks Bruce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants