The time now is Mon 20 May 2013, 04:37
All times are UTC - 4 |
| Author |
Message |
Jejy69

Joined: 20 Jan 2011 Posts: 656 Location: Perpignan, Lego man, The Last Crusade...
|
Posted: Wed 31 Oct 2012, 16:49 Post subject:
.desktop file bug. Subject description: Change category... |
|
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: |
[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 !
I go in /usr/share/application, open the same .desktop file and I have :
| Code: |
[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 !
|
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 2199 Location: Gatineau (Qc), Canada
|
Posted: Thu 01 Nov 2012, 12:13 Post subject:
|
|
Allô !
La catégorie "X-SetupEntry" n'existe pas dans les normes...
http://standards.freedesktop.org/menu-spec/latest/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+
_________________
"...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
|
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 1217 Location: wales
|
Posted: Fri 09 Nov 2012, 06:25 Post subject:
|
|
there's a bug in precise puppy (and maybe woof) being looked into http://bkhome.org/blog2/?viewDetailed=00021
_________________ Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
|
|
Back to top
|
|
 |
Jejy69

Joined: 20 Jan 2011 Posts: 656 Location: Perpignan, Lego man, The Last Crusade...
|
Posted: Fri 09 Nov 2012, 09:45 Post subject:
|
|
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 !
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|