Oh bother. Tried that and got the same result.Tzarls wrote:Just to add information about this error: If after disabling the "Other" category, I open again the Main Menu Editor (under Preferences) and click the "Cancel" button the Menu bar crashes and the "Other" category is re-enabled.
Code: Select all
grep --include *.desktop -IRiL "Icon"Code: Select all
Icon=application-x-executableNo, it'll probably be one or two applications which you are installing on all your Pis. It should be easy enough to find, but if you aren't willing to do the diagnosis, I can't do much more to help - sorry.lohtse wrote:same issues as reported here.
tried the solution provide but no joy..
decided to do the update on our two Zero's and other pi3 as well( we have 2x pi3 2xzero 1,pi2,1xPi b and 1xPi b+) all have DIFFERENT setups and software installed and the SAME issue so if it is app specific etc then it is a very broad range of software..
Code: Select all
for file in $(find /usr/local/share/applications /usr/share/applications -name "*.desktop"); do if [[ -n $(grep -IRiL "Icon" $file) ]] ; then echo "Patching File: $file" ; sudo echo "Icon=application-x-executable">>$file; fi; donejulianzeidler wrote:Here for those who do not want to modify the files by hand:
Here is a handy one liner to add the Icon line where necessary:Code: Select all
for file in $(find /usr/local/share/applications /usr/share/applications -name "*.desktop"); do if [[ -n $(grep -IRiL "Icon" $file) ]] ; then echo "Patching File: $file" ; sudo echo "Icon=application-x-executable">>$file; fi; done
There is one problem with this line: if the file is a symbolic link it can't be updated. Maybe this could be fixed.julianzeidler wrote:Here for those who do not want to modify the files by hand.
A handy one liner to add the Icon line where necessary:Code: Select all
for file in $(find /usr/local/share/applications /usr/share/applications -name "*.desktop"); do if [[ -n $(grep -IRiL "Icon" $file) ]] ; then echo "Patching File: $file" ; sudo echo "Icon=application-x-executable">>$file; fi; done
I could not get that to work, but if I quote like this it works:spl23 wrote: Any user-installed desktop files used in the menu are in the following directories:
/usr/local/share/applications
/usr/share/applications
Go into each of those directories in turn and doto find the files which don't have an Icon entry.Code: Select all
grep --include *.desktop -IRiL "Icon"
Code: Select all
grep --include '*.desktop' -IRiL "Icon"OK, thanks for that - I'll investigate further with those applications and see if there is something else going wrong.mob-i-l wrote:I tested this and it patched some files, but Other still gives the bug. I also extended the search using find / -name "*.desktop" 2>/dev/null. In the end I had to remove Other using Main Menu Editor.
I have three applications in Other:
LibreOffice XSLT based filters: libreoffice %U
Logout: lxde-logout
ScreenLock: lxlock
These were there from before updating to PIXEL.
I also tried various other things: such as removing the items in Other using Main Menu Editor, but that didn't help.
OK, I've just checked lxde-logout, and that doesn't cause a problem on my image.mob-i-l wrote:I have three applications in Other:
LibreOffice XSLT based filters: libreoffice %U
Logout: lxde-logout
ScreenLock: lxlock
I sent PM with /usr/share/applications and /usr/share/raspi-ui-overrides/applications/. The others doesn't exist here.spl23 wrote: Could I ask you to private message me with the directory listings of /usr/share/applications, /usr/share/local/applications and /usr/share/raspi-ui-mods/applications from your system - preferably with ls -l so I can see timestamps and sizes? Something in there is causing the problem, but I need to narrow it down a bit! Many thanks in advance.
One other thing to try - if you have used the menu editor, it makes copies of some files in ~/.local/share/applications - try moving all the desktop files out of that directory temporarily and see if that fixes the crash.
Unfortunately it doesn't work for me. I removed the folders and rebooted, but the bug with Other is still there. I sent in a PM with the desktop-files I could not edit, but they are outside the folders for desktop-files mentioned earlier.spl23 wrote:After making sure you have an Icon line in all your .desktop files, as before, do the following:
rm -rf ~/.config/menus
rm -rf ~/.local/share/applications
rm -rf ~/.local/share/desktop-directories
rm -rf ~/.cache/menus
[...]
Reboot - see what the Other category does now.
too many files on it, any script to do this?timjstone wrote:i had similar problems , but i also found .desktop files in /var/lib/menu-xdg/applications/menu-xdg
when i fixed them to, the other menu worked again
tim