Results 1 to 7 of 7

Thread: Add shortcut to Ubuntu Launcher

  1. #1
    Join Date
    Sep 2005
    Location
    Portugal
    Beans
    23
    Distro
    Dapper Drake Testing/

    Add shortcut to Ubuntu Launcher

    Hi.

    I am trying to add a shortcut to PyCharm IDE to Ubuntu Launcher (Ubuntu 13.04), but so far nothing is working.

    I've created a file named "pycharm.desktop" in "/usr/shares/applications/" with this:

    Code:
    [Desktop Entry]
    Version=1.0
    Name=PyCharm
    
    Exec=/home/username/pycharm-2.7.2/bin/pycharm.sh
    Terminal=false
    Icon==/home/username/pycharm-2.7.2/bin/pycharm.png
    Type=Application
    Categories=TextEditor;IDE;Development
    X-Ayatana-Desktop-Shortcuts=NewWindow
    
    [NewWindow Shortcut Group]
    Name=New Window
    Exec=/home/username/pycharm-2.7.2/bin/pycharm.sh
    TargetEnvironment=Unity

    I'm not seeing a PyCharm entry in Ubuntu Launcher with this... What may be wrong?
    I used this process to add a shortcut for Sublime Text 2 and it works :\

    Thanks

  2. #2
    Join Date
    Sep 2005
    Location
    Portugal
    Beans
    23
    Distro
    Dapper Drake Testing/

    Re: Add shortcut to Ubuntu Launcher

    Anyone?

  3. #3
    Join Date
    Nov 2012
    Beans
    265
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Add shortcut to Ubuntu Launcher

    Try to put only this and see if it works:

    Code:
    [Desktop Entry]
    Version=1.0
    Name=PyCharm
    Exec=/home/username/pycharm-2.7.2/bin/pycharm.sh
    Terminal=false
    Icon==/home/username/pycharm-2.7.2/bin/pycharm.png
    Type=Application

  4. #4
    Join Date
    Sep 2005
    Location
    Portugal
    Beans
    23
    Distro
    Dapper Drake Testing/

    Re: Add shortcut to Ubuntu Launcher

    It didn't work

  5. #5
    Join Date
    Oct 2006
    Beans
    58,286

    Re: Add shortcut to Ubuntu Launcher

    Take it that you have been through the info here..

    https://help.ubuntu.com/community/Un...ndDesktopFiles

  6. #6
    Join Date
    Sep 2005
    Location
    Portugal
    Beans
    23
    Distro
    Dapper Drake Testing/

    Re: Add shortcut to Ubuntu Launcher

    Thanks for the tutorial howefield.
    Thee's script worked. I just needed to drag the shortcut from dash to the launcher after creating the .desktop file.

    Thank you all.

  7. #7
    Join Date
    Feb 2014
    Beans
    1

    Re: Add shortcut to Ubuntu Launcher

    Thanks for your code.

    I think == should be =

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •