nautilus

nautilus extensions: where are the docs??

I've googled and googled and I can't find the docs for writing extensions to Nautilus. ...

Submenu items in Nautilus right-click menu

Hello. I am trying to write an extension for nautilus, which add an item to the menu that appears when you right-click a file (as shown in image) However, I would like to add a submenu to my custom menu item. I downloaded a 'nautilus-python' package which includes examples of how to write extensions for Nautilus (and so far it turned...

Is there a way to make Nautilus move files under version control using the VCS's move command?

For example, say I moved a file from /project/file.cs to /project/subdir/file.cs. It would be nice if nautilus automatically converted this to bzr mv /project/file.cs /project/subdir/file.cs. Is it possible to set this up? It would also be nice if I was warned when doing a plain old mv on version controlled files, but I suppose that's a...

Modify nautilus source code, where to start?

I have a simple starter problem to change an open source project. Let me first explain the situation: I want to make some changes on an open source project (NAUTILUS) , The change is to work on This idea(Progress window for file operations) , The fist step is to download the source , done (using git) The next step is to read the ...

How to change icon/emblem of a directory from bash

I'm playing around with get_iplayer (fantastic) it's running every few hours to grab any new episodes of whatever.... After it has finished grabbing anything new i'd like to change the emblem of ~/Videos to add a plus or star (nautilus emblem preferably) Do i go about this via nautilus? Do i need to change something in gnome-config? I'...

nautilus extesions using mono?

Is it possible to write nautilus extensions using mono? I seem to find only c and python references. ...

Escape whitespace in paths using nautilus script

I didn't think this would be as tricky as it turned out to be, but here I am. I'm trying to write a Nautilus script in Python to upload one or more images to Imgur just by selecting and right clicking them. It works well enough with both single images and multiple images - as long as they don't contain any whitespace. In fact, you can up...

use gtk in a nautilus extension using python

The following code import gtk import nautilus import os def alert(message): """A function to debug""" dialog = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_INFO, gtk.BUTTONS_CLOSE, message) dialog.run() dialog.destroy() class TestExtension(nautilus.MenuProvider): def __init__(self): pass def ge...

Edit original Nautilus context menu

Does anyone know a way to simplify the standard context (right click) menu in Nautilus? I am making a very simplified interface for people who don't use computers very often, and I want to use Nautilus as File Manager. I have added some actions to the context menu using nautilus-action, but I want to remove the standard Copy/Paste/Create...

Nautilus file explorer and GtkIconView

Hello all, In order to learn GTK programming, I am building a simple GTK application that reads files in a directory and displays them as icons. I am trying to build something like the Nautilus icon view file explorer. I know the right pane uses GTK IconView but what does the left pane use to display list of places? Also I have looked at...

Nautilus python

I'm developing a nautilus extension and I have the following code: #!/usr/local/bin/python # -*- coding: utf-8 -*- import urllib import gtk import pygtk import nautilus import gconf import gtk.glade class Slide (nautilus.MenuProvider): f = None def __init__(self): self.client = gconf.client_get_default() self....

Nautilus icon positions

I'm looking for where Nautilus stores the icon positions on a Ubuntu 10.10 system. I would like to back-up this information in case it's lost somehow, and possibly programatically manipulate this information. All information I've found seems to indicate that the information has been migrated to gvfs's metadata stores. Is there a way to ...

How can I make a nautilus-like sidebar using mono gtk#

I have been looking for weeks for a way to do this: I am working on a music player, and would like something like this: Library > Music (6) Videos (2) Playlists > new playlist... And so on. I am using mono and gtk#. I can't find a tutorial or anything, if someone could help me find on...

opening a parent folder and highlighting particular child in default file browser using python

I am using following code to open a folder in default file browser. if os.name == 'mac': subprocess.call(('open', folderPath)) elif os.name == 'nt': subprocess.call(('start', folderPath)) elif os.name == 'posix': subprocess.call(('xdg-open', folderPath)) Now the problem is I want to highlight the child folder/file which was sele...