On Ubuntu 18.04.3 GUI, I am using GNOME Startup Application to start my bashscript because @reboot
for cron
doesn't work for me (cron - crontab's @reboot only works for root? - Unix & Linux Stack Exchange).
How can I set (and view existing) the environment for GNOME Startup Application GUI?
EDIT
Relevant image and data:
$ ls ~/.config/autostart/
alarm-clock-applet.desktop nvidia-settings-autostart.desktop
albert.desktop@ org.gnome.Nautilus.desktop
bash.desktop psensor.desktop
blueman.desktop remmina-applet.desktop
code.desktop safeeyes.desktop@
google-chrome.desktop shutter.desktop
ignore-lid-switch-tweak.desktop snap-userd-autostart.desktop
keepassxc.desktop urserver.desktop
cat ~/.config/autostart/bash.desktop
[Desktop Entry]
Type=Application
Exec=/bin/bash /home/nikhil/opt/bin/Startup
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=MyStartupApplications
Name=MyStartupApplications
Comment[en_US]=MyStartup Applications
Comment=MyStartup Applications
System-wide startup applications are stored as
.desktop
files in the/etc/xdg/autostart/
directory. If you (or an application) have manually added a startup application only for the current user, then it would be found in your~/.config/autostart/
directory. You can edit the.desktop
files with a text-editor of your choice.