Solved . multiple Caja startups in mate

Support on MATE usage

Moderator: flexiondotorg

Solved . multiple Caja startups in mate

Postby frits » Sat Nov 16, 2013 11:49 am

This should be in the Mate forum (in Desktop-Help) but I have no acces there.
This problem I had with both my laptop and PC installation of Mate in Open Suse 12.3
Multiple Caja's showed up and there was no way to stop them. The editing was done from KDE.

bhull2010 commented January 27, 2013

I experience this as well on Ubuntu 12.04 if I create a new user and log in for the first time with that user. It also happens if I remove ~/.confg and log out/in. To fix this, I created /usr/share/applications/caja-desktop.desktop with the following:
[Desktop Entry]
Name=Desktop
Exec=caja -n
Icon=user-desktop
Terminal=false
Type=Application
StartupNotify=false
NoDisplay=true
OnlyShowIn=MATE;
X-MATE-Bugzilla-Bugzilla=MATE
X-MATE-Bugzilla-Product=caja
X-MATE-Bugzilla-Component=general
X-MATE-Bugzilla-Version=1.5.2
X-MATE-Autostart-Phase=Desktop
X-MATE-Autostart-Notify=true
X-MATE-AutoRestart=true
X-MATE-Provides=filemanager

This is mostly based on the existing caja.desktop file in /usr/share/applications. I then edit /usr/share/glib-2.0/schemas/org.mate.session.gschema.xml and change "caja" to "caja-desktop", save the file, and use glib-compile-schemas to rebuild the schemas. Now, removing .config and logging out/in does not cause x-caja-desktop windows to appear.

The change is essentially running "caja -n" instead of "caja" from mate-session. I based this on what GNOME/Unity did in http://git.gnome.org/browse/nautilus/tr ... desktop.in


I followed these instructions and like others there were no more multiple Caja 's on startup
extra info glib-compile-schemas is to be found in /usr/bin/
Complete it would be: /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
.config is to be found in /home/you-user/.config

the complete item is to be found in:
https://github.com/mate-desktop/mate-se ... /issues/19
frits
 
Posts: 5
Joined: Sun Nov 03, 2013 8:04 pm

Re: Solved . multiple Caja startups in mate

Postby k3lt01 » Sat Nov 16, 2013 7:02 pm

frits wrote:This should be in the Mate forum (in Desktop-Help) but I have no acces there.
I think there is a bug in the forum, I have messaged Stefano about it.
Cobber Linux, Australasia's own.
My tutorials.
How to install MATE on Debian
How to ask for help and get it the smart way.
How to Report Bugs in MATE
k3lt01
 
Posts: 875
Joined: Tue Sep 25, 2012 10:55 pm
Location: Australia


Return to Desktop Help

Who is online

Users browsing this forum: Google [Bot] and 1 guest