4

I would like to have an application (most likely AWN or Docky) start only on XFCE, and not on KDE or Unity/GNOME. Is this possible? If so, how would I go about doing that?

1 Answer 1

3

Write the following script, replacing launch_app with the command that launches the application you want to launch at session start.

#!/bin/bash
if [ "$DESKTOP_SESSION" = "xfce" ]; then
    launch_app
fi

Give the script executable privileges with chmod +x, then tell your autostart configuration tool (not sure what XFCE uses) to use that script.

Should work.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .