Krusader as default-FM

Affichage de 13 messages sur 3
Krusader as default-FM Jonas Baehr 04/01/07 04:33
Hi,

I've just seen on kde-apps.org that the dolphin filemanager [1] has  
an howto to make it the kde-default-fm. I haven't looked at it, but  
this line is in  the changelog:

Updated the documentation how to make Dolphin the default file  
manager (Michael Austin).

perhaps this could be usefull for the krusader-docs too.

bye,
Jonas

[1] http://kde-apps.org/content/show.php?content=40491

Re: [Krusader-devel] Krusader as default-FM Frank Schoolmeesters 26/02/07 23:51

Hi,

This is what the Dolphin handbook says, i suppose it will work also
for Krusader.
Can somebody confirm this?

Thanks!

Frank

------------------------------------------------
<qandaentry>
<question>
<para>How do I make Dolphin my default file manager</para>
</question>
<answer>
<para>
To make &dolphin; the default file manager for &kde; from the &kde;
control centre open the File Associations section via; KDE
Components>File Associations.  If the user adds &dolphin; to the list
of applications for the directory mime type and make it the first
choice, then &dolphin; will become the default application to open any
directory with.  The directory mime type can be found by expanding the
inode section of Known Types.
</para>

<para>
To make &dolphin; the default file manager for the virtual directories
&kde; creates e.g. system:/ then again in the File Associations
section of the control centre expand the inode section of Known Types.
 Under the system_directory mime type, add &dolphin; to the list of
applications, however instead of choosing &dolphin; from the kmenu,
type the following in to the text box at the top;  dolphin %u The
virtual directories created by &kde; will then be opened by &dolphin;
as default.
</para>
</answer>
</qandaentry>
</qandaset>
</chapter>
------------------------------------------------

Re: [Krusader-devel] Krusader as default-FM Frank Schoolmeesters 20/03/07 02:22


FYI

For Ubuntu/GNOME there is a script available that makes Krusader the
default filemanager.
Please not that the script tries to install Krusader and that the
script is written for the Ubuntu distro,
but when you modify it, it will probably also work on other
distributions with GNOME.

It seems that you need to modify/overwrite 4 files.
/usr/share/applications/nautilus-computer.desktop
/usr/share/applications/nautilus.desktop
/usr/share/applications/nautilus-folder-handler.desktop
/usr/share/applications/nautilus-home.desktop
with the next files:
http://www.psychocats.net/ubuntu/defaultkrusader/nautilus-computer.desktop
http://www.psychocats.net/ubuntu/defaultkrusader/nautilus.desktop
http://www.psychocats.net/ubuntu/defaultkrusader/nautilus-folder-handler.desktop
http://www.psychocats.net/ubuntu/defaultkrusader/nautilus-home.desktop
which can be done also manually.

----------------------------
TryExec=nautilus
Exec=krusader
-----------------------------
Does the trick in the desktop files.

Al this info comes from the next url:
"Changing the Default File Manager in Gnome"
http://psychocats.net/ubuntu/nonautilusplease

Thanks to the students of University of Oulu in Finland
http://www.oulu.fi/english/ for finding the above url.
http://krusader.sourceforge.net/handbook/default-file-manager.html


bye,

Frank

-----------------------------------------------------------
#!/bin/bash
echo '
Making sure krusader is installed
'
sudo aptitude update
sudo aptitude install krusader
echo '
Downloading new .desktop files
'
mkdir temp
cd temp
wget -c http://www.psychocats.net/ubuntu/defaultkrusader/nautilus-computer.desktop
wget -c http://www.psychocats.net/ubuntu/defaultkrusader/nautilus.desktop
wget -c http://www.psychocats.net/ubuntu/defaultkrusader/nautilus-folder-handler.desktop
wget -c http://www.psychocats.net/ubuntu/defaultkrusader/nautilus-home.desktop
sudo chown root:root *.desktop
echo '
Making backup copies of old .desktop files
'
sudo cp /usr/share/applications/nautilus-computer.desktop
/usr/share/applications/nautilus-computer.desktop.backup
sudo cp /usr/share/applications/nautilus.desktop
/usr/share/applications/nautilus.desktop.backup
sudo cp /usr/share/applications/nautilus-folder-handler.desktop
/usr/share/applications/nautilus-folder-handler.desktop.backup
sudo cp /usr/share/applications/nautilus-home.desktop
/usr/share/applications/nautilus-home.desktop.backup
echo '
Replacing old .desktop files with new .desktop files
'
sudo mv nautilus-computer.desktop
/usr/share/applications/nautilus-computer.desktop
sudo mv nautilus.desktop /usr/share/applications/nautilus.desktop
sudo mv nautilus-folder-handler.desktop
/usr/share/applications/nautilus-folder-handler.desktop
sudo mv nautilus-home.desktop /usr/share/applications/nautilus-home.desktop
cd ..
rmdir temp
echo '
Krusader should now be your new default file manager in Gnome
'