I have installed Teamspeak onto my Ubuntu 15.10 system. Teamspeak requires a script to be ran in-order to start. How can I create a symbolic link that is a .desktop so I can open the .desktop file, and have it run the script? I have looked at a few methods, but they all seem like hotfixes. Is there a proper way to do this?
1 Answer
You can create a desktop file in ~/.local/share/applications
, add something like the following contents:
[Desktop Entry]
Name=Teamspeak
Comment=Teamspeak
Exec=/path/to/teamspeak.sh
Icon=/path/to/teamspeak-icon.png
Terminal=false
Type=Application
StartupNotify=true
This is included in the instructions here. I recomend you read them, but you may want to move the files to a 'hidden' location like ~/.teamspeak-install
instead /opt
-
This is perfect! I saw a few other methods, but it just seems slightly odd. I guess that's linux for ya. Nov 23, 2015 at 0:09
-
Not always. There were a few apps that allowed you create custom launchers (still are for Xfce etc I think). If this helped you can accept it using the tick mark next to the answer :)– WilfNov 23, 2015 at 0:11