5

I am trying to launch teamspeak from an icon in the launcher. I followed this guide How to add a shell script to launcher as shortcut . The launcher works fine. My gripe is that it still opens a shell. When I try and open the other applications on the launcher, it does not open any terminals. I can't understand why. How do I stop the shell opening, or have I just implemented it wrong?

Separate to the main issue, where can I find icon's that I can use on the launcher side panel? And does it matter what size they are, or does Linux scale the image to size when you drag it onto the launcher?

[Desktop Entry]
Type=Application
Terminal=true
Name=unmount-mount
Icon=/usr/bin/TeamSpeak3-Client-linux_amd64/Dakirby309-Simply-Styled-TeamSpeak.i‌​co
Exec=/usr/bin/TeamSpeak3-Client-linux_amd64/ts3client_runscript.sh 
  • The question (and answer) about the icon should really be a different question; they're great (and apply to more than teamspeak), but they're lost to future readers here. – alexis Jun 6 '15 at 14:03
  • @alexis askubuntu.com/questions/633028/… – Tim Jun 6 '15 at 14:10
9
  1. We need to know what you've put in the .desktop file.

    Try editing the Terminal= line to be false:

    Terminal=false
    
  2. I put all my icons in /usr/share/icons and I save them as a .png or a .svg. SVG is better (scalable), but can be a larger file size. Remember, this icon will be used for Alt+Tab switcher as well as the launcher and Dash search.

    Icon=/usr/share/icons/teamspeak.svg
    

    can be changed to just teamspeak if the icon is called teamspeak.svg (or .png) and is saved in /usr/share/icons (or the current folder for your icon pack).

  3. Just made you an icon.

    Get the SVG here.

    Linux will scale it for you.

  • If you like Tim's answer give him an upvote ^ , if he solved your problem, click grey checkmark to accept this answer. Thanks ! – Sergiy Kolodyazhnyy Jun 6 '15 at 11:24
  • @Serg he can't upvote yet :) – Tim Jun 6 '15 at 11:24
  • 1
    because of 3 rep ? Well, no problem, other members of the community can upvote, but it's important to accept answers,though – Sergiy Kolodyazhnyy Jun 6 '15 at 11:25
  • Hi Tim, Unfortunately nobody has told me how to format the code properly on my posts, so you will just have to look at the jumble of config below to see the config in the desktop file. [Desktop Entry] Type=Application Terminal=true Name=unmount-mount Icon=/usr/bin/TeamSpeak3-Client-linux_amd64/Dakirby309-Simply-Styled-TeamSpeak.ico Exec=/usr/bin/TeamSpeak3-Client-linux_amd64/ts3client_runscript.sh And hell yeah that works turning terminal to false. – john smith Jun 6 '15 at 11:44
  • 1
    png doesn't scale. Only vector graphics files do, so for this, only svg will. To format it properly, select it all and press Ctrl+K, or click the {} button. – Tim Jun 6 '15 at 12:05

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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