mate-desktop / caja

Caja, the file manager for the MATE desktop
https://mate-desktop.org/
Other
271 stars 145 forks source link

Can't open Caja when the window manager is i3wm #1392

Open kafran opened 4 years ago

kafran commented 4 years ago

Expected behaviour

Open Caja when the Window Manager defined in /org/mate/desktop/session/required-components/windowmanager is i3.

Actual behaviour

Caja doesn't open when executed through a launcher with the following desktop file or through the terminal with caja --no-desktop.

#!/usr/bin/env xdg-open

[Desktop Entry]
TryExec=caja
Exec=caja --no-desktop
Icon=system-file-manager
Terminal=false
StartupNotify=false
Type=Application
Categories=GTK;System;Utility;Core;
Keywords=files;browser;manager;MATE;
OnlyShowIn=MATE;

Steps to reproduce the behaviour

MATE general version

MATE Desktop Environment 1.22.2

Package version

Package: caja Version: 1.22.2-1+tricia

Linux Distribution

Linux Mint 19.3

Workaround

Caja opens if a folder is given: caja --no-desktop /home/user

Additional information

When called from an i3 session caja --no-desktop from terminal open Caja as expected. But when Caja closes the terminal hangs until send caja -q from another terminal and the following is printed on terminal where caja was called:

(caja:18946): Gtk-CRITICAL **: 16:59:39.577: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed
lukefromdc commented 4 years ago

I've seen that warning before under a number of seemingly random conditions, never did find the true trigger for it.

b1scu1t commented 4 years ago

Try caja <directory> instead. For example: caja /home/.