caja & nautilus pyextensions

nautilus pyextensions

It’s a graphical handler of the nautilus file manager python extensions, including some useful pyextensions.

Written by Giuseppe Penone (aka giuspen).
The following languages are supported:

  • English (default)
  • French (Pierre Prinetti, up to date)
  • Italian (Giuseppe Penone, up to date)
  • Japanese (Toshiharu Kudoh, up to date)
graphical handler instructions help
graphical handler download download
included python extensions explore
manually install a pyextension how to
dev. versions plugins


nautilus-pyextensions

nautilus-pyextensions nautilus-pyextensions

help graphical handler instructions :

add – opens a dialog to add a new pyextension into the system
checkbox active – when checked, the pyextension is active in the nautilus right click menu (visible after killing…)
kill – needed to restart nautilus, to use after checkings/uncheckings
export – to export a pyextension from the system to the chosed directory
edit – to edit a pyextension from inside of the system
delete – removes a pyextension from the system

downloadgraphical handler download :

tar.gz archive source code :
caja-pyextensions-3.3.tar.xz (for caja),
nautilus-pyextensions-3.2.tar.xz (for nautilus 3),
nautilus-pyextensions-1.2.2.tar.gz (for nautilus 2)
deb package debian/ubuntu package :
caja-pyextensions_3.3-1_all.deb (for caja),
nautilus-pyextensions_3.2-1_all.deb (for nautilus 3),
nautilus-pyextensions_1.2.2-1_all.deb (for nautilus 2)

gnome resides in applications–accessories–caja/nautilus pyextensions

explore included python extensions :

terminal open-terminal-here.py [cajanautilus 3 / nautilus 2] allows to open the terminal window on the selected folder/current directory, with predefined geometry (edit the parameter GEOMETRY to change it), with the right-click;
desktop background set-as-desktop-background.py [nautilus 2] allows to set as desktop background the selected image file with the right-click;
gksu open-as-root.py [cajanautilus 3 / nautilus 2] allows to open the selected file/folder as root user, so having administrator rights;
audacious add-to-audacious-playlist.py [cajanautilus 3 / nautilus 2] allows to add all the selected audio files to the audacious playlist with the right-click;
meld meld-compare.py [cajanautilus 3 / nautilus 2] and kdiff3 kdiff3-compare.py [cajanautilus 3 / nautilus 2] allow to compare two selected files/folders with meld and kdiff3. meld is the best with files comparison while kdiff3 is the best with folders comparison; the kdiff3 version that is automatically installed when you activate kdiff3-compare is “kdiff3-qt”, which is independent from the kde desktop;
edit-find-replace replace-in-filenames.py [cajanautilus 3 / nautilus 2] allows to replace some text with other text in all the filenames of the current directory.

how to how to manually install a python extension :

in order to manually install a python extension to caja (or nautilus):

1) install the package “python-caja” (or “python-nautilus”)

terminal sudo apt-get install python-caja

2) enter in the home directory, press ctrl+h to see the hidden files, enter in the folder “.local/share” and then create a folder named “caja-python” (ctrl+shift+n, “nautilus-python” for nautilus) then in caja-python create a folder “extensions

3) download the python file (“.py”) and put it in the directory “~/.local/share/caja-python/extensions” just created

4) put the following in the terminal (to restart caja)

terminal killall caja

plugins development versions :

the source code is version controlled with mercurial and hosted by google code.
you can get a clone of the caja-pyextensions mercurial repository issuing the command:

terminal hg clone https://code.google.com/p/giuspen-nautilus-pyextensions/ hg_caja-pyextensions
terminal cd hg_caja-pyextensions
terminal hg update caja
terminal ./caja-pyextensions

that will create a folder named hg_caja-pyextensions in the terminal working directory, enter into it and run caja-pyextensions development version.

in order to update the local repository with the server repository updates you don’t need to “hg clone” all the time but simply run the following command from a terminal whose working directory is hg_caja-pyextensions:

terminal hg pull -utop