.desktop file bug.

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
Jejy69
Posts: 710
Joined: Thu 20 Jan 2011, 18:10
Location: Perpignan

.desktop file bug.

#1 Post by Jejy69 »

Hello !

I want to build a packages, all is correct except one thing.
All applications of my pet package go to the "Utlity" submenu...

In /pkg-example/usr/share/application directory I have for example :

Code: Select all

[Desktop Entry]
Name=Settings Editor
Exec=xfce4-settings-editor
Icon=preferences-system.png
Terminal=false
Type=Application
Categories=X-SetupEntry
OnlyShowIn=XFCE;
X-XfceSettingsManagerHidden=true
So I create a package with dir2pet, I install it, and this file change from Setup category to Utility automatically ! :shock:

I go in /usr/share/application, open the same .desktop file and I have :

Code: Select all

[Desktop Entry]
Name=Settings Editor
Exec=xfce4-settings-editor
Icon=preferences-system.png
Terminal=false
Type=Application
Categories=Utility
OnlyShowIn=XFCE;
X-XfceSettingsManagerHidden=true
So why change of category ? Changes seems to occur during installation...
It affects all .desktop of the package.

Do you have an idea please ?

Thanks !

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

Allô !

La catégorie "X-SetupEntry" n'existe pas dans les normes...
http://standards.freedesktop.org/menu-s ... t/apa.html
ni dans les sous-catégories. Mais la catégorie "Utility" existe.

As-tu ouvert le script dir2pet pour voir s'il avait un "aplanisseur" de catégories?

Par ailleurs, il me semble avoir lu dans la doc de Puppy que toutes les catégories "X-quelque-chose" étaient propres à Puppy.

Aussi, quand tu utilises dir2pet, à la toute fin apparaît comme un sommaire.

2e ou 3e entrée à droite, si je me rappelle bien, il faut que tu spécifies dans un menu déroulant à quelle catégorie l'application appartient. Sinon, tu as la catégorie par défaut.

A+
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#3 Post by 666philb »

there's a bug in precise puppy (and maybe woof) being looked into http://bkhome.org/blog2/?viewDetailed=00021
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
Jejy69
Posts: 710
Joined: Thu 20 Jan 2011, 18:10
Location: Perpignan

#4 Post by Jejy69 »

Bonjour,

Merci Musher0 mais il semblerait que dir2pet ait un dysfonctionnement.

666philb, That is right! Ok, it's a woof bug. I will learn the answer to this concern.

Thanks you !

Post Reply