Description of problem: Whilst trying to help another user here https://forums.mageia.org/en/viewtopic.php?f=7&t=14419&p=84576#p84576 i did a fresh installation of Mageia 8 Gnome x86_64 in a virtualbox. It shows that Bug #26633 is still valid for Mageia 8. Menulibre dos not start under Gnome. Terminal output: [gn@gnomebox ~]$ menulibre (menulibre:2619): Gtk-WARNING **: 16:06:46.977: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton (menulibre:2619): Gtk-WARNING **: 16:06:47.041: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/menulibre/MenulibreApplication.py", line 2217, in do_activate self.win = MenulibreWindow(self, headerbar) File "/usr/lib/python3.8/site-packages/menulibre/MenulibreApplication.py", line 250, in __init__ self.configure_application_treeview(builder) File "/usr/lib/python3.8/site-packages/menulibre/MenulibreApplication.py", line 589, in configure_application_treeview self.treeview = MenulibreTreeview.Treeview(self, builder) File "/usr/lib/python3.8/site-packages/menulibre/MenulibreTreeview.py", line 48, in __init__ self._configure_treeview(builder) File "/usr/lib/python3.8/site-packages/menulibre/MenulibreTreeview.py", line 59, in _configure_treeview treestore = MenuEditor.get_treestore() File "/usr/lib/python3.8/site-packages/menulibre/MenuEditor.py", line 122, in get_treestore menu = get_menus()[0] File "/usr/lib/python3.8/site-packages/menulibre/MenuEditor.py", line 191, in get_menus menu = MenuEditor() File "/usr/lib/python3.8/site-packages/menulibre/MenuEditor.py", line 246, in __init__ self.load() File "/usr/lib/python3.8/site-packages/menulibre/MenuEditor.py", line 264, in load if not self.tree.load_sync(): gi.repository.GLib.Error: g-io-error-quark: Failed to look up menu_file for "gnome-applications.menu" (0) Version-Release number of selected component (if applicable): menulibre-2.2.1-4.mga8 How reproducible: always Steps to Reproduce: 1.Install menulibre in a fresh Mageia 8 Gnome 2.Start menulibre 3.menulibre won't start
Thank you for the report. To try it, I have just installed it & started it under LXDE: $ menulibre (menulibre:3102): Gtk-WARNING **: 19:57:00.624: Theme parsing error: gtk.css:2:33: Failed to import: Error opening file /home/lewis/.config/gtk-3.0/window_decorations.css: No such file or directory No menu prefix found, MenuLibre will not function properly. (menulibre:3102): Gtk-WARNING **: 19:57:02.459: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton (menulibre:3102): Gtk-WARNING **: 19:57:02.697: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton WARNING:menulibre: getDefaultMenuPrefix() 'No menu prefix found, MenuLibre will not function properly.' WARNING:menulibre: getDefaultMenuPrefix() 'No menu prefix found, MenuLibre will not function properly.' WARNING:menulibre: getDefaultMenuPrefix() 'No menu prefix found, MenuLibre will not function properly.' but is started OK - one of those bare Gnome applications. I will go off to try it under Gnome.
CC: (none) => lewyssmith
Here under Gnome, real x64 hardware. Starting 'menulibre' from terminal gave exactly the same output as comment 0 (except for a different initial number). Note, however, that the process *did not end*, but remained static after the last O/P: if not self.tree.load_sync(): gi.repository.GLib.Error: g-io-error-quark: Failed to look up menu_file for "gnome-applications.menu" (0) It did not appear in any shape or form. $ ps ax | grep menu 4198 ? Sl 0:01 /usr/bin/python3 /usr/bin/menulibre 4613 pts/0 Sl+ 0:01 /usr/bin/python3 /usr/bin/menulibre After killing it Ctrl/C in the terminal, this still showed: $ ps ax | grep menu 4198 ? Sl 0:01 /usr/bin/python3 /usr/bin/menulibre This is something one can assign to wally, its maintainer.
CC: lewyssmith => (none)Assignee: bugsquad => jani.valimaa
This is a bit problematic as GNOME doesn't use traditional app menus anymore. However I have updated menulibre to the latest release and added a patch to allow starting menulibre in modern GNOME env. Please test menulibre-2.2.3-1.mga8 from core/updates_testing.
CC: (none) => jani.valimaaAssignee: jani.valimaa => qa-bugs
menulibre-2.2.3-1.mga8 starts in a virtualbox VM Mag8 x86_64 Gnome session. From the menu and also from terminal.Only some warning in console left: (menulibre:3998): Gtk-WARNING **: 11:38:44.939: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton
Depends on: (none) => 26633
Summary: menulibre is not launched under gnome. BUG 26633 still valid. => menulibre is not launched under gnome
mga8, x86_64 Newly installed GNOME booted as GNOME on Xorg. Before updating it behaved as Lewis indicated, crashing. Installed the update but could not find it in the applications list so ran it directly from the command line and a gui appeared but there was nothing to indicate that it was menulibre. It has a menubar with symbols for add, save, undo, redo, etc and search. Then a message line "Invalid desktop files detected...." and a side menu for different software categories. If Graphics is chosen the view panel has a tab at the bottom saying /usr/share/desktop-directories/mandriva-graphics.directory. If that is what is expected then this looks OK.
CC: (none) => tarazed25
Launched in Mate menulibre showed up as under GNOME but with a frame labelled Menulibre. So this does look OK for GNOME.
Whiteboard: (none) => MGA8-64-OK
Apologies - menulibre does turn up in the applications list as "Menu editor".
Validating.
CC: (none) => andrewsfarm
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
Keywords: (none) => advisory
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2021-0234.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED