Re: Desktop categories

2010-01-16 Thread Hans de Goede
Hi,

On 01/16/2010 02:43 AM, Adam Williamson wrote:
 On Sat, 2010-01-16 at 02:25 +0100, Alain Portal wrote:

 mode l10n=French
 Putain ! Mais c'est pas possible !
 C'est à se cogner la tête contre les murs !!!
 Un vrai dialogue de sourds...
 /mode

 Please, is there a french speaking fedora developer to contact me
 and
 who
 could help me to tell what I want to tell.
 It is now clear to me that I'm not understood...

 Um. We understand you perfectly well.

 So, you understand french? Particulary this? ;-)

 Damnit! This is impossible! It's like banging your head against a
 wall!

 dialogue de sourds is hard to translate literally ;)

 We're just explaining that you do
 not need to add extra non-standard fields to .desktop files to make
 it
 possible to have these extra menu levels. It's entirely possible
 without
 having non-standard .desktop fields at all.

 Alors...

 Why I get no submenu in the Utility menu?

 Pourtant...

 cat /usr/share/applications/kde4/kcalc.desktop | grep Categories
 Categories=Qt;KDE;Utility;X-KDE-Utilities-Desktop;

 cat /usr/share/applications/kde4/kwrite.desktop | grep Categories
 Categories=Qt;KDE;Utility;TextEditor;

 cat /usr/share/applications/kde4/kbackup.desktop | grep Categories
 Categories=KDE;X-KDE-Utilities-File;Utility;

 Three applications, no relationship between its, but in the same (and
 only)
 menu, no submenu available...

 Because we don't set up Fedora's menu structure to have submenus, at
 present. But if we _did_, then you can see that kwrite could go into a
 'Text Editors' submenu. kcalc and kbackup could both stand to have a
 standard subcategory beyond just 'utility' added to their .desktop
 files, I guess. The point is that the existing fd.o standard categories
 already have enough granularity to allow a distro to construct submenus
 _if it chooses to_.

Exactly.

Note that we had the same issue (too many apps in one menu) with the Games
SIG and I created a special games-menus package, which when installed
adds some additional configuration files which do sub-menu the
games menu in both kde and gnome (a must have if you install lots of
games).

Alian, take a look at games-menu, and perhaps you can create the same
for the utilities menu ?

Regards,

Hans
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Desktop categories

2010-01-16 Thread Alain Portal
Le samedi 16 janvier 2010 06:41:36, Adam Williamson a écrit :
 On Sat, 2010-01-16 at 04:03 +0100, Alain Portal wrote:
   Because we don't set up Fedora's menu structure to have submenus, at
   present.
 
  These submenus existed on FC6!!!
  I can provide photographies (not screenshots) if you don't trust me!
 
  As I show you in my previous message with the cat command, these
  (sub)categories exits in each desktop file in F-12, but there isn't
  subsequent
  submenu, as there are in FC-6
 
 I never said anything different. I said 'currently'. FC6 was a long time
 ago, and the default menu layout has changed. Why is that so surprising?

