Ich kann Nautilus vom Terminal aus starten.
wolf@ubuntu:~$ nautilus
wolf@ubuntu:~$ ps aux | grep -i nautilus
wolf 2560 0.1 0.3 1302072 60088 tty1 Sl+ 19:21 0:01 nautilus-desktop
wolf 2575 0.4 0.3 1423380 59756 tty1 Sl+ 19:21 0:03 nautilus
wolf 5221 0.0 0.0 14428 1052 pts/0 S+ 19:32 0:00 grep --color=auto -i nautilus
wolf@ubuntu:~$
Aber warum kann der Caja-Dateimanager nicht vom Terminal aus ausgeführt werden?
Was ist der richtige Befehl, um es auszuführen?
wolf@ubuntu:~$ caja
wolf@ubuntu:~$
wolf@ubuntu:~$ ps aux | grep -i caja
wolf 4824 0.0 0.0 14428 1032 pts/0 S+ 19:29 0:00 grep --color=auto -i caja
wolf@ubuntu:~$
wolf@ubuntu:~$ which caja
/usr/bin/caja
wolf@ubuntu:~$ /usr/bin/caja
wolf@ubuntu:~$
wolf@ubuntu:~$ ps aux | grep -i caja
wolf 4852 0.0 0.0 14428 1036 pts/0 S+ 19:29 0:00 grep --color=auto -i caja
wolf@ubuntu:~$
Aktualisieren
wolf@linux:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
wolf@linux:~$
wolf@linux:~$ ps -e | egrep 'Xorg|Wayland'
1797 tty1 00:07:15 Xorg
wolf@linux:~$
Antwort1
Zunächst kann ich das Problem auf einer sauberen Ubuntu 18.04 LTS-VM reproduzieren.
Ich bin sehr enttäuscht darüber, dass ich Caja nicht mit einem Befehl wie diesem ausführen kann:
caja --browser
caja --no-desktop
caja --force-desktop
und interessant ist, dass caja --check
keine Fehler angezeigt werden, auch die ~/.xsession-errors
Datei ist leer.
Ich erinnere mich, dass der Fehler bereits früher gemeldet wurde alshttps://pad.lv/1846612.
Ich habe keine Zeit, dieses unvorhersehbare Verhalten der GNOME-Shell zu debuggen.
Ich würde daher empfehlen, GNOME Shell zu ignorieren (oder sogarentfernen) und installieren Sie stattdessen Ubuntu MATE. So einfach geht das:
sudo apt install ubuntu-mate-desktop^
Oder starten Sie Caja mit etwas wie
caja --no-desktop ~