1
How do I add an app to "Initial Apps for Session" via terminal in the Ubuntu?
1
How do I add an app to "Initial Apps for Session" via terminal in the Ubuntu?
2
Hello, one way to do this without using the UI, is to put the shortcut (with extension .desktop) of your software in the folder ~/.config/autostart/
, everything inside this folder will run on UI startup. You can create a file .desktop thus:
[Desktop Entry]
Version=1.0
Name=my Unipro UGENE
GenericName=Integrated Bioinformatics Suite
Comment=Unipro UGENE is a cross-platform visual environment for DNA and protein sequence analysis.
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
Exec=/home/samuel/ugene-1.11.5 ./ugene -ui -c %F
Icon=/usr/share/icons/hicolor/scalable/apps/ugene.svg
Type=Application
Terminal=true
Categories=Utility;Development;
StartupWMClass=UGENE
See more about. desktop files on: https://askubuntu.com/questions/281293/creating-a-desktop-file-for-a-new-application
This is the only way to do this without using the UI I know, I hope I’ve helped.
PS: If what you want is to initialize a service on system startup (not necessarily the UI), take a look at the Daemons and Init Scripts.
Browser other questions tagged ubuntu command-line
You are not signed in. Login or sign up in order to post.
Solved! when using the UI, this is where the added commands are placed in session applications.
– Miguel Silva