I want to have two DEs: Xfce & KDE. The Xfce I want to use as a dark theme, because it has the darkest theme I’ve found, which I couldn’t find anything equal on KDE. However in KDE I have Latte, and when I initialize Xfce, Latte does as well, breaking the workflow of the interface.
Is there how to “Autostart only if KDE is running?”
You could autostart a script instead that checks if the session is KDE and then launches the program if true.
And how would I do that, Linux wizard man?
echo XDG_CURRENT_DESKTOP https://itsfoss.com/find-desktop-environment/
Start your bash script with ‘if’ and ‘then’ and your script is 80% done.
Then would it look like something like this?
if kde-desktop then latte-dock
you could try putting a script to launch it on
~/.config/plasma-workspace/env/
- i can only assume other des wouldn’t execute things in thereYou’re a genius, man. I hope this works!