$darkmode
Elektra 0.11.0
Plugin: desktop

The plugin is informational and mainly be used to provide context for other configuration. See elektrify-getenv.

Installation

See installation. The package is called libelektra5-extra.

Usage

To mount the plugin please use:

1 sudo kdb mount --resolver noresolver none system:/info/desktop desktop

or it is already included if you already mounted the info plugins with:

1 kdb mount-info

Then you can get desktop information via:

1 kdb get system:/info/desktop

You either get a lower-case string (supported desktops see below) or no key if no desktop was detected.

Supported Desktops

Currently supported desktops are:

Currently the detection relies on environment variables, which will not work in setuid or otherwise secured binaries. Please open a bug report if the detection does not work for you: https://issues.libelektra.org

Unmount the plugin

To unmount the plugin you can run

1 sudo kdb umount system:/info/desktop