Guys,
The following applications need to find homes in the menu. I have give proposed "move to" locations below. This shouldn't be confused with Kate's effort to revise the default entries. This is just to put the existing apps with no default kmenu location -- somewhere:
Graphics \ More Applications \ kruler (move to Graphics)
System \ More Applications \ File Manager - Super User Mode (move to System or System/Super-User) Terminal Program - Super User Mode (move to the same place)
Utilities \ More Applications \ KFontView - Font Viewer (move to Graphics)
Just fixing these 4 default entries will get rid of the 'More Applications' menu entries for these apps and give them a proper home in the menu.
If somebody will point me to the right file where this takes place, I'll work on a patch. I suspect that the entry is specified somewhere in the individual app build directory. I'll look at kruler and see if I can find it. If you already know where the menu entries are set by default, please let me know. Thanks.
On 03/06/2011 11:55 AM, David C. Rankin wrote:
Guys,
The following applications need to find homes in the menu. I have give proposed "move to" locations below. This shouldn't be confused with Kate's effort to revise the default entries. This is just to put the existing apps with no default kmenu location -- somewhere:
Graphics \ More Applications \ kruler (move to Graphics)
System \ More Applications \ File Manager - Super User Mode (move to System or System/Super-User) Terminal Program - Super User Mode (move to the same place)
Utilities \ More Applications \ KFontView - Font Viewer (move to Graphics)
Just fixing these 4 default entries will get rid of the 'More Applications' menu entries for these apps and give them a proper home in the menu.
If somebody will point me to the right file where this takes place, I'll work on a patch. I suspect that the entry is specified somewhere in the individual app build directory. I'll look at kruler and see if I can find it. If you already know where the menu entries are set by default, please let me know. Thanks.
Also, after the kdepim install, here a few more to add:
Internet \ More Applications \ Korn - Mail Alert (move to Internet)
Office \ More Applications \ Korn - Mail Alert (delete from office - all inet apps should go in internet)
On Monday 07 March 2011 07:24:09 David C. Rankin wrote:
Internet \ More Applications \ Korn - Mail Alert (move to Internet)
Office \ More Applications \ Korn - Mail Alert (delete from office - all inet apps should go in internet)
There is no need to add "more applications" entries to the menus. Basically any app that has no properly set up categories automatically shown under "more applications". To fix it one only have to add proper categories to the applications in question.
We in OpenSUSE have all these applications properly placed:
korn - under "desktop applets" in "system"
kruler - under "desktop" in "utilities"
kfontviw - under "viewer" in "graphics"
Even more, OpenSUSE Build Service checks if the categories specified properly and if not the build fails.
On 03/07/2011 04:11 AM, Ilya Chernykh wrote:
There is no need to add "more applications" entries to the menus. Basically any app that has no properly set up categories automatically shown under "more applications". To fix it one only have to add proper categories to the applications in question.
We in OpenSUSE have all these applications properly placed:
korn - under "desktop applets" in "system"
kruler - under "desktop" in "utilities"
kfontviw - under "viewer" in "graphics"
Even more, OpenSUSE Build Service checks if the categories specified properly and if not the build fails.
Sorry Ilya, I wasn't clear
I'm saying Trinity needs to find a home for these apps because they do NOT have a home already and then end up under "More Applications" by default. That looks sloppy. I want to put them somewhere in the menu so we eliminate the "More Applications" folders :)
On Tuesday 08 March 2011 03:31:17 David C. Rankin wrote:
I'm saying Trinity needs to find a home for these apps because they do NOT have a home already and then end up under "More Applications" by default. That looks sloppy. I want to put them somewhere in the menu so we eliminate the "More Applications" folders :)
This can be fixed by changing the .desktop files.
On 03/07/2011 06:42 PM, Ilya Chernykh wrote:
On Tuesday 08 March 2011 03:31:17 David C. Rankin wrote:
I'm saying Trinity needs to find a home for these apps because they do NOT have a home already and then end up under "More Applications" by default. That looks sloppy. I want to put them somewhere in the menu so we eliminate the "More Applications" folders :)
This can be fixed by changing the .desktop files.
Thanks Ilya, I'll go look and see if I can send in some patches :)
On Tuesday 08 March 2011 05:27:11 David C. Rankin wrote:
I'm saying Trinity needs to find a home for these apps because they do NOT have a home already and then end up under "More Applications" by default. That looks sloppy. I want to put them somewhere in the menu so we eliminate the "More Applications" folders :)
This can be fixed by changing the .desktop files.
Thanks Ilya, I'll go look and see if I can send in some patches :)
The .desktop file categories are standardised by freedesktop.org. Here is a table: http://standards.freedesktop.org/menu-spec/latest/apa.html
On 03/07/2011 06:42 PM, Ilya Chernykh wrote:
On Tuesday 08 March 2011 03:31:17 David C. Rankin wrote:
I'm saying Trinity needs to find a home for these apps because they do NOT have a home already and then end up under "More Applications" by default. That looks sloppy. I want to put them somewhere in the menu so we eliminate the "More Applications" folders :)
This can be fixed by changing the .desktop files.
Ilya
I'm still a bit confused?
In KOrn, I find:
[Desktop Entry] <snip> X-DCOP-ServiceType=Unique Categories=Qt;KDE;Network;X-KDE-More;Office;Email;
What would I change? 'Categories='? How do I know what category I need to specify to put this app in kmenu->Internet->Mail? (or just kmenu->Interent)
Is there a legend somewhere that tells me what category goes where?
On Mon, Mar 7, 2011 at 21:54, David C. Rankin drankinatty@suddenlinkmail.com wrote:
On 03/07/2011 06:42 PM, Ilya Chernykh wrote:
On Tuesday 08 March 2011 03:31:17 David C. Rankin wrote:
I'm saying Trinity needs to find a home for these apps because they do NOT have a home already and then end up under "More Applications" by default. That looks sloppy. I want to put them somewhere in the menu so we eliminate the "More Applications" folders :)
This can be fixed by changing the .desktop files.
Ilya
I'm still a bit confused?
In KOrn, I find:
[Desktop Entry] <snip> X-DCOP-ServiceType=Unique Categories=Qt;KDE;Network;X-KDE-More;Office;Email;
What would I change? 'Categories='? How do I know what category I need to specify to put this app in kmenu->Internet->Mail? (or just kmenu->Interent)
Is there a legend somewhere that tells me what category goes where?
check /etc/xdg/menus or wherever the trinity xdg menus are - that's your key X-KDE-More might be your target, btw
On Tuesday 08 March 2011 05:54:37 David C. Rankin wrote:
[Desktop Entry]
<snip> X-DCOP-ServiceType=Unique Categories=Qt;KDE;Network;X-KDE-More;Office;Email;
What would I change? 'Categories='? How do I know what category I need to specify to put this app in kmenu->Internet->Mail? (or just kmenu->Interent)
Is there a legend somewhere that tells me what category goes where?
In this case I think you should just remove X-KDE-More.
For the complete list refer this table: http://standards.freedesktop.org/menu-spec/latest/apa.html
On 03/08/2011 04:02 AM, Ilya Chernykh wrote:
On Tuesday 08 March 2011 05:54:37 David C. Rankin wrote:
[Desktop Entry]
<snip> X-DCOP-ServiceType=Unique Categories=Qt;KDE;Network;X-KDE-More;Office;Email;
What would I change? 'Categories='? How do I know what category I need to specify to put this app in kmenu->Internet->Mail? (or just kmenu->Interent)
Is there a legend somewhere that tells me what category goes where?
In this case I think you should just remove X-KDE-More.
For the complete list refer this table: http://standards.freedesktop.org/menu-spec/latest/apa.html
Thank you Ilya,
That is exactly what I needed. I was looking all over techbase, but couldn't find more than a few references to kmenu location and categories. This is it :)
On 03/08/2011 04:02 AM, Ilya Chernykh wrote:
On Tuesday 08 March 2011 05:54:37 David C. Rankin wrote:
[Desktop Entry]
<snip> X-DCOP-ServiceType=Unique Categories=Qt;KDE;Network;X-KDE-More;Office;Email;
What would I change? 'Categories='? How do I know what category I need to specify to put this app in kmenu->Internet->Mail? (or just kmenu->Interent)
Is there a legend somewhere that tells me what category goes where?
In this case I think you should just remove X-KDE-More.
Ah, hah!
For Trinity, it looks like the main applications.menu file defining categories is: /opt/trinity/etc/xdg/menus/applications.menu. Current names are:
<Name>Applications</Name> <Name>Applications</Name> <Name>Development</Name> <Name>X-KDE-KDevelopIDE</Name> <Name>Translation</Name> <Name>Web Development</Name> <Name>Science</Name> <Name>Edutainment</Name> <Name>Languages</Name> <Name>Mathematics</Name> <Name>Miscellaneous</Name> <Name>Science</Name> <Name>Tools</Name> <Name>Games</Name> <Name>Arcade</Name> <Name>Board</Name> <Name>Card</Name> <Name>Kidsgames</Name> <Name>TacticStrategy</Name> <Name>Toys</Name> <Name>Graphics</Name> <Name>More</Name> <Name>Internet</Name> <Name>Terminal</Name> <Name>More</Name> <Name>Multimedia</Name> <Name>More</Name> <Name>Office</Name> <Name>More</Name> <Name>Settingsmenu</Name> <Name>System</Name> <Name>More</Name> <Name>ScreenSavers</Name> <Name>Terminal</Name> <Name>Utilities</Name> <Name>XUtilities</Name> <Name>More</Name> <Name>Debian</Name>
While I'm looking at this - do we want to go ahead a add/cleanup a few things in the basic application.menu in kdelibs? Like adding submenus for kruler, etc. in Graphics/Tools or Graphics/Utilities to make a place to put the small graphic utilities like kruler, kcolorchooser, kiconedit, etc.. so they don't clutter the main 'Graphics' menu?
Looking at the menu specification and all the xzy apps under Utilities, it means all the current XUtilities in kmenu->Utilities are misplaced (xfw, xfi, xfp, xfm, etc.. should all be in XUtilites not Utilities) Do we want to fix this too?
I have the first patch done for kruler.desktop. (Attached) Hold off applying it until we get a decision on creating Graphics/Tools or Graphics/Utilities (I prefer Graphics/Utilities) before applying. I'll change it again if we want it in a submenu.
Links for kmenu and desktop file reference:
http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.h...
On Tue, Mar 8, 2011 at 13:12, David C. Rankin drankinatty@suddenlinkmail.com wrote:
For Trinity, it looks like the main applications.menu file defining categories is: /opt/trinity/etc/xdg/menus/applications.menu. Current names are:
Yikes... shouldn't we move this to /etc/xdg/menus/trinity? Not the best idea to keep system config files in /opt/trinity/etc
On 03/08/2011 12:27 PM, Robert Xu wrote:
On Tue, Mar 8, 2011 at 13:12, David C. Rankin drankinatty@suddenlinkmail.com wrote:
For Trinity, it looks like the main applications.menu file defining categories is: /opt/trinity/etc/xdg/menus/applications.menu. Current names are:
Yikes... shouldn't we move this to /etc/xdg/menus/trinity? Not the best idea to keep system config files in /opt/trinity/etc
Dunno,
It took me a few extra minutes to find the darn thing :) That may not be entirely a bad thing. The questions I have are:
(1) Will desktop menus still integrate (gnome/kde/etc) if say gnome's menu spec is in /etc/xdg/menus and trinity's is in /opt/trinity/etc/xdg/menus?
(2) If Trinity can find its menus in /opt/trinity/etc/xdg/menus, then is there any harm leaving it there to keep changes in gnome from mucking up the trinity menu?
What say the experts?
On Tue, Mar 8, 2011 at 13:48, David C. Rankin drankinatty@suddenlinkmail.com wrote:
Dunno,
It took me a few extra minutes to find the darn thing :) That may not be entirely a bad thing. The questions I have are:
I did suggest /etc/xdg/menus :P
(1) Will desktop menus still integrate (gnome/kde/etc) if say gnome's menu spec is in /etc/xdg/menus and trinity's is in /opt/trinity/etc/xdg/menus?
Well, they're DE-specific. None of these will integrate with each other. Each DE parses the desktop file differently.
(2) If Trinity can find its menus in /opt/trinity/etc/xdg/menus, then is there any harm leaving it there to keep changes in gnome from mucking up the trinity menu?
No. But GNOME won't muck up the trinity menu... David, each category in each *.desktop file defines where it will be placed. The Trinity applications.menu doesn't care about GNOME has, and vice versa.
On 03/08/2011 12:52 PM, Robert Xu wrote:
Well, they're DE-specific. None of these will integrate with each other. Each DE parses the desktop file differently.
(2) If Trinity can find its menus in /opt/trinity/etc/xdg/menus, then is there any harm leaving it there to keep changes in gnome from mucking up the trinity menu?
No. But GNOME won't muck up the trinity menu... David, each category in each *.desktop file defines where it will be placed. The Trinity applications.menu doesn't care about GNOME has, and vice versa.
In theory, yes,
But my concern (Well I don't know the technical reason), anyway, I can't tell you the number of times on both Arch Linux and openSuSE I have edited my menus in Gnome only to go back into kde3 and find new entries in my kde3 menu that I just made in Gnome. That's frustrating.
I know all desktops share the standard menu definition and the gnome entries are 'usually' "hidden" in kde and vice-versa. I don't want that to happen in Trinity. That's why I asked about leaving them in /opt/trinity. But, I don't think that has any bearing on the issue since $XDG_CONFIG_DIRS has both /etc/xgd and /opt/trinity/etc/xdg in the path :)
Who will update kdelibs in the svn tree to set the location to /etc/xdg?
And back to my original question -
"Do we want to update the applications.menu specification to add Graphics/Utilities to put kruler, kcolorchooser, etc.. in the Graphics/Utilities submenu instead of letting them clutter up Graphics?"
Might as well "kill 2 birds with one stone" while were are working in the area :)
On Tue, Mar 8, 2011 at 14:52, David C. Rankin drankinatty@suddenlinkmail.com wrote:
On 03/08/2011 12:52 PM, Robert Xu wrote:
Well, they're DE-specific. None of these will integrate with each other. Each DE parses the desktop file differently.
(2) If Trinity can find its menus in /opt/trinity/etc/xdg/menus, then is there any harm leaving it there to keep changes in gnome from mucking up the trinity menu?
No. But GNOME won't muck up the trinity menu... David, each category in each *.desktop file defines where it will be placed. The Trinity applications.menu doesn't care about GNOME has, and vice versa.
In theory, yes,
But my concern (Well I don't know the technical reason), anyway, I can't tell you the number of times on both Arch Linux and openSuSE I have edited my menus in Gnome only to go back into kde3 and find new entries in my kde3 menu that I just made in Gnome. That's frustrating.
Those are user changes stored in your home directory. Nothing you can do about that. D:
On Tuesday 08 March 2011 21:27:35 Robert Xu wrote:
On Tue, Mar 8, 2011 at 13:12, David C. Rankin
drankinatty@suddenlinkmail.com wrote:
For Trinity, it looks like the main applications.menu file defining categories is: /opt/trinity/etc/xdg/menus/applications.menu. Current names are:
Yikes... shouldn't we move this to /etc/xdg/menus/trinity? Not the best idea to keep system config files in /opt/trinity/etc
We on KDE3.5.10 have neither /opt/kde3/etc directory, nor /etc/xdg/kde3.
On Wed, Mar 9, 2011 at 06:44, Ilya Chernykh neptunia@mail.ru wrote:
On Tuesday 08 March 2011 21:27:35 Robert Xu wrote:
On Tue, Mar 8, 2011 at 13:12, David C. Rankin
drankinatty@suddenlinkmail.com wrote:
For Trinity, it looks like the main applications.menu file defining categories is: /opt/trinity/etc/xdg/menus/applications.menu. Current names are:
Yikes... shouldn't we move this to /etc/xdg/menus/trinity? Not the best idea to keep system config files in /opt/trinity/etc
We on KDE3.5.10 have neither /opt/kde3/etc directory, nor /etc/xdg/kde3.
You use SuSE menus, right? I'm sure KDE was patched to use them... (oh joy, that just pushes the fact that I have to split all my specs again...)