ClassicMenu indicator doesn't show application menus

Bug #1228053 reported by grindz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ClassicMenu Indicator
Fix Released
High
Florian Diesch

Bug Description

OS: Ubuntu 13.10 64
Indicator version: 0.07, 0.08
When running it shows system menus only. No one of application menus is showing.

Some investigation shows that a line in cmindicator.py
tree = self.create_tree('applications.menu') cannot read menus and build menu tree.

For some reason there is no applications.menu file in /etc/xdg/menus. Or generally , according to specs (Desktop Menu Specification) in $XDG_CONFIG_DIRS/menus/, where $XDG_CONFIG_DIRS is /etc/xdg on my system.

This directory contains many menu files but there is no applications.menu

locate applications.menu command shows that this file is in /usr/share/app-install/desktop/applications.menu and that's it.
This directory is not in $XDG_CONFIG_DIRS so gmenu module cannot read it from there.

I have no idea is this a Ubuntu issue or indicator issue.

Revision history for this message
Florian Diesch (diesch) wrote : Re: [Bug 1228053] [NEW] ClassicMenu indicator doesn't show application menus

Am Fri, 20 Sep 2013 09:07:44 -0000
schrieb grindz <email address hidden>:

> Public bug reported:
>
> OS: Ubuntu 13.10 64
> Indicator version: 0.07, 0.08
> When running it shows system menus only. No one of application menus
> is showing.
>
> Some investigation shows that a line in cmindicator.py
> tree = self.create_tree('applications.menu') cannot read menus and
> build menu tree.
>
> For some reason there is no applications.menu file in /etc/xdg/menus.

Thanks. ClassicMenu Indicator should use $XDG_MENU_PREFIX if set. I'll
fix that in the next version.

As a workaround install the package gnome-menus.

Creating a symlink
from /etc/xdg/menus/${XDG_MENU_PREFIX}applications.menu
to /etc/xdg/menus/applications.menu should work, too.

--
Privacy Indicator
Unity appindicator to switch privacy settings
<http://www.florian-diesch.de/software/indicator-privacy/>

Florian Diesch (diesch)
Changed in classicmenu-indicator:
status: New → Triaged
Florian Diesch (diesch)
Changed in classicmenu-indicator:
importance: Undecided → High
Florian Diesch (diesch)
Changed in classicmenu-indicator:
status: Triaged → Fix Committed
Florian Diesch (diesch)
Changed in classicmenu-indicator:
assignee: nobody → Florian Diesch (diesch)
status: Fix Committed → Fix Released
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.