Adding "Open as administrator" to the nautilus context menu

In Linux the root acts as the administrator of the system and a number of operations like installation of new software,update of kernel etc can be performed only by the root of the user having the admin privileges.

Files that are created by the root or the admin can only be modified by admin only and no user is allowed to modify the files

While working on the terminal we can use the command sudo to get admin privileges but while working with GUI we usually do not have any option to use sudo command, thus we might have to learn the commands to open files from the terminal to be able to open files as the admin or root.

The work around for this in nautilus is to install the package

nautilus-gksu

Once this package is installed, we get an option “open as administrator” in right click menu as shown in the figure below.

Thus with this option we can open any file as root of the admin with out having to use the terminal.

Category: Linux | Comments Off on Adding "Open as administrator" to the nautilus context menu

5 useful tips for nautilus users

Here are 5 useful tips to get your work done faster when using nautilus,the genome desktop manager. 1.Split windows:

We are always used to viewing only a single window and generally use alt+tab to switch between multiple open windows. But nautilus has an option using which we can have two windows open side by side as shown below.

nautilus_split photo split.png

To open the two windows at the same time, just open nautilus and press F3 and the window will automatically split into two windows, and both of them can be controlled independently.

Press F3 again to go back to single window mode.

2. Open-Terminal:

For people who work on the terminal a lot, it might be useful to directly open a terminal in the same folder which is being displayed by nautilus. For e.g. in the following figure nautilus is at “/root” if we right click and click on open in terminal then the terminal will open with its present working directory as /root.

open_in_terminal photo open_in_terminal.png

If the option “open in terminal” is not visible, then we will have to install the package “nautilus-open-terminal”.

sudo apt-get-install nautilus-open-terminal

3. Change the view: We can change the view of the nautilus using the keyboard shortcuts

cntrl + 1 : Icons view

nautilus_icon photo icon.png

cntrl + 2 : List View

nautlus_list photo list.png

cntrl + 3 : Compat view .

nautilus_compact photo compact.png

4. Direct Delete: When we right click on any file or folder in nautilus we get an option “move to trash”, which is what is used to delete a file or a folder. On using this option the chosen file/s are moved to trash and then we have to empty trash to get rid of the files permanently.

nautilus_to_trash photo to_trash.png

We can enable another option in the right click which will directly delete the file without moving it to trash. Click on

edit->preferences

Click on the tab “Behavior”

direct_delete photo direct_delete.png

In this tab click on the check box for “Include a delete command that bypasses trash”

direct_delete_menu photo direct_delete_menu.png

Now click on close and right click on any file or folder to find an additional option called as “delete”. But be careful while using this option as once a file is deleted using this option it can not be recovered.

5. Adding bookmarks:

The left pane in nautilus generally displays links to Documents,Music,Pictures,Videos,Downloads. Other and these we can add folder,that we access often, to the pane either by simply dragging and dropping the folder into the pane or by clicking on

Bookmark->Add Bookmark

Category: Linux | Comments Off on 5 useful tips for nautilus users

How To Install Nemo File Manager In Ubuntu

After forking GNOME Shell (Cinnamon), Mutter (Muffin) and GDM 2.0 (MDM), the Linux Mint team has forked Nautilus and the result is Nemo, a file manager which is now used by default in Linux Mint Cinnamon Edition.
Nemo file manager git
Initially, Nemo used to look the same as the patched SolusOS Nautilus so I didn’t write about how to install it since it was basically the same thing under a different name.

But Nemo has evolved, gaining many new features and under the hood optimizations and tweaks. Here are some of the features available for Nemo file manager (for the version available in GIT / Cinnamon Nightly PPA) that aren’t included in Nautilus 3.4:Unified, configurable toolbar: you can add/remove the following: up icon, refresh icon, toggle button for the location bar / path bar, home icon, computer icon and search icon.Detachable tabsOption to show the full path in the titlebar and tab bars (Preferences > Display)Displays an “elevated privileges” banner when running as rootBuilt in “Open as root” context menu itemBuilt in “Open in terminal” context menu itemAdded GTK bookmarks to the MoveTo/CopyTo context menusAdded “Set as Wallpaper” to the context menuSwitch view buttons on the toolbar (Grid, List and Compact views)Drag and drop support for the bookmarks in the sidebarSidebar: indicators under each drive, displaying the free/used spaceCollapsable sidebar categoriesSupport for sending files via Thunderbird and xdg-emailImage properties improvements (merged from Nautilus 3.6)Memory leaks fixes (merged from Nautilus 3.6)More!
And Nemo has another advantage: it doesn’t overwrite Nautilus like the patched SolusOS Nautilus, so you can have both Nautilus and Nemo installed in the same time.

