Krusader as default-FM

787 views
Skip to first unread message

Jonas Bähr

unread,
Jan 4, 2007, 7:33:14 AM1/4/07
to krusade...@googlegroups.com
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

Frank Schoolmeesters

unread,
Feb 27, 2007, 2:51:03 AM2/27/07
to krusade...@googlegroups.com

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>
------------------------------------------------

Frank Schoolmeesters

unread,
Mar 20, 2007, 5:22:19 AM3/20/07
to krusade...@googlegroups.com


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
'

Juan Medina

unread,
Mar 12, 2018, 10:52:48 PM3/12/18
to krusader-devel
On Red Hat is much easier...

Just modify the file
/usr/share/applications/mimeinfo.cache

Look for the line that starts with
inode/directory=

and change the default launcher for the krusader one
inode/directory=kde4-krusader.desktop;
Reply all
Reply to author
Forward
0 new messages