What is so surprising is, after some investigation, there are the same 
/usr/share/desktop-directories/*.directory files on my FC6 and my F-12
but on my F12, there is no submenu in the Utilities menu although while there 
are on my FC-6.

Regards,
Alain
-- 
Les pages de manuel Linux en français
http://manpagesfr.free.fr


signature.asc
Description: This is a digitally signed message part.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Desktop categories

2010-01-15 Thread Alain Portal
Le lundi 11 janvier 2010 09:24:28, Andrea Musuruane a écrit :
 On Mon, Jan 11, 2010 at 2:01 AM, Alain Portal alain.por...@free.fr wrote:
  Hi,
 
  In order to improve the desktop file of a package I maintain, I should
  want to know if there is a guideline for desktop file in Fedora.
  google donẗ help me.
  And Fedora 6 (KDE related) provided more sub-menu items than F-12...
 
 There is no Fedora specific guideline, we use the standard one:
 http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-late
 st.html

I'm sorry, I forgot to answer this :-(
And I see that perhaps, I wasn't very clear in my question. 
I'm talking about the Categories entry.

I could see in some desktop files provided by applications that some 
distributions (Mandriva, Suse) have their own categories, and KDE too.
Examples:

- X-MandrivaLinux-System-Archiving-Backup
- X-SuSE-Backup
- X-KDE-Utilities-File

Of course, I removed the others distributions relative one, but where to find a 
list of KDE specific categories?
Are there Fedora specific categories?

Regards,
Alain
-- 
Les pages de manuel Linux en français
http://manpagesfr.free.fr


signature.asc
Description: This is a digitally signed message part.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Desktop categories

2010-01-15 Thread Andrea Musuruane
On Fri, Jan 15, 2010 at 8:42 PM, Alain Portal alain.por...@free.fr wrote:
 I'm sorry, I forgot to answer this :-(
 And I see that perhaps, I wasn't very clear in my question.
 I'm talking about the Categories entry.

 I could see in some desktop files provided by applications that some
 distributions (Mandriva, Suse) have their own categories, and KDE too.
 Examples:

 - X-MandrivaLinux-System-Archiving-Backup
 - X-SuSE-Backup
 - X-KDE-Utilities-File

 Of course, I removed the others distributions relative one, but where to find 
 a
 list of KDE specific categories?
 Are there Fedora specific categories?

For most, we use standard Freedesktop categories. A list is here:
http://standards.freedesktop.org/menu-spec/latest/apa.html

I think that the only exception (and it is really an add-on) it is this one:
https://fedoraproject.org/wiki/Features/FedoraStudio

Bye,

Andrea.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: Desktop categories

2010-01-15 Thread Adam Williamson
On Fri, 2010-01-15 at 23:04 +0100, Alain Portal wrote:

 A good initiative, but seems to be stillborn (stillbirth? In french :
 « mort-
 né ») as it seems to be optionnal.
 
 What I wanted to point is, as an example, my Utility menu is really
 too full!
 There are 29 applications entries in it, this is unreadable.
 
 On FC6, my Utility menu have 7 submenus:
 - Accessibility
 - Office
 - Text editors
 - Files
 - Devices
 - PIM
 - Others
 
 It was really more convenient...

There's no need to break the upstream spec for this. It already allows
you to specify the type of app at a pretty fine level (there's
categories for text editors and so on). Exactly how to construct the
final system menus *from* the categories defined in the .desktop file is
left up to the DE / distro to decide, so Fedora could choose to have
more levels in its menus if we wanted to.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Desktop categories

2010-01-15 Thread Alain Portal
Le vendredi 15 janvier 2010 23:42:41, Adam Williamson a écrit :
 On Fri, 2010-01-15 at 23:04 +0100, Alain Portal wrote:
  A good initiative, but seems to be stillborn (stillbirth? In french :
  « mort-
  né ») as it seems to be optionnal.
 
  What I wanted to point is, as an example, my Utility menu is really
  too full!
  There are 29 applications entries in it, this is unreadable.
 
  On FC6, my Utility menu have 7 submenus:
  - Accessibility
  - Office
  - Text editors
  - Files
  - Devices
  - PIM
  - Others
 
  It was really more convenient...
 
 There's no need to break the upstream spec for this. It already allows
 you to specify the type of app at a pretty fine level (there's
 categories for text editors and so on). Exactly how to construct the
 final system menus *from* the categories defined in the .desktop file is
 left up to the DE / distro to decide, so Fedora could choose to have
 more levels in its menus if we wanted to.

mode l10n=French
Putain ! Mais c'est pas possible !
C'est à se cogner la tête contre les murs !!!
Un vrai dialogue de sourds...
/mode

Please, is there a french speaking fedora developer to contact me and who 
could help me to tell what I want to tell.
It is now clear to me that I'm not understood...

Regards,
Alain
-- 
Les pages de manuel Linux en français
http://manpagesfr.free.fr


signature.asc
Description: This is a digitally signed message part.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Desktop categories

2010-01-15 Thread Adam Williamson
On Sat, 2010-01-16 at 02:25 +0100, Alain Portal wrote:

   mode l10n=French
   Putain ! Mais c'est pas possible !
   C'est à se cogner la tête contre les murs !!!
   Un vrai dialogue de sourds...
   /mode
  
   Please, is there a french speaking fedora developer to contact me
 and
   who
   could help me to tell what I want to tell.
   It is now clear to me that I'm not understood...
  
  Um. We understand you perfectly well.
 
 So, you understand french? Particulary this? ;-)

Damnit! This is impossible! It's like banging your head against a
wall!

dialogue de sourds is hard to translate literally ;)

  We're just explaining that you do
  not need to add extra non-standard fields to .desktop files to make
 it
  possible to have these extra menu levels. It's entirely possible
 without
  having non-standard .desktop fields at all.
 
 Alors...
 
 Why I get no submenu in the Utility menu?
 
 Pourtant...
 
 cat /usr/share/applications/kde4/kcalc.desktop | grep Categories
 Categories=Qt;KDE;Utility;X-KDE-Utilities-Desktop;
 
 cat /usr/share/applications/kde4/kwrite.desktop | grep Categories
 Categories=Qt;KDE;Utility;TextEditor;
 
 cat /usr/share/applications/kde4/kbackup.desktop | grep Categories
 Categories=KDE;X-KDE-Utilities-File;Utility;
 
 Three applications, no relationship between its, but in the same (and
 only) 
 menu, no submenu available...

Because we don't set up Fedora's menu structure to have submenus, at
present. But if we _did_, then you can see that kwrite could go into a
'Text Editors' submenu. kcalc and kbackup could both stand to have a
standard subcategory beyond just 'utility' added to their .desktop
files, I guess. The point is that the existing fd.o standard categories
already have enough granularity to allow a distro to construct submenus
_if it chooses to_.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Desktop categories

2010-01-15 Thread Adam Williamson
On Sat, 2010-01-16 at 04:03 +0100, Alain Portal wrote:

  Because we don't set up Fedora's menu structure to have submenus, at
  present.
 
 These submenus existed on FC6!!!
 I can provide photographies (not screenshots) if you don't trust me!

 As I show you in my previous message with the cat command, these 
 (sub)categories exits in each desktop file in F-12, but there isn't
 subsequent 
 submenu, as there are in FC-6

I never said anything different. I said 'currently'. FC6 was a long time
ago, and the default menu layout has changed. Why is that so surprising?
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: Desktop categories

2010-01-15 Thread charles zeitler
Do what thou wilt
shall  be the whole  of the Law.


On Fri, Jan 15, 2010 at 9:03 PM, Alain Portal alain.por...@free.fr wrote:
 Le samedi 16 janvier 2010 02:43:13, Adam Williamson a écrit :
 On Sat, 2010-01-16 at 02:25 +0100, Alain Portal wrote:
mode l10n=French
Putain ! Mais c'est pas possible !
C'est à se cogner la tête contre les murs !!!
Un vrai dialogue de sourds...
/mode.
 
  Alors...
 
  Why I get no submenu in the Utility menu?
 
  Pourtant...
 
  cat /usr/share/applications/kde4/kcalc.desktop | grep Categories
  Categories=Qt;KDE;Utility;X-KDE-Utilities-Desktop;
 
  cat /usr/share/applications/kde4/kwrite.desktop | grep Categories
  Categories=Qt;KDE;Utility;TextEditor;
 
  cat /usr/share/applications/kde4/kbackup.desktop | grep Categories
  Categories=KDE;X-KDE-Utilities-File;Utility;
 
  Three applications, no relationship between its, but in the same (and
  only)
  menu, no submenu available...

 Because we don't set up Fedora's menu structure to have submenus, at
 present.

 These submenus existed on FC6!!!
 I can provide photographies (not screenshots) if you don't trust me!

 But if we _did_, then you can see that kwrite could go into a
 'Text Editors' submenu.

 Utilities-TextEditor

 kcalc

 Utilities-Office

 and kbackup

 Utilities-Files

 could both stand to have a
 standard subcategory beyond just 'utility' added to their .desktop
 files, I guess. The point is that the existing fd.o standard categories
 already have enough granularity to allow a distro to construct submenus
 _if it chooses to_.

 As I show you in my previous message with the cat command, these
 (sub)categories exits in each desktop file in F-12, but there isn't subsequent
 submenu, as there are in FC-6


 --
 Les pages de manuel Linux en français
 http://manpagesfr.free.fr

 --
 devel mailing list
 devel@lists.fedoraproject.org
 https://admin.fedoraproject.org/mailman/listinfo/devel


excuse me, are you using gnome? does not gnome
provide a menu editor?

-- 


Love is the law, love under will.

charles zeitler
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel