getDefaultMenuPrefix() error

Bug #1377362 reported by ineuw
12
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MenuLibre
Won't Fix
Undecided
Unassigned

Bug Description

Using Xubuntu 14.04.1 Menulibre 2.0.4 (the latest) when starting MenuLibre from the terminal as "su", I get the folowing error:

WARNING:menulibre: getDefaultMenuPrefix() 'No menu prefix found, MenuLibre will not function properly.'

As a normal user this message doesn't appear. But, as a normal user accessing MenuLibre editor Saved changes that may relate to "su" user rights don't take effect. In partticular I would like to place all important system tools in the 'System' menu section and it doesn't appear.

Also, newly installed GUI software doesn't appear in the menu and ust activate it from the terminal.

Revision history for this message
ineuw (ineuw) wrote :

The above bug report may be a several different bugs placed in one report, so I am adding here another issue noticed: MenuLibre activated from the terminal is NOT the same layout as when activated from the Settings Manager.

description: updated
Revision history for this message
Sean Davis (bluesabre) wrote :

Menulibre should not be run as the root user. System installed application launchers are copied to user directories to make edits. When running as root, the files and directories created and edited become owned by the root user, which can have multiple adverse effects. Please review your file permissions in the following locations.

/home/USERNAME/.config/menus
/home/USERNAME/.local/share/applications
/home/USERNAME/.local/share/desktop-directories

I'm currently improving the handling in Menulibre for root user, but will include a root lockout in the next release.

Changed in menulibre:
status: New → Confirmed
Revision history for this message
Sean Davis (bluesabre) wrote :

The root lockout was implemented way back in 2.0.7. There are no future plans to allow modifying system-installed launchers, marking as won't fix.

Changed in menulibre:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.