Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation gmenu doesn't show xfce entries
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] gmenu doesn't show xfce entries
V10lator Deutsch 17 matttbe [Read]
18 November 2012 à 11:00

V10lator, Saturday 27 October 2012 à 22:25


Subscription date : 21 October 2012
Messages : 39
    • The version of Cairo-Dock ('cairo-dock -v' in a terminal): 3.1.0
    • Your GNU/Linux distribution (Debian, Ubuntu, Fedora, etc.): Gentoo
    • Or you using OpenGL or not: With OpenGL
    • Your Window manager (Compiz, Metacity, Kwin, Openbox, etc.): Compiz
    • Your Desktop Environment (Gnome, KDE, XFCE, etc.): XFCE
    • How you got the bug and therefore the answer to the question 'How can the bug be reproduced': Install and use the menu.
    • If it's a crash, you can launch Cairo-Dock from a terminal ('cairo-dock') and post the output: No crash.
    • Any other details you think could be useful :

This seems to infect .desktop files which have OnlyShowIn=XFCE inside, like this:
[Desktop Entry]
Version=1.0
Name=Display
Name[de]=Anzeige
Comment=Configure screen settings and layout
Comment[de]=Stellen Sie Ihre Bildschirme und deren Anordnung ein
Exec=xfce4-display-settings
Icon=video-display
Terminal=false
Type=Application
Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-HardwareSettings;
StartupNotify=true
OnlyShowIn=XFCE;
X-XfcePluggable=true
X-XfceHelpPage=display


//EDIT: This may have something todo with the plugin picking gnome-applications.menu instead of xfce-applications.menu - I'm actually compiling it with a patch so we will see...

//EDIT²: No, still not visible (also the menu seems to parse the file wrong, it looks differently than the original xfce menu. Two Settings submenus, for example).

//EDIT³: It seems to cmpletely ignore the Layout section it the menu file, that's why it looks that different. But still no idea why it ignores xfce menu entries.

fabounet, Sunday 28 October 2012 à 02:12


Subscription date : 30 November 2007
Messages : 17118
Hi,
that's true, it will look for a file named "applications.menu" first, then fallback on other names.
The rest of the work is made by libgnome-menu.

could you please post here a picture of the 2 menus you get ? and the content of the "*applications.menu" files (the ones in /etc/xdg/menus and in /home/fab/.config/menus) ?

V10lator, Sunday 28 October 2012 à 12:37


Subscription date : 21 October 2012
Messages : 39
fabounet :
Hi,
that's true, it will look for a file named "applications.menu" first, then fallback on other names.

That's why I patched it: http://pastie.org/5127000
could you please post here a picture of the 2 menus you get ? and the content of the "*applications.menu" files (the ones in /etc/xdg/menus and in /home/fab/.config/menus) ?

With the patch:
http://img547.imageshack.us/img547/554/gmenuxfce.png
And the original xfce-menu (so how it should look like):
http://img28.imageshack.us/img28/493/xfcemenu.png
And, as a reference, gmenu without the patch:
http://img11.imageshack.us/img11/6571/gmenunopatch.png
# ls /etc/xdg/menus
gnome-applications.menu xfce-applications.menu
settings.menu xfce-settings-manager.menu

