How can I start a program/script as root as soon as GDM starts. I need the said program/script to start even before the user has logged in. It needs to start as soon as the GDM login screen shows up.
I know that putting something in
/etc/xdg/autostart starts the program/script on user login. Where do I put my script to have it start before user login?