Note: this wiki is no longer maintained. If you have any questions related to this wiki, please post them on the CrunchBang forums.

Translations of this page?:

Z-redundant HOWTO Set Thunar As The Default #!Crunchbang Filemanager

Introduction

APPLICATIONS Thunar is a new modern file manager that is supplied as default with the Xfce Desktop Environment, however it can be used in any Desktop Environment and is well suited to use in #!Crunchbang. Thunar has been designed from the ground up to be fast and easy-to-use. Its user interface is clean and intuitive, and does not include any confusing or useless options. Thunar is fast and responsive with a good start up time and directory load time.

Thunar can provide thumbnail previews of image and video files and allows for volume management. When run as a daemon it will automatically open a window displaying the contents of the mounted volume. Thunar includes a Bulk Renamer that allows users to easily rename multiple files at once using criteria that can be specified using the available renamer plugins. Probably the most useful renamer is the Audio Tags renamer, which generates new file names based on the tags present in audio files.

Installation

This will install Thunar, and many additional plugins:

sudo apt-get install thunar thunar-volman thunar-thumbnailers ffmpegthumbnailer thunar-archive-plugin thunar-media-tags-plugin

For more information on installing applications, see here.

Editing Openbox Configuration Files

First we need to change the keybindings in ~/.config/openbox/rc.xml, see the DESKTOP Configuring Keybindings page for details.

We need to replace all instances of 'pcmanfm' with 'thunar' and 'PCManFM' with 'Thunar', you can do this by hand or use your text editors search and replace feature, most editors can do this. For VARIOUS Leafpad and Z-Obsolete VARIOUS Gedit [OBSOLETE/NEEDS EDITING?] go to 'Search' on the top level menu, and then 'replace'.

Next we need to edit the openbox menu configuration file, see DESKTOP Configuring the Openbox Menu for details.

And again replace all occurrences of 'pcmanfm' with 'thunar' and 'PCManFM' with 'Thunar'.

You will then need to reconfigure Openbox, right click on your desktop and select:

Preferences → Openbox Config → Reconfigure

or in the terminal:

 openbox --reconfigure

Editing the 'Places' pipe menu

This is the 'Places' sub menu that you see on the main menu, see here for more info on pipe menus.

If using Crunchbang Full, in a terminal type:

gksu gedit /usr/bin/crunchbang/obpipemenu-places

If you are using CrunchBang Lite:

gksu leafpad /usr/bin/crunchbang/obpipemenu-places

or use whatever text editor you prefer.

and once again replace all occurrences of 'pcmanfm' with 'thunar'.

Gksu is similar to sudo, except that its for GUI applications, see here for details on permissions.

Starting Thunar as a daemon

Tighter desktop integration can be achieved by starting Thunar as a daemon. To do this we need to edit the Openbox autostart file, see here for instructions.

adding the following:

thunar --daemon &

Links

 
howto/set_thunar_as_default_filemanager.txt · Last modified: 2012/05/25 18:02 by machinebacon
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported

Powered by DokuWiki. Hosted by Linode.
Copyright © 2010 CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.