Martin (KDE) wrote:
is there a general way to execut scripts shortly after login (but
before the GUI is started) and before logout (all GUI components are
brought down)? For kde I can use /etc/kde/env and /etc/kde/shutdown
folders, but what about other GUIs (like Gnome)?
At login there's /etc/xdg/autostart (also supported by KDE). I don't think
there's any cross-desktop equivalent to /etc/kde/shutdown though.
Kevin Kofler