6

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?

4

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

| improve this answer | |
  • This is perfect! I saw a few other methods, but it just seems slightly odd. I guess that's linux for ya. – Jamse33303 Nov 23 '15 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 :) – Wilf Nov 23 '15 at 0:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.