Sponsored Content
Operating Systems Linux nautilus set as default filemanager howto Post 302555318 by cokedude on Wednesday 14th of September 2011 11:50:39 AM
Old 09-14-2011
nautilus set as default filemanager howto

A quick howto on how to set nautilus as your default filemanager.

Add this line to the file below. This is for user settings

Code:
inode/directory=nautilus.desktop

Code:
vi ~/.local/share/applications/mimeapps.list

This is for global settings.

Code:
ls /usr/share/applications | grep nautilus

Check the inode/directory line for nautilus.desktop. If its not there add it.
Format for this file
Code:
inode/directory=nautilus.desktop;

Code:
vi /usr/share/applications/mimeinfo.cache

Format for this file
Code:
inode/directory=nautilus.desktop

Code:
vi /usr/share/applications/defaults.list

I know this is ubuntu but its still helpful.
https://help.ubuntu.com/community/DefaultFileManager
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cyrillic in Nautilus

Well. Again. I have followed all the instructions in the Russian localization HOWTO and I am able to type in Russian and read it correctly in most programs such as Firefox, email and so on. However in the Nautilus file viewer, I get only ________ marks. I've seen some packages for Russian... (7 Replies)
Discussion started by: Levenson
7 Replies

2. Shell Programming and Scripting

Need help howto make a script for Set SNOOP run for 5 minutes

Hi all, I want to monitoring my interface every 6 hours where i want to run snoop command to capture all packet through the interface, so i want running snoop then snoop will run for 5 minutes after that snoop stop then will start again after 6 hours than run for 5 minutes again. thereis any... (9 Replies)
Discussion started by: tindasz
9 Replies

3. UNIX for Dummies Questions & Answers

auto change filemanager folder colors dependent on location in directory hierarchy

Hello, Is it possible to make a file manager use different "colored folders" when browsing specific directories? For example, if I open a gnome file manager and browse my windows share at, smb://192.168.1.101/z/ , can I make those folders appear green? And when I open another instance of... (0 Replies)
Discussion started by: bz43
0 Replies

4. Shell Programming and Scripting

Howto set string variable in TCL?

Anyone knows how to set variable in TCL ? let say i have a password variable and it will have different values. set variable and variable has different values like: xxxx yyyy zzzz (0 Replies)
Discussion started by: linuxgeek
0 Replies

5. Ubuntu

Nautilus..launcher!!

Ha!! i am on ubuntu 11.04..i was customizing it the other day!!(applying themes,icons,conky and the likes..)..now i realize that the the "Create launcher..." option you get when you right click on the desktop doesn't create a new launcher!! :(...i checked the global menu under file..only to realize... (1 Reply)
Discussion started by: slotlocker
1 Replies

6. Shell Programming and Scripting

Launching Nautilus with a set of files ??

Hello , I am trying to create a layer of file-tagging trough bash scripting and tlc/tk . I have almost everything ready only needs to be able to launch nautilus (the gnome file manager) with a regular expresion; when searching information in internet with "script and nautilus", i only find... (3 Replies)
Discussion started by: trutoman
3 Replies

7. Shell Programming and Scripting

Nautilus Issue

Good Morning, I have a file in the /.nautilus/thumbnails folder that I am unable to move between two NASs. My script copies it from the Sun machine to a NAS, but the name gets truncated to about 8 characters. The full filename on the Sun SPARC machine is strange:... (1 Reply)
Discussion started by: Stellaman1977
1 Replies
UI::Dialog::Backend::Nautilus(3pm)			User Contributed Perl Documentation			UI::Dialog::Backend::Nautilus(3pm)

NAME
UI::Dialog::Backend::Nautilus SYNOPSIS
use UI::Dialog::Backend::Nautilus; my $nautilus = new UI::Dialog::Backend::Nautilus (); my @paths = $nautilus->paths(); ABSTRACT
UI::Dialog::Backend::Nautilus is simply an OOPerl wrapper around the data provided by the nautilus(1) file manager's scripts feature. DESCRIPTION
nautilus(1) is a GNOME file manager that has a "right-click" menu for user made scripts (found in the user's ~/.gnome2/nautilus-scripts/ directory). This is an OOPerl interface to the environment variables provided to the scripts during runtime by nautilus. When you use any of the UI::Dialog meta classes (UI::Dialog, UI::Dialog::GNOME, etc.) access to this backend is provided via the $d->nautilus method. ie: replace $nautilus with $d->nautilus in the synopsis example (provided you made $d with something like my $d = new UI::Dialog...). Also, UI::Dialog and friends only load this module when you first use the $d->nautilus method (this may silently fail, but you can test by ref() for success). EXPORT
None INHERITS
None CONSTRUCTOR
new( @options ) EXAMPLE my $nautilus = new UI::Dialog::Backend::Nautilus (); DESCRIPTION This is the Class Constructor method. It accepts a list of key => value pairs and uses them as the defaults when interacting with the various widgets. RETURNS A blessed object reference of the UI::Dialog::Backend::Nautilus class. METHODS
path( ) EXAMPLE my $path = $nautilus->path(); DESCRIPTION This method examines the NAUTILUS_SCRIPT_CURRENT_URI string uri unescapes and strips it of any prefixing protocol indicators (file://) then returns the modified string. RETURNS a SCALAR. paths( ) EXAMPLE my @paths = $nautilus->paths(); DESCRIPTION This method splits the NAUTILUS_SCRIPT_SELECTED_FILE_PATHS multiline string and returns the ARRAY of selections in the order pro- vided by nautilus. RETURNS an ARRAY. uri( ) EXAMPLE my $uri = $nautilus->uri(); DESCRIPTION This simply returns the NAUTILUS_SCRIPT_CURRENT_URI string. RETURNS a SCALAR. uris( ) EXAMPLE my @uris = $nautilus->uris(); DESCRIPTION This method splits the NAUTILUS_SCRIPT_SELECTED_URIS multiline string and returns the ARRAY of selections in the order provided by nautilus. This does not uri escape or unescape the string. RETURNS an ARRAY. geometry( ) EXAMPLE my ($h,$w,$x,$y) = $nautilus->geometry(); DESCRIPTION This method splits the NAUTILUS_SCRIPT_WINDOW_GEOMETRY string and returns and ARRAY of the geometry details provided by nautilus. The array returned contains the following (in order): height width X-coordinate Y-coordinate RETURNS an ARRAY. uri_unescape( ) EXAMPLE my $path = $nautilus->uri_unescape( "file:///path/to/somewhere" ); my @paths = $nautilus->uri_unescape( "file:///path/to/somewhere", "file:///yet/another/path" ); DESCRIPTION This is the method used to unescape the NAUTILUS_SCRIPT_CURRENT_URI in the path() method. This method is derived from the URI::Escape module which is not included in the Perl core modules yet is vitally necessary for the path() method to function in a usefull manor. RETURNS an ARRAY or a SCALAR depending on the calling arguments. SEE ALSO
PERLDOC UI::Dialog UI::Dialog::Backend MAN FILES nautilus(1) BUGS
Please email the author with any bug reports. Include the name of the module in the subject line. AUTHOR
Kevin C. Krinke, E<lt>kckrinke@opendoorsoftware.comE<gt> COPYRIGHT AND LICENSE
Copyright (C) 2003 Kevin C. Krinke <kckrinke@opendoorsoftware.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA perl v5.8.8 2004-08-01 UI::Dialog::Backend::Nautilus(3pm)
All times are GMT -4. The time now is 06:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy