Bug 5517 - ~/.config/menus/applications.menu requires <Name>Applications</Name> instead of <Name>ThinLinc</Name>
Summary: ~/.config/menus/applications.menu requires <Name>Applications</Name> instead ...
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: TLDC (Desktop Customizer) (show other bugs)
Version: 4.3.0
Hardware: PC Linux Ubuntu
: P2 Blocker
Target Milestone: MediumPrio
Assignee: Karl Mikaelsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-05 14:06 CEST by Jens Maus
Modified: 2015-05-12 10:28 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Jens Maus 2015-05-05 14:06:54 CEST
After upgrading to Ubuntu 15.04 (Lubuntu variant) we recognized that all menus of our users were completely empty. We are using TLDC to customize the menus based on user groups which was still running fine with Ubuntu 14.10 (Lubuntu).

After some investigation of the issue we found out that we can get the menus working again by changing "<Name>ThinLinc</Name>" at the very top of ~/.config/menus/applications.menu to "<Name>Applications</Name>".

The question is now if there is anything we can do that ThinLinc generates these applications.menu files per default with <Name>Applications</Name> instead?
Comment 1 Jens Maus 2015-05-05 14:40:00 CEST
As a temporary workaround I have now written the following shell script:

-- cut here --
#!/bin/sh
sed -i "s/<Name>ThinLinc/<Name>Applications/g" ~/.config/menus/applications.menu
rm -rf ~/.cache/menus
-- cut here --

and have stored it as /opt/thinlinc/etc/xstartup.d/36-menus-fix.sh so that it is executed right after 35-tl-desktop-activate.sh.

This finally fixes the issue we were having with empty menus using Ubuntu 15.04 with LXDE.

Note You need to log in before you can comment on or make changes to this bug.