Kmenu not showing apps

From ArchWiki

Jump to: navigation, search

Sometimes after an upgrade kdemod is not showing non kde-apps in kmenu, in order to fix this you must run

# update-mime-database /usr/share/mime

as root and then run:

# update-desktop-database

Troubleshooting

If the first command will give you something like:

Note that '/usr/share' is not in the search path
set by the XDG_DATA_HOME and XDG_DATA_DIRS
environment variables, so applications may not
be able to find it until you set them. The
directories currently searched are:
- /root/.local/share
- /opt/kde/share

then you should edit /etc/profile.d/kde.sh as root and add /usr/share to export XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDEDIR/share, so it should look like:

export XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDEDIR/share:/usr/share

Logout, log in again and see if echo $XDG_DATA_DIRS shows /opt/kde/share:/usr/share.

Then run as root:

# update-desktop-database

This will fix the problem.

Personal tools