Content of /etc/xdg/menus/xfce-applications.menu: http://pastie.org/5127048
Content of /etc/xdg/menus/gnome-applications.menu: http://pastie.org/5127054
# ls ~/.config/menus
applications-merged
# ls ~/.config/menus/applications-merged
user-50AA2D10-1246-0688-7602-962267F47212-RegnumOnline.menu
wine-Programme-Bethesda Softworks-Fallout 3-Fallout 3 deinstallieren.menu
wine-Programme-Bethesda Softworks-Fallout 3-Fallout 3 registrieren.menu
wine-Programme-Bethesda Softworks-Fallout 3-Fallout 3.menu
wine-Programme-Bethesda Softworks-Fallout 3-Offizielle Fallout-Website.menu
wine-Programme-Bethesda Softworks-Fallout 3-Readme.txt.menu
wine-Programme-EA Download Manager.menu
wine-Programme-Electronic Arts-Die Sims™ 3-Die Sims™ 3 deinstallieren.menu
wine-Programme-Electronic Arts-Die Sims™ 3-Die Sims™ 3.menu
wine-Programme-Electronic Arts-Die Sims™ 3-Endbenutzer-Lizenzvertrag.menu
wine-Programme-Electronic Arts-Die Sims™ 3-Readme.menu
wine-Programme-Electronic Arts-Die Sims™ 3-Technischer Kundendienst.menu
wine-Programme-GtkRadiant 1.5.0-GtkRadiant.menu
wine-Programme-GtkRadiant 1.5.0-Radiant Manual.menu
wine-Programme-MP3Test-MP3Test.menu
wine-Programme-MP3Test-Uninstall.menu
wine-Programme-Maxis-SimCity 3000-Bitte setzen Sie sich mit dem Kundenservice in Verbindung.menu
wine-Programme-Maxis-SimCity 3000-SimCity 3000 deinstallieren.menu
wine-Programme-Maxis-SimCity 3000-SimCity 3000.menu
wine-Programme-Maxis-SimCity 4 Deluxe-Check For Update.menu
wine-Programme-Maxis-SimCity 4 Deluxe-EASy Info.menu
wine-Programme-Maxis-SimCity 4 Deluxe-Electronic Registration.menu
wine-Programme-Maxis-SimCity 4 Deluxe-Read Me.menu
wine-Programme-Maxis-SimCity 4 Deluxe-SimCity 4 Deluxe.menu
wine-Programme-Maxis-SimCity 4 Deluxe-SimCity.com.menu
wine-Programme-Maxis-SimCity 4 Deluxe-Technical Support.menu
wine-Programme-Maxis-SimCity 4 Deluxe-Uninstall SimCity 4 Deluxe.menu
wine-Programme-Microsoft Games for Windows - LIVE-Games for Windows - LIVE.menu
wine-Programme-PSP Pandora Deluxe-Installer Documents-Despertar Cementerio v3 Readme.menu
wine-Programme-PSP Pandora Deluxe-Installer Documents-Despertar Cementerio v4 Readme.menu
wine-Programme-PSP Pandora Deluxe-Installer Documents-Despertar Cementerio v5 Readme.menu
wine-Programme-PSP Pandora Deluxe-Installer Documents-Despertar Cementerio v7 Readme.menu
wine-Programme-PSP Pandora Deluxe-Installer Documents-Despertar Cementerio v8 Readme.menu
wine-Programme-PSP Pandora Deluxe-Installer Documents-Pandora 1.50 Downgrader Readme.menu
wine-Programme-PSP Pandora Deluxe-Installer Documents-Pandora ELF+PBP Menu.menu
wine-Programme-PSP Pandora Deluxe-Installer Documents-Pandora Installer Changelog.menu
wine-Programme-PSP Pandora Deluxe-Installer Documents-Pandora Installer QuickStart.menu
wine-Programme-PSP Pandora Deluxe-Installer Documents-Pandora Installer Readme.menu
wine-Programme-PSP Pandora Deluxe-Installer Documents-Time Machine Config Readme.menu
wine-Programme-PSP Pandora Deluxe-Installer Documents-Time Machine Readme.menu
wine-Programme-PSP Pandora Deluxe-PSP Pandora Deluxe Manual.menu
wine-Programme-PSP Pandora Deluxe-PSP Pandora Deluxe Readme.menu
wine-Programme-PSP Pandora Deluxe-PSP Pandora Deluxe.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-Alternative VSHMenu Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-CPU-Modulator Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-CW Cheat Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-CXMB Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-Config Cleaner Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-Custom Firmware Extender Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-FuSa screenShoot Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-Hold+ Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-JoySens FAQ.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-JoySens Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-KeyCleaner Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-MemoryStick-Tool Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-NetConfBackup Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-POPSLoader Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-PSP Filer Changes.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-PSP Filer Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-PSP Filer Warning.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-Recovery Flasher Pandora Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-Recovery Flasher Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-UMDrip Readme.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-nandTool Changelog.menu
wine-Programme-PSP Pandora Deluxe-Support Tools Documents-nandTool Readme.menu
wine-Programme-PSP Pandora Deluxe-Uninstall PSP Pandora Deluxe.menu
wine-Programme-Steam-Steam Support Center.menu
wine-Programme-Steam-Steam.menu
wine-Programme-Ubisoft-ANNO 1404 - Venedig-ANNO 1404 - Venedig deinstallieren.menu
wine-Programme-Ubisoft-ANNO 1404 - Venedig-ANNO 1404 - Venedig spielen.menu
wine-Programme-Ubisoft-ANNO 1404 - Venedig-Anno-Portal.de besuchen.menu
wine-Programme-Ubisoft-ANNO 1404 - Venedig-Handbuch anzeigen.menu
wine-Programme-Ubisoft-ANNO 1404 - Venedig-Produkt registrieren.menu
wine-Programme-Ubisoft-ANNO 1404 - Venedig-ReadMe-Datei anzeigen.menu
wine-Programme-Ubisoft-ANNO 1404 - Venedig-Ubi.com besuchen.menu
wine-Programs-7-Zip-7-Zip File Manager.menu
wine-Programs-7-Zip-7-Zip Help.menu
wine-Programs-Accessories-Media Center-Media Center Programs-Crysis.menu
wine-Programs-Ace of Spades-Ace of Spades Server.menu
wine-Programs-Ace of Spades-Configuration.menu
wine-Programs-Ace of Spades-ReadMe.menu
wine-Programs-Ace of Spades-Uninstall.menu
wine-Programs-Ace of Spades-Voxel Editor.menu
wine-Programs-Bethesda Softworks-Fallout 3-Fallout 3 deinstallieren.menu
wine-Programs-Bethesda Softworks-Fallout 3-Fallout 3 registrieren.menu
wine-Programs-Bethesda Softworks-Fallout 3-Fallout 3.menu
wine-Programs-Bethesda Softworks-Fallout 3-Offizielle Fallout-Website.menu
wine-Programs-Bethesda Softworks-Fallout 3-Readme.txt.menu
wine-Programs-Blue Ripple Sound-Rapture3D - Help.menu
wine-Programs-Blue Ripple Sound-Rapture3D - Speaker Layout.menu
wine-Programs-Bohemia Interactive-ArmA 2 Free-ARMA 2 Free deinstallieren.menu
wine-Programs-Bohemia Interactive-ArmA 2 Free-ARMA 2 Manual.menu
wine-Programs-Bohemia Interactive-ArmA 2 Free-ArmA 2 Free.menu
wine-Programs-Bohemia Interactive-ArmA 2 Free-BattlEye-Uninstall BattlEye.menu
wine-Programs-Bohemia Interactive-ArmA 2 Free-Entwickelt von Bohemia Interactive.menu
wine-Programs-Bohemia Interactive-ArmA 2 Free-Readme-Datei anzeigen.menu
wine-Programs-BrickForce-BrickForce.menu
wine-Programs-BrickForce-Uninstall.menu
wine-Programs-BrickForce-Website.menu
wine-Programs-Bundysoft-L3DT Standard 2.9-L3DT 2.9 Standard.menu
wine-Programs-Bundysoft-L3DT Standard 2.9-L3DT extensions.menu
wine-Programs-Bundysoft-L3DT Standard 2.9-L3DT logs.menu
wine-Programs-Bundysoft-L3DT Standard 2.9-L3DT resources.menu
wine-Programs-Bundysoft-L3DT Standard 2.9-Uninstall L3DT.menu
wine-Programs-EarthSculptor-EarthSculptor on the Web.menu
wine-Programs-EarthSculptor-EarthSculptor.menu
wine-Programs-EarthSculptor-Uninstall EarthSculptor.menu
wine-Programs-Electronic Arts-Crysis-Auf Updates pr?fen.menu
wine-Programs-Electronic Arts-Crysis-Besuchen Sie die Crysis-Website..menu
wine-Programs-Electronic Arts-Crysis-Crysis spielen.menu
wine-Programs-Electronic Arts-Crysis-Deutsche Support-Dateien-Deutsche Readme lesen.menu
wine-Programs-Electronic Arts-Crysis-Electronic Arts - Technischer Support.menu
wine-Programs-Electronic Arts-Crysis-Russische Support-Dateien-Russische Readme lesen.menu
wine-Programs-Electronic Arts-Crysis-T?rkische Support-Dateien-T?rkische Readme lesen.menu
wine-Programs-Infogrames-RollerCoaster Tycoon 2-Liesmich.menu
wine-Programs-Infogrames-RollerCoaster Tycoon 2-RCT2 deinstallieren.menu
wine-Programs-Infogrames-RollerCoaster Tycoon 2-RollerCoaster Tycoon 2.menu
wine-Programs-Infogrames-RollerCoaster Tycoon 2-Time Twister Liesmich.menu
wine-Programs-Infogrames-RollerCoaster Tycoon 2-Uninstall RCT2 Time Twister.menu
wine-Programs-Infogrames-RollerCoaster Tycoon 2-Uninstall RCT2 Wacky Worlds.menu
wine-Programs-Infogrames-RollerCoaster Tycoon 2-Wacky Worlds Liesmich.menu
wine-Programs-MTA San Andreas-MTA San Andreas.menu
wine-Programs-MTA San Andreas-MTA Server.menu
wine-Programs-MTA San Andreas-Uninstall MTA San Andreas.menu
wine-Programs-Microsoft Games for Windows - LIVE-Games for Windows - LIVE.menu
wine-Programs-Mono 2.4.2.3 for Windows-Applications-Glade 3.menu
wine-Programs-Mono 2.4.2.3 for Windows-Applications-Gtk Theme Selector.menu
wine-Programs-Mono 2.4.2.3 for Windows-Gtk# on the Web.menu
wine-Programs-Mono 2.4.2.3 for Windows-Gtk+ on the Web.menu
wine-Programs-Mono 2.4.2.3 for Windows-Mono on the Web.menu
wine-Programs-Mono 2.4.2.3 for Windows-Mono-2.4.2.3 Command Prompt.menu
wine-Programs-Mono 2.4.2.3 for Windows-Mono-2.4.2.3 Release Notes on the Web.menu
wine-Programs-Mono 2.4.2.3 for Windows-MonoDoc Web.menu
wine-Programs-Mono 2.4.2.3 for Windows-Readme.menu
wine-Programs-Mono 2.4.2.3 for Windows-Uninstall Mono-2.4.2.3 Win32.menu
wine-Programs-Mono 2.4.2.3 for Windows-XSP-XSP 2.0 Index Page.menu
wine-Programs-Mono 2.4.2.3 for Windows-XSP-XSP 2.0 Test Web Server.menu
wine-Programs-Rockstar Games-Grand Theft Auto Vice City-Play GTA Vice City.menu
wine-Programs-Rockstar Games-Grand Theft Auto Vice City-ReadMe.menu
wine-Programs-Rockstar Games-Grand Theft Auto Vice City-Uninstall GTA Vice City.menu
wine-Programs-SL My Inventory Viewer - SLMIV v2.10-SL My Inventory Viewer v2_10.menu
wine-Programs-SL My Inventory Viewer - SLMIV v2.10-Uninstall SL My Inventory Viewer v2_10.menu
wine-Programs-San Andreas Multiplayer-San Andreas Multiplayer.menu
wine-Programs-San Andreas Multiplayer-Uninstall.menu
wine-Programs-ShoopedLife-Other Grids-Fort Longcat (Probably Down).menu
wine-Programs-ShoopedLife-Other Grids-OSGrid.menu
wine-Programs-ShoopedLife-Other Grids-Second Life - Beta Grid.menu
wine-Programs-ShoopedLife-ShoopedLife (No Goatse).menu
wine-Programs-ShoopedLife-ShoopedLife.menu
wine-Programs-ShoopedLife-Uninstall ShoopedLife.menu
wine-Programs-Software2000-Pizza Syndicate Quickload.menu
wine-Programs-Software2000-Pizza Syndicate.menu
wine-Programs-Software2000-S2000 Homepage.menu
wine-Programs-Spadille-Extras-DDFontMake.menu
wine-Programs-Spadille-Extras-Slab6.menu
wine-Programs-Spadille-Read Me.menu
wine-Programs-Spadille-Spadille.menu
wine-Programs-Spadille-Utilities-Admin Tools.menu
wine-Programs-Spadille-Utilities-Game SettingsGame Settings.menu
wine-Programs-Spadille-Utilities-Map Manager.menu
wine-Programs-Spadille-Utilities-Mod Manager.menu
wine-Programs-Spadille-Utilities-Screenshots.menu
wine-Programs-Steam-DiRT 3.menu
wine-Programs-Steam-Steam Support Center.menu
wine-Programs-Steam-Steam.menu
wine-Programs-Tunngle-Tunngle beta entfernen.menu
wine-Programs-Tunngle-Tunngle beta.menu
wine-Programs-Ubisoft-ANNO 1404 - Venedig-ANNO 1404 - Venedig deinstallieren.menu
wine-Programs-Ubisoft-ANNO 1404 - Venedig-ANNO 1404 - Venedig spielen.menu
wine-Programs-Ubisoft-ANNO 1404 - Venedig-Anno-Portal.de besuchen.menu
wine-Programs-Ubisoft-ANNO 1404 - Venedig-Handbuch anzeigen.menu
wine-Programs-Ubisoft-ANNO 1404 - Venedig-Produkt registrieren.menu
wine-Programs-Ubisoft-ANNO 1404 - Venedig-ReadMe-Datei anzeigen.menu
wine-Programs-Ubisoft-ANNO 1404 - Venedig-Ubi.com besuchen.menu
wine-Programs-Ubisoft-ANNO 1404-ANNO 1404 deinstallieren.menu
wine-Programs-Ubisoft-ANNO 1404-ANNO 1404 spielen.menu
wine-Programs-Ubisoft-ANNO 1404-Anno-Portal.de besuchen.menu
wine-Programs-Ubisoft-ANNO 1404-Handbuch anzeigen.menu
wine-Programs-Ubisoft-ANNO 1404-Produkt registrieren.menu
wine-Programs-Ubisoft-ANNO 1404-ReadMe-Datei anzeigen.menu
wine-Programs-Ubisoft-ANNO 1404-Ubi.com.menu
wine-Programs-Valve-Portal 2-Portal 2.menu
wine-Programs-Valve-Portal 2-Uninstall Portal 2.menu
wine-Programs-WinRAR-Benutzerhandbuch f?r die Konsolenversion von RAR.menu
wine-Programs-WinRAR-Hilfe zu WinRAR.menu
wine-Programs-WinRAR-WinRAR.menu
wine-WinRAR.menu
xdg-desktop-menu-dummy.menu