The Linux Mint / Nemo developers have also ported some Nautilus extensions to Nemo: there’s a Dropbox extension for Nemo, along with Pastebin, Seahorse, Fileroller and Samba extensions.

Below you’ll find some more Nemo screenshots – in the first one there’s Nemo 1.1.2 (stable) and the rest feature the latest Nemo from GIT:
Nemo file manager 1.1.2 stableNemo 1.1.2 (stable)
Nemo file manager GITNemo from GIT
Nemo file manager GIT
Nemo file manager GIT
Nemo file manager
Nemo file manager

Install Nemo file manager in Ubuntu
Before installing Nemo, there are a couple of things you should know:
installing Nemo will also install Cinnamon desktopif you’re using Cinnamon, it’s not recommended to add the Cinnamon Nightly PPA since it’s not stable. Only install Cinnamon from the Nightly PPA for testing purposes

Install the stable Nemo release in Ubuntu
Install the latest stable Nemo release (1.1.2) in Ubuntu 12.10 or 12.04 using the Cinnamon Stable PPA:sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable
sudo apt-get update
sudo apt-get install nemo

Install the latest Nemo file manager from GIT in Ubuntu
Or, if you want the latest features (but probably less stability and more bugs), install the latest Nemo file manager from GIT in Ubuntu 12.04 or 12.10 by using the Cinnamon Nightly PPA:sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-nightly
sudo apt-get update
sudo apt-get install nemo

Nemo shows up as “Files” in the menu, just like Nautilus so it’s a bit hard to find in the menu / Dash or whatever you’re using. So search for “Nemo” and launch the first “Files” app that shows up, that will (hopefully) be Nemo file manager.
After you log out and log back in, you’ll notice that Nemo draws the desktop instead of Nautilus. If you want to continue to use Nautilus for drawing the desktop instead of Nemo, do the following:
– Run the following command so Nemo shows up in the Startup Applications list (it’s hidden by default):
sudo sed -i ‘s/NoDisplay=true/NoDisplay=false/g’ /etc/xdg/autostart/nemo-autostart.desktop
– Then launch Startup Applications and uncheck Nemo – it’s called files, but look under the name – it should say “Start Nemo desktop at login”, like in the screenshot below:
Nemo autostart
– Then log out and log back in.

The Nemo file manager source code is available @ GitHub.

Originally published at WebUpd8: Daily Ubuntu / Linux news and application reviews.



Category: Ubuntu | Comments Off on How To Install Nemo File Manager In Ubuntu

Add a "New Empty File" Entry To Nautilus 3.6 Context Menu

As you probably know, a small but useful feature – at least for me -, was removed from Nautilus 3.6 (and newer): the context menu option to create a new empty text file. So here’s a quick tip on how to get this feature back.
nautilus 3.6 new empty file
Nautilus 3.6 is not used by default in Ubuntu 12.10, but it can be installed from the GNOME 3 PPA.

The instructions below will add a “New empty file” entry to the Nautilus 3.6 context (right click) menu by using a tiny extension. To do this, open a terminal and copy/paste the following commands:mkdir -p /.local/share/nautilus-python/extensions
gedit ~/.local/share/nautilus-python/extensions/nautilus-acme.py
In the file that opens in Gedit (nautilus-acme.py), paste the code from HERE, then save the file.
And finally, restart Nautilus using the following command:
nautilus -q
You should now have a “New empty file” context menu entry in Nautilus 3.6 like in the screenshot above (tested with 3.6, but it might work in newer versions like 3.7).

Update: for an alternate method using “Templates”, see THIS AskUbuntu post.
thanks to notes & snippets for the extension!

Originally published at WebUpd8: Daily Ubuntu / Linux news and application reviews.



Category: Ubuntu | Comments Off on Add a "New Empty File" Entry To Nautilus 3.6 Context Menu

Add a "New Empty File" Entry To Nautilus 3.6 Context Menu

