Feeds:
Posts
Comments

Posts Tagged ‘Toolbar’

PLEASE NOTE: This article is for earlier versions of Ubuntu running on Gnome 2.x, so will not work in Unity (the default desktop environment) or Gnome Shell, both of which are based on Gnome 3.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

If you’ve created custom toolbar buttons for Ubuntu’s file manager, Nautilus, you might find them gone after a system upgrade. This is simply because the file nautilus-navigation-window-ui.xml has been overwritten with a fresh copy with default settings.

To save having to edit that file each time this happens, you can backup the edited file by copying it somewhere safe, which you can do quickly via the terminal. Then when you need to restore your settings, another command will quickly do this for you.

In the example, nautilus-navigation-window-ui.xml will be copied to a folder called Settings inside your home folder, but you can change that to whatever you like.

Backup Modified Nautilus Settings

sudo cp /usr/share/nautilus/ui/nautilus-navigation-window-ui.xml ~/Settings/nautilus-navigation-window-ui.xml

Restore Modified Nautilus Settings

sudo cp ~/Settings/nautilus-navigation-window-ui.xml /usr/share/nautilus/ui/nautilus-navigation-window-ui.xml

For the changes to take effect, you’ll need to restart Nautilus, which you can do with:

nautilus -q

in a terminal or via Alt+F2.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Advertisements

Read Full Post »

PLEASE NOTE: This article was written for earlier versions of Nautilus File Manager (2.x) found in earlier Ubuntu releases running on Gnome 2.x, so most of the cosmetic customisations (background/colours and custom toolbar buttons) will not work in Unity (the default desktop environment) or Gnome Shell, both of which are based on Gnome 3. However, the guides for plugins/extensions are still valid, as well as most of the tips for getting more out of Nautilus. Tricks that will only work in legacy versions are marked “Gnome 2 Only“.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Nautilus is the default file manager for Gnome-based Linux distros like Ubuntu, and has many great features while being easy-to-use for newbies.

But you can make it even more useful, and even more attractive, without too much effort or fuss. So what you’ll find here are links to various articles in this blog dedicated to this task, split up into sections for easier browsing.

While cosmetic alterations and enhancements are some tricks you might try for the fun of it, other tips offer far more usability than you may have thought possible in Nautilus, and may even be the answers to features you’ve been longing to see in the list of your file browser’s capabilities.

°ºÒθÓº°

Nautilus Toolbar Enhancements:

Add Toolbar Buttons for New Folder, Cut, Copy, Paste & Trash/Delete (Gnome 2 Only)

Add a File/Folder “Properties” Button to the Nautilus Toolbar (Gnome 2 Only)

°ºÒθÓº°

Essential Nautilus Extensions:

Nautilus Open Terminal: Command-Line in the Current Folder

Nautilus GKSU: Open Files & Folders with Administrative Privileges

°ºÒθÓº°

More Cool Nautilus Plugins:

Nautilus Image Converter: Easily Resize & Rotate Pictures

Nautilus Image Resizer Extension

Open Selected Folders in New Windows with Nautilus-Actions

Nautilus-Actions: Open in New Window

Open Selected Folder in Image Viewer or Movie Player with Nautilus-Actions

Nautilus-Actions: Adding Movie Player/Videos to Context Menu (DONE!)

Nautilus Pastebin: Send Text Clips to the Web

°ºÒθÓº°

Cosmetic Alterations to Nautilus:

Change Background/Colour/Gradient & Assign File/Folder Emblems (Gnome 2 Only)

°ºÒθÓº°

Tweaking Nautilus Settings:

Show Hidden Files by Default in Nautilus

Show Text-Entry Address Bar or “Breadcrumbs” (Buttons)

Enable Split-Pane File Browsing (Gnome 2 Only)

Nautilus Thumbnails: Zoom In or Out with Your Mouse

°ºÒθÓº°

Applying New Settings:

Apply New Settings Immediately Without Rebooting

°ºÒθÓº°

File Management Tricks:

Change File Icon & Permissions + Default Program for a File Extension

Add Program to List of Applications in “Open With” When Right-Clicking Files in Nautilus

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

°ºÒθÓº°

Read Full Post »

PLEASE NOTE: This article is for earlier versions of Nautilus File Manager (2.x) found in earlier Ubuntu releases running on Gnome 2.x, so will not work in Unity (the default desktop environment) or Gnome Shell, both of which are based on Gnome 3.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

It’s actually quite easy to add a few more basic buttons to the Nautilus toolbar, which you’ll see if you read this guide for adding Cut, Copy & Paste buttons. To add aPropertiesbutton to save you constantly right-clicking files and folders for more info, simply add the following line to nautilus-navigation-window-ui.xml:

<toolitem name="Properties" action="Properties" />

°ºÒθÓº°

Apply New Settings Immediately Without Rebooting

°ºÒθÓº°

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »

PLEASE NOTE: This article is for earlier versions of Nautilus File Manager (2.x) found in earlier Ubuntu releases running on Gnome 2.x, so will not work in Unity (the default desktop environment) or Gnome Shell, both of which are based on Gnome 3.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

You can add some extra buttons to your Nautilus toolbar, simply by editing a bit of text. What I’ll show you how to do is add buttons for “New Folder” (to create a new folder in the current one), standard editing tools “Cut“, “Copy” and “Paste“, as well as a “Trash” button (to move items to Trash).

There will be a separator after “New Folder“, and the new buttons will be in the centre of the toolbar, but you can leave out the separator (or add more), put the buttons wherever you want, and of course leave out any button you don’t think you’ll ever need.

You can also add an optional “Delete” button, which will bypass the Trash and permanently delete the selected item(s). While this sounds dangerous, you will get a warning message informing you of what you are about to do (unless you disabled that in Nautilus’ preferences), and you will need to click to proceed.

What you’ll be doing is editing a Nautilus configuration file, so we’ll back it up first, just in case. Simply copy the whole command below and paste it in a terminal, and it will backup nautilus-navigation-window-ui.xml before opening it up for editing:

cd /usr/share/nautilus/ui/ && sudo cp nautilus-navigation-window-ui.xml nautilus-navigation-window-ui-BACKUP.xml && sudo gedit nautilus-navigation-window-ui.xml

Copy the following text and paste it between the “Go to Computer” and “Zoom” toolbar entries near the bottom of the file:

<separator/>
<toolitem name=”New Folder” action=”New Folder”/>
<separator/>
<toolitem name=”Cut” action=”Cut”/>
<toolitem name=”Copy” action=”Copy”/>
<toolitem name=”Paste” action=”Paste”/>
<toolitem name=”Trash” action=”Trash”/>

If you want to maintain the formatting of the code, hit the Tab key once at the beginning of each line, so it looks like:

To add that “Delete” button, add the following code after the “Trash” entry (or wherever you want), and you can even add a separator between the two, to save you accidentally clicking the wrong one:

<toolitem name=”Delete” action=”Delete”/>

As you can see, it’s just plain text which you can move around and add to, so feel free to put things where you want and in whatever order you prefer. Then simply save the file once you’re finished, and to make the changes take effect without rebooting, you can force Nautilus to restart with the following command:

killall nautilus

When you open the next folder window, your new buttons should be there. And if you want to edit the config file again in the future, just run the following command:

sudo gedit /usr/share/nautilus/ui/nautilus-navigation-window-ui.xml

◊◊◊◊◊◊◊◊◊◊◊◊◊◊◊◊◊◊◊◊◊◊◊◊

RELATED GUIDES:

Add a File/Folder “Properties” Button to the Nautilus Toolbar

Apply New Settings Immediately Without Rebooting

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »