Notes - GNOME

Return to note list
Run a script on login in GNOME

Create the following file as ~/.config/autostart/loginAutostart.desktop:

[Desktop Entry]
Version=1.0
Name=loginAutostart
Exec=/home/*username*/bin/loginAutostart
Icon=utilities-terminal
Terminal=false
Type=Application
StartupNotify=false
X-GNOME-Autostart-enabled=true

Make the .desktop-file executable. Then create ~/bin/loginAutostart and make it executable. It will now be run on each login.