Laptops Under 200

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Sunday, 29 May 2011

How To Install Thunar File Manager In Ubuntu?

Posted on 00:55 by Unknown
A file manager or the default file management utility is one of the most important aspects of a modern desktop environment. From things like running your entire desktop screen to managing files/folders... by having a well equipped and a stable file manager is certainly a necessity. Although I'm drifted towards GTK written applications but I certainly am not a huge fan of the default fm in Gnome called Nautilus.

For me it's too simple and I find it hard to "control". But still if you have an old GNU/Linux installed PC/Laptop then you might actually like applications that are "simple" because most of the time they have a tendency of being a bit merciful at your hardware resources (though, not always true). And with start of Gnome3, GNU/Linux distributions such as Fedora Core 15 is now asking for you to have at least 768MB of RAM.

So what I'm trying to say is that, if you love or "okay" (like me) with your Gnome 2+ desktop... but looking for a way to reduce some "weight" from the system as far as possible, then you could give a try another excellent file manager called Thunar!.


Thunar is actually the default fm for another more lightweight (that Gnome) desktop called XFCE. Since the goal of XFCE is try to use as low system resources as possible, the fm Thunar is especially written to help in achieving that. Although it may not make a huge difference concerting Nautilus, still it certainly uses lower amounts of resources nonetheless.


As you can see, Thunar has a very similar GUI to the Nautilus... in fact, they both actually are trying to "emulate" Mac OSX file manager. Anyhow, to be short and precise, almost anything that Nautilus can do, Thunar can do them as well...

... from deleting/creating folders to navigating using different views, expanding features via installing new plugins and generating previews of certain file types, etc ... it certainly is very powerful.

If you want to install Thunar in Ubuntu then open your Terminal and issue the below command.
sudo apt-get install thunar
Although this won't replace your Nautilus file manager and whenever you double click on any folder, it won't be opened using Thunar. If you want to replace Nautilus with it then,

1. Create a text file called = defaultthunar

and enter the below text into it and save it in your "Home" folder.
#!/bin/bash

## Originally written by aysiu from the Ubuntu Forums
## This is GPL'ed code
## So improve it and re-release it

## Define portion to make Thunar the default if that appears to be the appropriate action
makethunardefault()
{
## I went with --no-install-recommends because
## I didn't want to bring in a whole lot of junk,
## and Jaunty installs recommended packages by default.
echo -e "\nMaking sure Thunar is installed\n"
sudo apt-get update && sudo apt-get install thunar --no-install-recommends

## Does it make sense to change to the directory?
## Or should all the individual commands just reference the full path?
echo -e "\nChanging to application launcher directory\n"
cd /usr/share/applications
echo -e "\nMaking backup directory\n"

## Does it make sense to create an entire backup directory?
## Should each file just be backed up in place?
sudo mkdir nonautilusplease
echo -e "\nModifying folder handler launcher\n"
sudo cp nautilus-folder-handler.desktop nonautilusplease/

## Here I'm using two separate sed commands
## Is there a way to string them together to have one
## sed command make two replacements in a single file?
sudo sed -i -n 's/nautilus --no-desktop/thunar/g' nautilus-folder-handler.desktop
sudo sed -i -n 's/TryExec=nautilus/TryExec=thunar/g' nautilus-folder-handler.desktop
echo -e "\nModifying browser launcher\n"
sudo cp nautilus-browser.desktop nonautilusplease/
sudo sed -i -n 's/nautilus --no-desktop --browser/thunar/g' nautilus-browser.desktop
sudo sed -i -n 's/TryExec=nautilus/TryExec=thunar/g' nautilus-browser.desktop
echo -e "\nModifying computer icon launcher\n"
sudo cp nautilus-computer.desktop nonautilusplease/
sudo sed -i -n 's/nautilus --no-desktop/thunar/g' nautilus-computer.desktop
sudo sed -i -n 's/TryExec=nautilus/TryExec=thunar/g' nautilus-computer.desktop
echo -e "\nModifying home icon launcher\n"
sudo cp nautilus-home.desktop nonautilusplease/
sudo sed -i -n 's/nautilus --no-desktop/thunar/g' nautilus-home.desktop
sudo sed -i -n 's/TryExec=nautilus/TryExec=thunar/g' nautilus-home.desktop
echo -e "\nModifying general Nautilus launcher\n"
sudo cp nautilus.desktop nonautilusplease/
sudo sed -i -n 's/Exec=nautilus/Exec=thunar/g' nautilus.desktop

## This last bit I'm not sure should be included
## See, the only thing that doesn't change to the
## new Thunar default is clicking the files on the desktop,
## because Nautilus is managing the desktop (so technically
## it's not launching a new process when you double-click
## an icon there).
## So this kills the desktop management of icons completely
## Making the desktop pretty useless... would it be better
## to keep Nautilus there instead of nothing? Or go so far
## as to have Xfce manage the desktop in Gnome?
echo -e "\nChanging base Nautilus launcher\n"
sudo dpkg-divert --divert /usr/bin/nautilus.old --rename /usr/bin/nautilus && sudo ln -s /usr/bin/thunar /usr/bin/nautilus
echo -e "\nRemoving Nautilus as desktop manager\n"
killall nautilus
echo -e "\nThunar is now the default file manager. To return Nautilus to the default, run this script again.\n"
}

