Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Sep 2014, 15:54
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
.desktop file bug.
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
Jejy69


Joined: 20 Jan 2011
Posts: 707
Location: Perpignan

PostPosted: 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 ! Shocked

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
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4231
Location: Gatineau (Qc), Canada

PostPosted: 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+

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
666philb


Joined: 07 Feb 2010
Posts: 1663
Location: wales

PostPosted: 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
View user's profile Send private message 
Jejy69


Joined: 20 Jan 2011
Posts: 707
Location: Perpignan

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

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
[ Time: 0.0467s ][ Queries: 12 (0.0037s) ][ GZIP on ]