And, as a reference, how wine entries are shown in gmenu (with and without patch):
http://img152.imageshack.us/img152/3396/gmenuwine.png
And how they are shown in the original xfce menu:
http://img51.imageshack.us/img51/5315/xfcewine.png

Last but not least the missing entries (settings menu as there are the most):
Gmenu:
http://img703.imageshack.us/img703/9236/gmenusettings.png
Original xfce menu:
http://img845.imageshack.us/img845/502/xfcesettings.png

BTW: I think what would be really great (not only) for xfce users would be a menu using garcon (http://git.xfce.org/xfce/garcon/) instead of libgnome-menu. I never coded in C, so I can't do it.

matttbe, Friday 02 November 2012 à 23:01


Subscription date : 24 January 2009
Messages : 12573
fabounet :
Hi,
that's true, it will look for a file named "applications.menu" first, then fallback on other names.
That's why I patched it: http://pastie.org/5127000
Yes but how to know why one the dock has to choose? Note that I only have this file on my Gnome session: applications.menu (maybe the check of gnome-applications can be made at the end? But I'm not sure that it's the best idea... maybe it can be possible to add the possibility to change that with an option?

Or maybe there is another bug somewhere and this is why gnome-applications.menu is not up to dated. (or maybe a daemon is not running or something else).
Did you install both gnome-desktop and xfce-desktop?

PS: if someone has this bug too, he can also just rename this file: /etc/xdg/menus/gnome-applications.menu

V10lator, Saturday 03 November 2012 à 09:33


Subscription date : 21 October 2012
Messages : 39
@matttbe I don't use the gnome desktop nor did I install it. But from looking into this I found a environment variable called XDG_MENU_PREFIX which is used by the xfce menu: http://git.xfce.org/xfce/xfce4-panel/tree/plugins/applicationsmenu/applicationsmenu.c#n227. This variable shows the following here:
$ echo $XDG_MENU_PREFIX
xfce-

So maybe gmenu should look for that variable, too?

But this still wouldn't help showing the hidden XFCE entries. Maybe the environment variable XDG_CURRENT_DESKTOP helps with it, but this variable is empty here and the xfce menu seems to fall back to XFCE if this is the case: http://git.xfce.org/xfce/xfce4-panel/tree/plugins/applicationsmenu/applicationsmenu.c#n219.

matttbe, Saturday 03 November 2012 à 12:38


Subscription date : 24 January 2009
Messages : 12573
Interesting! thank you for this tips! Now (with the rev 2612), the dock should use the most appropriated file
I saw this bug report yesterday: https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/1069207
It seems there is the same problem with alacarte: http://git.gnome.org/browse/alacarte/commit/?id=a4db6799f41947b5cd08231e77d41c561d94170a

But this still wouldn't help showing the hidden XFCE entries. Maybe the environment variable XDG_CURRENT_DESKTOP helps with it, but this variable is empty here and the xfce menu seems to fall back to XFCE if this is the case:
Yes but it seems gnome-menu should know which entries has to be hidden or not.
@fabounet: any idea?

fabounet, Sunday 11 November 2012 à 03:01


Subscription date : 30 November 2007
Messages : 17118
"settings menu" have their own file (in ~/.config/menus/settings.menu and probably also in /etc/xdg/menus)
maybe this one also has a different prefix ?

V10lator, Sunday 11 November 2012 à 09:16


Subscription date : 21 October 2012
Messages : 39
@fabounet ~/.config/menus/settings.menu doesn't exist.
/etc/xdg/menus/settings.menu
/etc/xdg/menus/xfce-settings-manager.menu (note that I don't think this is used for the menu).

I would still like a garcon menu (you could even have a look at the xfce4-panel, cause it's GPLed, too), but nobody answered to that.

SQP, Sunday 11 November 2012 à 09:51


Subscription date : 03 July 2010
Messages : 1081
I think a less desktop centric menu would be cool but have a full todo list. And writing a basic applet for your own needs is easy. Raising it to a quality good enough to get deployed is really another job.

V10lator, Sunday 11 November 2012 à 10:00


Subscription date : 21 October 2012
Messages : 39
SQP :
And writing a basic applet for your own needs is easy.

Not if you know nothing about C, the cairo-dock API, garcon nor GTK.

SQP, Sunday 11 November 2012 à 10:07


Subscription date : 03 July 2010
Messages : 1081
I was saying that in a general way. One can write a small hack pretty fast, but it takes time to ensure the result will be the same for most peoples. So don't expect some garcon based applet until someone really have both time and will to do it.

I could have suggested you to try it in go, really easier than C, but the garcon API would still have to be binded from C to go to get used

fabounet, Wednesday 14 November 2012 à 17:28


Subscription date : 30 November 2007
Messages : 17118
I would still like a garcon menu

using a lib or another won't change anything, since both should use the same freedesktop standard.

correct me if I'm wrong, but we now only miss the settings menu, and I'm quite sure it's the same kind of problem than for the applications.menu (wrong file used).

so I hope we can fix this one too without developping a new applet

(PS: you can write applets in any language, but that's another story )

V10lator, Thursday 15 November 2012 à 12:34


Subscription date : 21 October 2012
Messages : 39
fabounet :
using a lib or another won't change anything, since both should use the same freedesktop standard.

Let me correct this for you:
using a lib or another won't change anything, since both should use the same freedesktop standard.


fabounet :
correct me if I'm wrong, but we now only miss the settings menu

Missing cause of ignored Layout section (Layout is defined as optional from freedesktop):
- "Programm ausführen ..." (start application)
- "Terminal"
- "Dateimanager" (file manager)
- "E-Mail-Programm"
- "Webbrowser"
- "Über XFCE" (about XFCE)
- "Abmelden" (log off)
Settings submenu is there 2 times.
[EDIT]Wine menu is completely different[/EDIT]
glx-dock:
http://img547.imageshack.us/img547/554/gmenuxfce.png
xfce4-panel:
http://img28.imageshack.us/img28/493/xfcemenu.png

, and I'm quite sure it's the same kind of problem than for the applications.menu (wrong file used).

I told what files I have earlier. there is no file that could be used wrongly.

(PS: you can write applets in any language, but that's another story )

Do you really want the full Java JVM to run just for a panel applet (Java is the language I'm most experienced with atm) ? I don't. ^^

fabounet, Friday 16 November 2012 à 16:27


Subscription date : 30 November 2007
Messages : 17118
Do you really want the full Java JVM to run just for a panel applet

certainly not, but a python/ruby interpreter is ok for instance

About the top five entries, are they not the recently started programs ?
I wonder if they are actually inside the .menu file, or if they are added to the menu by the XFCE applet.

Missing cause of ignored Layout section (Layout is defined as optional from freedesktop):

you mark a point, I'll check if libgnome-menu supports this or not

Edit: after a quick search, libgnome-menu now is in version 3, which seems to add Layout support.
also, libmenu-cache is another lib that implement the freedesktop standard, as well as libgarcon of course.
So we now have choice to port the applet

V10lator, Friday 16 November 2012 à 16:48


Subscription date : 21 October 2012
Messages : 39
fabounet :
About the top five entries, are they not the recently started programs ?

I wonder if they are actually inside the .menu file, or if they are added to the menu by the XFCE applet.
That are not recently started programs, they are from the Layout section:
<Layout>
<Filename>xfce4-run.desktop</Filename>
<Separator/>
<Filename>exo-terminal-emulator.desktop</Filename>
<Filename>exo-file-manager.desktop</Filename>
<Filename>exo-mail-reader.desktop</Filename>
<Filename>exo-web-browser.desktop</Filename>
<Separator/>
<Menuname>Settings</Menuname>
<Separator/>
<Merge type="all"/>
<Separator/>
<Filename>xfce4-about.desktop</Filename>
<Filename>xfce4-session-logout.desktop</Filename>
</Layout>


Edit: after a quick search, libgnome-menu now is in version 3, which seems to add Layout support.
also, libmenu-cache is another lib that implement the freedesktop standard, as well as libgarcon of course.
So we now have choice to port the applet :)

Well, I will be fine with whatever shows me a nice menu. Also note the wine entries, having all of them simply in "Sonstiges" (other) is just a mess.

matttbe, Sunday 18 November 2012 à 02:39


Subscription date : 24 January 2009
Messages : 12573
Is it possible to test the latest revision available on BZR?
xfce-settings-manager.menu file should be read now

(I guess it will be better when the applet will be ported to GMenu3!)

V10lator, Sunday 18 November 2012 à 07:00


Subscription date : 21 October 2012
Messages : 39
matttbe :
xfce-settings-manager.menu file should be read now ;)

I told you before that I don't think this is the right file and now I know it isn't. It is used by xfce4s settings manager, not for the menu.

matttbe, Sunday 18 November 2012 à 11:00


Subscription date : 24 January 2009
Messages : 12573
ok. So the only solution is to port this applet to GMenu 3...

Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] gmenu doesn't show xfce entries
V10lator Deutsch 17 matttbe [Read]
18 November 2012 à 11:00


Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation gmenu doesn't show xfce entries Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.