restorenautilusdefault()
{
echo -e "\nChanging to application launcher directory\n"
cd /usr/share/applications
echo -e "\nRestoring backup files\n"
sudo cp nonautilusplease/nautilus-folder-handler.desktop .
sudo cp nonautilusplease/nautilus-browser.desktop .
sudo cp nonautilusplease/nautilus-computer.desktop .
sudo cp nonautilusplease/nautilus-home.desktop .
sudo cp nonautilusplease/nautilus.desktop .
echo -e "\nRemoving backup folder\n"
sudo rm -r nonautilusplease
echo -e "\nRestoring Nautilus launcher\n"
sudo rm /usr/bin/nautilus && sudo dpkg-divert --rename --remove /usr/bin/nautilus
echo -e "\nMaking Nautilus manage the desktop again\n"
nautilus --no-default-window &

## The only change that isn't undone is the installation of Thunar
## Should Thunar be removed? Or just kept in?
## Don't want to load the script with too many questions?
}



## Make sure that we exit if any commands do not complete successfully.
## Thanks to nanotube for this little snippet of code from the early
## versions of UbuntuZilla
set -o errexit
trap 'echo "Previous command did not complete successfully. Exiting."' ERR


## This is the main code
## Is it necessary to put an elseif in here? Or is
## redundant, since the directory pretty much
## either exists or it doesn't?
## Is there a better way to keep track of whether
## the script has been run before?
if [[ -e /usr/share/applications/nonautilusplease ]]; then

restorenautilusdefault

else

makethunardefault

fi;

2. Then open your Terminal and enter the below command.
chmod +x defaultthunar
./defaultthunar
But remember, unlike with Nautilus, you could run into few "issues" while trying to preview/thumbnails on videos for instance (there could be a separate plug for that) in Thunar. In that case, if you want to restore Nautilus back, then use the below command. Good luck.
./defaultthunar 
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in 11.04 natty narwhal, file managers, linux, ubuntu | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • How to Install "The Board" in Ubuntu? (GTK+ written dedicated Digital Diary)
    If you frequently use your computer for hours and hours daily... then even after installing cool theme and other stuff to make the desktop l...
  • traGtor - ffmpeg Encoder GUI for GNU/Linux (one of the best!)
    I maybe wrong on this one but I think the origin of the Qt written KDE desktop actually comes from the German programmers. But the point is ...
  • Install Gdiskdump in Ubuntu 11.04 - An Easy To Use Disk Cloning Tool for GNU/Linux!
    Although for Microsoft Windows there are several excellent commercial and free applications available yet with GNU/Linux when it comes to di...
  • How to Access Few "Advanced Preferences" Settings in Nautilus File Manager?
    Nautilus is the default file management utility in Gnome desktop environment (which is also shared by the Ubuntu Unity as well). Although ...
  • Wipe - Secure File Delete Application for GNU/Linux
    Not just in GNU/Linux but in any operating system, just because you deleted the files from the hard disk drive doesn't mean that they...
  • Install Agave in Ubuntu - Excellent Color Palettes Creator for GNU/Linux!
    I think anyone would agree on the fact that both colors and our emotions (buggers... control our lives one way or the other :P) are bound to...
  • Have You Watched the "Free Software Song"?
    I saw this song (in video) for the first time few years ago while watching the Revolution OS, a movie which basically exposes the birth of G...
  • GDM Tweaker - A Tool For Changing GDM Background/Theme Easily
    Although Ubuntu decided to drop GDM from the future releases still with Ubuntu, setting up your GDM screen is almost impossible (you know c...
  • How to Build a New Computer under $200
    This article will present a brief tutorial explaining how to repair or build a Windows PC. More instruction will be added as time permits. B...
  • MediaInfo - An Advanced Audio/Video Tag "Reader" for GNU/Linux and MS Windows
    If you have installed the proper codecs in MS Windows and GNU/Linux, the operating system can read Tag information which holds information s...

Categories

  • 11.04 natty narwhal
  • 11.10
  • 3d rendering
  • addons
  • address books
  • adobe
  • adobe flash
  • adobe flash player
  • amarok
  • amarok for windows
  • andorid
  • android
  • android applications
  • android apps
  • android phones
  • android tablets
  • app launchers
  • apple
  • applets
  • application indicator
  • applications
  • applications for windows
  • archive managers
  • arios
  • art
  • arts
  • asus
  • asus eee pc
  • ati
  • ati catalyst
  • audio
  • audio converts
  • audio editors
  • audio encoders
  • audio players
  • audio tag editing
  • audio utilities
  • ayatana scrollbars
  • backup
  • backup tools
  • banners
  • batter saver
  • battery calibration
  • benchmark testing
  • bittorrent
  • bittorrent clients
  • blogger
  • blogger news
  • blogger platform
  • blogging
  • blogging tips
  • blogging utilities
  • blu-ray
  • boot loaders
  • BSOD
  • business card creator
  • Canonical
  • cd/dvd burners
  • chat clients
  • checksum checker
  • chrome
  • chrome addons
  • chrome os
  • chromium
  • clamav
  • cloud computing
  • cloud comupting
  • cloud storage
  • clutter
  • collaborative editor
  • command line
  • commands
  • community
  • compiz
  • computer repair
  • computers
  • cross-platform
  • data backup
  • data encrption
  • desklets
  • desktop environments
  • digital audio workstation
  • disk cloning
  • disk drive erasers
  • disk image burning
  • disk images
  • disk partition editors
  • display managers
  • distributions
  • docks
  • download managers
  • drawing tools
  • drivers
  • driving lessons
  • dropbox
  • dvd authoring
  • dvd backup
  • dvd creator
  • e-book managers
  • e-mail
  • e-mail clients
  • e-mails
  • eee pc
  • elementary os
  • email clients
  • emails
  • encoding
  • encorders
  • experiences
  • facebook
  • fedora
  • fedora core
  • fedora core 15
  • fedora core learn
  • feed readers
  • file management tools
  • file managers
  • file manegers
  • file recovering
  • file splitters
  • file systems
  • filesystems
  • finance
  • firefox
  • firefox 5
  • firefox 6
  • firefox addons
  • firefox5
  • firmware utilities
  • flash videos
  • flickr
  • fonts
  • frustrations
  • fun
  • gadgets
  • GDM
  • gentoo
  • gimp
  • gmail
  • Gnome
  • gnome 3 shell theme
  • gnome 3.2
  • gnome applications
  • gnome desktop
  • gnome shell
  • gnome3
  • gnu
  • gnu emacs
  • gnu-linux
  • gnu-linux distributions
  • goober
  • google
  • google chrome
  • google chrome extensions
  • google maps
  • GPU
  • graphic design
  • graphic utilities
  • grey screen of death
  • grub editors
  • gtk
  • gtk applications
  • gtk themes
  • gtk3
  • gtk3 themes
  • hardware monitors
  • hdd clone tools
  • hdd tools
  • health
  • hobbies
  • html5
  • icons
  • ideas
  • im clients
  • iMac computer repair
  • iMac error
  • image editiors
  • image organizers
  • image resizers
  • image utilities
  • image viewers
  • iphone
  • itunes
  • java
  • journal applications
  • kde
  • kde 4.6
  • kde applications
  • kde-qt
  • kernel
  • kubuntu
  • kubuntu 11.04
  • laptops
  • learn
  • learn linux
  • legal
  • libre office
  • life
  • lightdm
  • linux
  • Linux distributions
  • linux keyboards
  • linux mint
  • linux multimedia players
  • linux music players
  • loco teams
  • logmein
  • lubuntu
  • lxde vs xfce
  • mac osx
  • mandriva
  • media players
  • metacity
  • microsoft windows
  • mounting
  • mplayer
  • ms windows
  • multi-touch gestures
  • multimedia
  • multimedia codecs
  • multimedia converters
  • multimedia players
  • multimedia utilities
  • music players
  • mypaint
  • natty narwhal
  • nautilus
  • nautilus scripts
  • nautilus tips
  • netbooks
  • netbooks under 200-250
  • network monitoring
  • networking
  • news
  • nokia phone suite
  • note taking
  • ntfs
  • nvidia
  • office productivity suits
  • office suits
  • oneiric ocelot 11.10
  • online radio
  • online storage
  • open source
  • open-source
  • opensource
  • opensuse
  • operating systems
  • optical disk burners
  • optical disks
  • optimizations
  • package managers
  • painting tools
  • parent control
  • password generators
  • password managers
  • pdf editors
  • pdf readers
  • pdf tools
  • pim software
  • pinguy os
  • plasma
  • plugins
  • portable
  • portable applications
  • portable laptops
  • privacy
  • professional video editors
  • programming tools
  • project management software
  • proprietary drivers
  • python applications
  • qt
  • qt applications
  • qt4
  • registry cleaner
  • remote access
  • remote desktop access
  • reviews
  • roboform
  • rom flashing
  • rss readers
  • satellite trackers
  • scanning tools
  • screen recorders
  • screenshot taker
  • scripts
  • search engines
  • security
  • shell extensions
  • shell themes
  • skype
  • smart phones
  • software
  • software emulators
  • sound servers
  • source code editor
  • stack exchange
  • startup managers
  • stock market
  • swimming
  • system cleaner
  • system information
  • system monitors
  • tablet pcs
  • tablets
  • task killers
  • tech help
  • tech news
  • tech tips
  • technology
  • terminal emulators
  • text editors
  • text translators
  • themes
  • thunar
  • thunderbir
  • thunderbird5
  • tips
  • transformation packs
  • tutorials
  • tweaks
  • twitter
  • ubunt
  • ubuntu
  • ubuntu 11.10
  • ubuntu 11.10 alpha 3
  • ubuntu derivatives
  • ubuntu derrivatives
  • ubuntu minimal install
  • ubuntu netbooks
  • ubuntu news
  • ubuntu one
  • ubuntu tablet
  • ultrabooks
  • unity 2d
  • unity desktop
  • unity desktop apps
  • usb
  • utilities
  • vector graphics
  • video editors
  • video utilities
  • videos
  • virtualbox
  • virtualization
  • virus scanners
  • vlc
  • voip
  • wallpaper contest
  • wallpapers
  • weather apps
  • web browser addons
  • web browsers
  • webcam
  • weight loss
  • weird
  • widgets
  • window managers
  • windows
  • wine
  • xml editors
  • xubuntu
  • youtube

Blog Archive

  • ►  2012 (7)
    • ►  August (2)
    • ►  June (1)
    • ►  May (3)
    • ►  January (1)
  • ▼  2011 (515)
    • ►  December (3)
    • ►  November (1)
    • ►  October (16)
    • ►  September (57)
    • ►  August (59)
    • ►  July (81)
    • ►  June (112)
    • ▼  May (149)
      • How To Install emesene 2.11.5 in Ubuntu 11.04 Natt...
      • Chinese Prisoners Who Make £470-570 A Day Online, ...
      • Install Mailnag in Fedora Core 15 - An Email Notif...
      • Asus EeePC X101 Netbook , Powered by the "MeeGo" L...
      • Ubuntu Tablet ,The TENQ P07
      • Transformer TF101 - Asus Eee Pad That Runs Android...
      • Linux Kernel 3.0 RC1 is Officially Released!
      • easyLife - Installing Proprietary Software in Fedo...
      • How To Install Gwibber in Ubuntu 11.04 Natty Narwhal?
      • How To Extract ".deb" Packages in Fedora Core?
      • Foxit Reader 5 Is Released - GNU/Linux is Now Offi...
      • How To Install Rhythmbox in Ubuntu 11.04 Natty Nar...
      • gekosMac (GTK Theme) - Make Ubuntu 11.04 Natty Nar...
      • MediaInfo - An Advanced Audio/Video Tag "Reader" f...
      • How To Install Thunar File Manager In Ubuntu?
      • Install gxmms2 in Ubuntu 11.04 Natty Narwhal - A G...
      • They Weren't Kidding... Gnome OS is Underway!
      • How to Install Decibel Audio Player in Ubuntu?
      • How To Setup K-Lite Media Player to Automatically ...
      • Wanna Know How To Create an Off-line Multimedia Co...
      • Install Sunflower in Ubuntu 11.04 Natty Narwhal (S...
      • Ambiance Evolution - Another "Customized" GTK2 The...
      • Miro 4 Is Released, How To Install it in Ubuntu 11...
      • Does Skype Keep Aborting After Logging in (Under G...
      • How To Install Music On Console (MOC) Player in Ub...
      • LCDs and DC Jacks, Two Lucrative Laptop Repairs
      • ScribeFire - A Blogging "Client" Addon for Your We...
      • Install Agave in Ubuntu - Excellent Color Palettes...
      • How to Install Gnome Music Player Client (GTK2+ wr...
      • How To add Minimize/Maximize/Restore Buttons in Gn...
      • Anti Mosquito - An App to Keep Mosquitoes Away fro...
      • How To Install Listen Music Player in Ubuntu (11.0...
      • Meet the Redesigned, Awesome Phonon (Multimedia Fr...
      • Key Status Monitor (Key-Mon) - On Screen Keyboard ...
      • UMPlayer 0.9.5 is Released (Qt written, Media Play...
      • Ubuntu Ambiance Gnome Shell (GTK3) theme
      • Install Super Boot Manager In Ubuntu (11.04/10.10)...
      • Fedora Core 15 Is Officially Released!
      • Format Factory - An Excellent Multimedia Converter...
      • Oxymentary - KDE Oxygen Icon Theme for Gnome (GTK+...
      • Install Turpial 1.5.0 in Ubuntu (Twitter Desktop "...
      • Install Touchpad Indicator in Ubuntu - More Contro...
      • How to Install Muon Package Manager 1.2 (Beta) in ...
      • Steadyflow 0.1.7 is Released - How To Install it i...
      • How To Install Firefox5 in Ubuntu 11.04 Natty Narw...
      • Evolution 3 Arrives for Gnome Shell Desktop Users!
      • Introducing Split-lossless Script (Nautilus) - "Ex...
      • How To Install Gnome Media Player in Ubuntu 11.04 ...
      • How To Install Transmission Bittorrent Client in U...
      • Meet BeatBox! - Another Cool Music Player from the...
      • Install GoldenDict in Ubuntu - An Excellent Offlin...
      • Install GPRename in Ubuntu - Renaming Multiple Fil...
      • Wanna Install the "Old" Netbook Launcher in Ubuntu...
      • Gmail Introduces AIM Chat, (No AOL Log-in Necessary!)
      • The Unarchiver for GNU/Linux - Finally, "Something...
      • Install The JStock, Stock Market "Tracker" in Ubun...
      • How To Install Qt Written Unity 2D Desktop in Ubun...
      • Confity - Another Simple Utility to Customize Few ...
      • Deviantart Stash Plugins 1.0 for Gimp and Inkscape...
      • GDM Tweaker - A Tool For Changing GDM Background/T...
      • How To Install Rosegarden in Ubuntu
      • EveInstaller - Installing Most Popular Application...
      • YeoWorks Ubuntu Solutions - A Cool Utility To Help...
      • Set the Throttle to Light Speed with a 1000 Core P...
      • Google Has Officially Released the Android 3.1!
      • Have You Tried The Rightmark CPU Clock Utility?
      • What Is the Lowest (best) Possible Bitrate for a S...
      • SRWare Iron - Chromium Based Web Browser Which "Re...
      • GUnity: An Interesting Power-tool to Customize Ubu...
      • Install the Excellent "Psensor" (Hardware Monitori...
      • Install pyBrowser in Ubuntu 11.04 Natty Narwhal
      • DeaDBeeF - A Simple Music Player for GNU/Linux (Es...
      • Virtualbox 4.0.8 is Released!, How To Install it i...
      • Ubuntu Developer Summit (UDS), Few Official Videos...
      • Gpick - An Easy to Use Color Picker for Gnome Desk...
      • Install the Evolution Indicator in Ubuntu 11.04 Na...
      • Wanna Add A Fedora Core 15 Countdown Banner to You...
      • GNU SIP Witch 1.0 Is Out!
      • Have You Watched the "Free Software Song"?
      • Translate-Me: A Simple Text Translator for Ubuntu ...
      • "A New Start", Another Awesome GTK+ Theme for Your...
      • Calibre For GNU/Linux, Managing E-Books Made Easy!
      • Install Uget Download Manager in Ubuntu 11.04 Natt...
      • No More GDM in Ubuntu, Meet the new Log-in Manager...
      • The Perfect "Con", That Which Really Drifts Me Tow...
      • What Happened To Blogger?
      • What Is Battery Calibration and When Should You Do...
      • Is this What Canonical/Mark Wants Us to "Choose"?
      • Videoporama - A Fully Featured Video/Image Slide S...
      • Banshee 2.0.1 is Released - How To Install it in U...
      • My Weather Indicator - Easily Access Live Weather ...
      • Plasma Active : The Emerging "Software Contender" ...
      • Introducing "Muon" - The All New Software Manager ...
      • cGmail - Another Gmail Checker Front-end for Your ...
      • Udev-notify: A UserFriendly USB Device Detect Noti...
      • Linux Mint 11 Release Candidate (RC version) is out!
      • Bangarang 2.0, Features Rich Excellent Multimedia ...
      • From Now on: lubuntu Linux is An Official Derivati...
      • Ktorrent 4.1.1 Is Released!, How To Install it on ...
      • "Duplicati": Excellent Backup Utility for GNU/Lin...
    • ►  April (33)
    • ►  March (4)
  • ►  2008 (2)
    • ►  March (1)
    • ►  January (1)
Powered by Blogger.

About Me

Unknown
View my complete profile