You are not logged in.

#1 2007-10-23 16:41:08

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

trouble with desktop file on gnome menu

Hello, anyone who can point the errors in this desktop file? it won't appear in  my menu(gnome).

[roberth@Magda ~]$ cat /usr/share/applications/quake4.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.4.2
Name=Quake 4
Comment=First Person Shooter
Exec=/usr/bin/quake4
Icon=/home/roberth/39315-q4icon.svg
Terminal=false
Type=Application
Categories=Application;Games

Use the Source, Luke!

Offline

#2 2007-10-23 17:45:45

Phrodo_00
Member
From: Seattle, WA
Registered: 2006-04-09
Posts: 342
Website

Re: trouble with desktop file on gnome menu

you are missing

Categories=Game;

EDIT: Nevermind, I just didn't see it in what you posted.

Last edited by Phrodo_00 (2007-10-23 17:46:24)

Offline

#3 2007-10-23 18:38:01

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: trouble with desktop file on gnome menu

Change

Categories=Application;Games

to

Categories=Application;Game;

And it works.


Use the Source, Luke!

Offline

#4 2007-10-23 23:54:08

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: trouble with desktop file on gnome menu

I am pretty sure Version is supposed to be the .desktop version the entry follows.  Run desktop-file-validate (in desktop-file-utils pkg) to validate your file.

Offline

Board footer

Powered by FluxBB