You are not logged in.
Pages: 1
All the advice on adding entries to autostart do so from a GUI perspective. What I'm looking for is a way to make the same from the command line, which will then be added to a batch script for deploying setups to new users.
E.g. (not my actual use case, but a good example):
Name: Transmission
Command: /usr/bin/transmission-gtk -m
Comment: Torrent client
Searching hasn't helped, as all the results are about how to add a batch script into autostart so it runs on login.
Offline
You create a Transmission.desktop file either in /etc/xdg/autostart (for all users) or ~/.config/autostart (just that user), with the appropiate parameters (many of them optional), more or less like this:
[Desktop Entry]
Type=Application
Name=Transmission
Comment=Torrent client
Exec=/usr/bin/transmission-gtk -m
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=false
Hidden=false
Hope it helps, tell us how it goes!
Offline
Excellent - just what I needed, thanks
Offline
Pages: 1
[ Generated in 0.010 seconds, 8 queries executed - Memory usage: 521.12 KiB (Peak: 521.74 KiB) ]