Results 1 to 8 of 8

Thread: Removing .desktop launchers created by gnome

Hybrid View

  1. #1
    Join Date
    Mar 2013
    Beans
    2

    Removing .desktop launchers created by gnome

    Ok so I used gnome to create .desktop launchers but I need to delete a couple. How can I delete my .desktop launchers?
    Last edited by ThatBenderGuy; March 14th, 2013 at 09:22 PM.

  2. #2
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,611
    Distro
    Ubuntu

    Re: Removing .desktop launchers created by gnome

    Depending on what program you used.
    The .desktop files are usually located in either the home folder .local/share/applications/, or in the system folder folder /usr/share/applications.

    In the home folder locale, you can simply delete them.
    In the system folder you will need to delete them as root.
    Code:
    sudo rm blah/blah/blah.desktop
    A possible third place would be in the Desktop folder in your home folder.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  3. #3
    Join Date
    Mar 2013
    Beans
    2

    Re: Removing .desktop launchers created by gnome

    Thanks!

    Btw, do you know an easier way to create .desktop file on Ubuntu 12.10 rather than through the terminal?

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,611
    Distro
    Ubuntu

    Re: Removing .desktop launchers created by gnome

    Quote Originally Posted by ThatBenderGuy View Post
    Thanks!

    Btw, do you know an easier way to create .desktop file on Ubuntu 12.10 rather than through the terminal?

    I always just use gedit.

    It's important to note that a desktop file must have three things always:Type, Exec, and Name. Icons are optional if you like.
    After I've created it and save the file in the right spot with the .desktop extension, I either open a terminal or find the file in the file manager and set it to executable.

    Looky here for more:

    http://linuxcritic.wordpress.com/201...-desktop-file/

    And here:

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

    I think there's a create launcher app in the software centre, also.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  5. #5
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Removing .desktop launchers created by gnome

    Quote Originally Posted by deadflowr View Post
    ...
    After I've created it and save the file in the right spot with the .desktop extension, I either open a terminal or find the file in the file manager and set it to executable.
    ...
    I've made a few .desktop files and haven't yet found the need to set them as executable:
    Code:
    [06:08 AM] ~/.local/share/applications $ ll
    total 40
    drwxrwxr-x 2 vasa1 vasa1 4096 Mar  8 22:28 ./
    drwx------ 8 vasa1 vasa1 4096 Mar 14 22:48 ../
    -rw-rw-r-- 1 vasa1 vasa1   90 Feb 18 22:17 defaults.list
    -rw-rw-r-- 1 vasa1 vasa1  439 Dec 26 17:38 firefox.desktop
    -rw-r--r-- 1 vasa1 vasa1  441 Dec 26 17:43 google-chrome.desktop
    -rw-r--r-- 1 vasa1 vasa1  223 Feb 19 12:10 lxterminal.desktop
    -rw-rw-r-- 1 vasa1 vasa1 1823 Mar  5 16:27 mimeapps.list
    -rw-rw-r-- 1 vasa1 vasa1  312 Mar  8 22:21 pcmanfm.desktop
    -rw-r--r-- 1 vasa1 vasa1  447 Dec 26 17:43 Privo-chrome.desktop
    -rw-rw-r-- 1 vasa1 vasa1  483 Oct  8 22:53 seamonkey.desktop
    [06:08 AM] ~/.local/share/applications $

  6. #6
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,611
    Distro
    Ubuntu

    Re: Removing .desktop launchers created by gnome

    Quote Originally Posted by vasa1 View Post
    I've made a few .desktop files and haven't yet found the need to set them as executable:
    Try launching one in unity, or gnome.
    You'll get a pop-up window saying the launcher is untrusted, and nothing else will happen.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

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
  •