Caja not appearing in app list after upgrade to Fedora 33

After upgrading from Fedora 32 to Fedora 33, Caja is no longer appearing the application list of Gnome (press Windows key and then enter name of app). It used to appear as “Files” besides the default gnome file manager which was also called “Files”). I also tried reinstalling caja which changed nothing with the situation.

[stefan@machine ~]$ ls -l /usr/share/applications/caja*
-rw-r--r--. 1 root root   363 Jul 27 16:21 /usr/share/applications/caja-autorun-software.desktop
-rw-r--r--. 1 root root 13256 Jul 27 16:21 /usr/share/applications/caja-browser.desktop
-rw-r--r--. 1 root root 13519 Jul 27 16:21 /usr/share/applications/caja-computer.desktop
-rw-r--r--. 1 root root  4876 Jul 27 16:21 /usr/share/applications/caja.desktop
-rw-r--r--. 1 root root 10270 Jul 27 16:21 /usr/share/applications/caja-file-management-properties.desktop
-rw-r--r--. 1 root root  4495 Jul 27 16:21 /usr/share/applications/caja-folder-handler.desktop
-rw-r--r--. 1 root root  6519 Jul 27 16:21 /usr/share/applications/caja-home.desktop

[stefan@machine ~]$ grep caja /usr/share/applications/caja.desktop 
Exec=/usr/bin/caja

Executing /usr/bin/caja brings up Caja . Do you have any ideas where the issue may lie.

Thanks in advance.

1 Like
desktop-file-install \
--dir=${HOME}/.local/share/applications \
--remove-key=OnlyShowIn \
/usr/share/applications/caja-browser.desktop
3 Likes

Thanks a lot. This pointed me into the right direction. I enhanced it a little bit in order to make adding Caja to the favorites work as well. Without StartupWMClass, a second icon was appearing in the dock:

desktop-file-install \
--dir=${HOME}/.local/share/applications \
--remove-key=OnlyShowIn \
--set-key=StartupWMClass \
--set-value=caja \
/usr/share/applications/caja-browser.desktop
3 Likes