Tweak Nautilus to better suit your needs

21 Lug/10

If there’s one thing that Linux has it’s flexibility. And this is true from the top down; from the desktop environment all the way down to the kernel. One area that offers a lot of tweaks, one that most new users aren’t used to being able to tweak, is the file manager. This is true for both the GNOME file manager and the KDE file manager. The GNOME file manager is Nautilus. I’ve written about it before here on Ghacks (see Nautilus-related content on Ghacks) and I thought I should show you some further explorations of one of the strongest file managers for the Linux desktop.

In this article I will show you how to deal with such issues as handling media, handling the deletion of files, browsing Nautilus as the root user, and maybe more. Read on Macduff!

Handling media

Figure 1

If you open up Nautilus to any of your folders that contain media and double click on any of those files, most likely Nautilus will ask you what to do with that file (unless you’ve already set a default application for that file type). Did you know, however, that you can instruct Nautilus what to do with just about any media type you can think of? Sure! Here’s what you need to do:

  1. Open up Nautilus.
  2. Click on the Media tab (see Figure 1).
  3. From the media type you are wanting to change select the action you want from the drop down.
  4. From the Other Media section you can set up less common media formats, and how you want Nautilus to handle them.

That’s it. You will notice, from the drop downs, there are already applications pre-configured to handle certain media types. If you don’t see the application you want to use just select Open with other application and then (in the new window) navigate to the executable for the application you want to use (usually in /usr/bin).

Now when you double click on of those media types the action you have configured will occur.

Deleting files

Have you noticed, if you right-click a file within Nautilus, your only option for deleting a file is to send it to the Trashcan? What if you KNOW you want that file gone (and not saved for later un-deletion)? Well, that is not a problem. You can easily add a Delete option to your right-click action menu. To do this click Edit > Preferences and then, from the Behavior tab, check the box for Include a Delete command that bypasses Trash. After you have done that, click Close on the Preferences window and now, when you right-click a file, you will see a Delete entry.

Open a root user Nautilus window

There are times you just need the power of root – even in your file manager. By default the only way to do this is to open up a terminal window and issue the nautilus command with either sudo or after you have su’ing to the root user. That is not the case. Here’s what you do:

1. Open up a terminal window.

2. Issue the command sudo nano /usr/share/applications/Nautilus-root.desktop

3. Add the following to that file:
[Desktop Entry]
Name=File Browser (Root)
Comment=Browse the filesystem with the file manager
Exec=gksudo “nautilus –browser %U”

Save that file and then click Applications > System Tools > File Browser (Root) and (after entering the root user password) you will have a Nautilus browser open as the root user! Handy.

Final thoughts

The configurations you can undertake with the Nautilus file manager seem limitless. In this article you have seen three such configurations, but you know there are plenty more where that came from. I hope these three tips have made your Linux file browsing much easier.

© Jack Wallen for gHacks Technology News, 2010. | Permalink | Add to, digg, facebook, reddit, <a href=" Nautilus to better suit your needsstumbleupon, twitter
Post tags: , , , , , ,

Continua a leggere – Original Link: Tweak Nautilus to better suit your needs

Technorati Tags: , , , , , ,

Realizzazione Sito Gestionale Immobiliare

Leggi Anche

Condividi in DeliciousCondividi in DiggCondividi in RedditCondividi in StumbleCondividi in MixxCondividi in Tecnorati


I commenti sono disabilitati per questo articolo.

I commenti sono chiusi.


    Spina Rosario
    Inserito da
Gestionale Immobiliare - Realizzazione Sito Web per Agenzia Immobiliare


Iscrizione Newsletter

    Tieniti informato http://con tutte le novità del mondo informatico con la nostra newsletter


    Auto Shop Italia
    Web Burning Blog
    Info Privacy