Hide Forgot
Description of problem: Has the behaviour of Appdirs changed in RHEL-7.2? Custom menu items only works if the .desktop files are placed under ~/.local/share/applications .Using <AppDir> in .menu file for specifying the desktop entries is not working properly. The item is only clickable but does not open the desired application How reproducible: Always Steps to Reproduce: 1) put the gnome-applications.menu file in ~/.config/menus 2) Place the custom .desktop files are placed under ~/.local/share/applications 3) it works with RHEL-7.1 but does not work with RHEL-7.2 Actual results: The menu item is just clickable and does not open the application Expected results: The menu item should open the desired application
(In reply to jigar from comment #0) > Has the behaviour of Appdirs changed in RHEL-7.2? Yes, it is no longer used for the "main" application view (<super>a). As the apps menu reuses the underlying code for launching applications, this does affect the extension as well. > Custom menu items only works if the .desktop files are placed under > ~/.local/share/applications More precisely: An "applications" directory in $XDG_DATA_HOME or any directory listed in $XDG_DATA_DIRS. > .Using <AppDir> in .menu file for specifying the desktop entries is not > working properly. The item is only clickable but does not open the desired > application We can make this work again in the apps-menu extension, however those apps: - will not show up as search results in the overview - be shown in the "main" application view - be recognized by the system to handle URL schemes - be listed as options for opening files from the file manager So in general, including the custom directory in XDG_DATA_DIRS is much preferred over using the AppDir element in the .menu file.