Skip to content

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

@bruceravel

Description

@bruceravel

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....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions