Results 1 to 6 of 6

Thread: Help me make a desktop entry

  1. #1
    Join Date
    Jun 2009
    Beans
    112

    Help me make a desktop entry

    I am trying to make a Doom3 Desktop entry for my ubuntu menu. I can load the game fine without a glitch from the terminal. I now want to make an icon under games but so far I get a little circle thats its trying to load but nothing happens. I also did chmod x doom3 command to make it executable but that did not help. This is what I have;

    Code:
    [Desktop Entry]
    Encoding=UTF-8
    Name=Doom3
    GenericName=Doom3
    Comment=FPS 
    Exec=/home/joeelmex/Games/Doom3/doom3
    StartupNotify=true
    MultipleArgs=true
    Type=Application
    Categories=Games

  2. #2
    Join Date
    Jan 2009
    Location
    Maryland, USA
    Beans
    242
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Help me make a desktop entry

    This usually works for me...

    Code:
    [Desktop Entry]
    Name = game
    Comment = Description of game
    Exec = /path/game
    Icon = game-icon.png
    Terminal = false
    Type = Application
    Categories = Application;Game;
    Maybe you need "Terminal = false"

  3. #3
    Join Date
    Jan 2009
    Beans
    305

    Re: Help me make a desktop entry

    If you look at the freedesktop specs then you will notice you need this:

    Code:
    Version=1.0
    It should go straight under: [Desktop Entry]

  4. #4
    Join Date
    Jun 2009
    Beans
    112

    Re: Help me make a desktop entry

    nisshh where can I find "freedesktop specs" ?

    Thanks

  5. #5
    Join Date
    Jul 2007
    Location
    Reykjavík, Iceland
    Beans
    1,555
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Help me make a desktop entry

    I dont know what commands you used, which would be a good thing to know while helping you.


    (for GNOME)
    Right click on Applications (on the panel) and then on Edit Menus.
    Browse to the place you want the launcher to be (most probable under Games), then click "+ New Item" and have the command exactly the same as the command you used to get it to work. That might not work though, so copy (click on it in nautilus and ctrl+c on it) the file that you are supposed to run and paste it into the command.

    Did that work? Yes? now it is popcorn time

  6. #6
    Join Date
    Jan 2009
    Location
    Maryland, USA
    Beans
    242
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Help me make a desktop entry

    Quote Originally Posted by Bölvağur View Post
    I dont know what commands you used, which would be a good thing to know while helping you.


    (for GNOME)
    Right click on Applications (on the panel) and then on Edit Menus.
    Browse to the place you want the launcher to be (most probable under Games), then click "+ New Item" and have the command exactly the same as the command you used to get it to work. That might not work though, so copy (click on it in nautilus and ctrl+c on it) the file that you are supposed to run and paste it into the command.

    Did that work? Yes? now it is popcorn time
    I guess that's probably the easier (and better) way to do this. I'll have some as well

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
  •