As you probably know, a small but useful feature – at least for me -, was removed from Nautilus 3.6 (and newer): the context menu option to create a new empty text file. So here’s a quick tip on how to get this feature back.
nautilus 3.6 new empty file
Nautilus 3.6 is not used by default in Ubuntu 12.10, but it can be installed from the GNOME 3 PPA.

The instructions below will add a “New empty file” entry to the Nautilus 3.6 context (right click) menu by using a tiny extension. To do this, open a terminal and copy/paste the following commands:mkdir -p ~/.local/share/nautilus-python/extensions
gedit ~/.local/share/nautilus-python/extensions/nautilus-acme.py
In the file that opens in Gedit (nautilus-acme.py), paste the code from HERE, then save the file.
And finally, restart Nautilus using the following command:
nautilus -q
You should now have a “New empty file” context menu entry in Nautilus 3.6 like in the screenshot above (tested with 3.6, but it might work in newer versions like 3.7).

Update: for an alternate method using “Templates”, see THIS AskUbuntu post.
thanks to notes & snippets for the extension!

Originally published at WebUpd8: Daily Ubuntu / Linux news and application reviews.



Category: Ubuntu | Comments Off on Add a "New Empty File" Entry To Nautilus 3.6 Context Menu

How To Install Nautilus 3.6 Or Patched Nautilus 3.4 In Ubuntu 12.10 Quantal Quetzal

Ubuntu 12.10 Quantal Quetzal, which will be released in 2 days, will use Nautilus 3.4 by default, the same version used in Ubuntu 12.04. If, however, you want to use Nautilus 3.6 or the patched Nautilus we’ve talked about a while back, in Ubuntu 12.10 Quantal Quetzal, you’ll find installation instructions below.

Install Nautilus 3.6 in Ubuntu 12.10 Quantal Quetzal
nautilu 3.6
Some features were removed from Nautilus 3.6, like the extra pane (F3) feature, but it also got some new features and an updated UI along with many bug fixes. So there might be Ubuntu 12.10 users who want to upgrade to Nautilus 3.6.
Nautilus 3.6 includes:
a new way of searching for files has replaced both the old search tool and the “search as you type” featurenew toolbar and pathbar, GNOME Shell appmenu, a new “cog” menu, symbolic icons for the sidebar, a new “Recent” section in the sidebarlist view changes: new date format display, better column order, new icon size: 32
Nautilus 3.6 is available in the official GNOME 3 PPA for Ubuntu 12.10, along with a few other packages missing from the Quantal repositories like the latest Brasero or Totem.
Add the GNOME 3 PPA in Ubuntu 12.10 Quantal Quetzal using the command below:sudo add-apt-repository ppa:gnome3-team/gnome3
Then, launch Software Updater from Dash / menu and use it to upgrade your packages. Once the upgrade finishes, restart Nautilus and you should be using the latest Nautilus 3.6:killall nautilus(“nautilus -q” didn’t work in my test after upgrading from 3.4 to 3.6)

If later on you want to go back to Nautilus 3.4, use the following commands:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:gnome3-team/gnome3

Install SolusOS Patched Nautilus 3.4 In Ubuntu 12.10
solusos nautilus 3.4
If you want to keep the features available in Nautilus 3.4, but get a toolbar that spreads across the whole window width, which looks a lot better than the default, along with a configurable toolbar from which you can add or hide: up, refresh, home, computer, search and toggle location/path bar icons, there’s another alternative: Nautilus 3.4 with the Solus OS 2 patches, which I’ve just uploaded to our experiments PPA for Ubuntu 12.10 (also comes with the Ubuntu 12.10 patches).
To add the PPA in Ubuntu 12.10, use the commands below:
sudo add-apt-repository ppa:webupd8team/experiments
Then, launch Software Updater from Dash / menu and use it to upgrade your packages. Once the upgrade finishes, restart Nautilus and you should be using the patched Nautilus 3.4 from Solus OS:nautilus -q
If later on you want to go back to Nautilus 3.4, use the following commands:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:webupd8team/experiments

Originally published at WebUpd8: Daily Ubuntu / Linux news and application reviews.



Related Blogs

    Category: Ubuntu | Comments Off on How To Install Nautilus 3.6 Or Patched Nautilus 3.4 In Ubuntu 12.10 Quantal Quetzal