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?
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.