Jun
01
iled Under (Desktop) by Οὐρανός on 01-06-2007

Nautilus actions are these little scripts that function on files and folders from within Nautilus, you can write (or download) a nautilus script that can do quite anything on a file you have. And you can do these with minimal experience and with little danger of doing anything horrible to your files as long as you’re careful. Here are a couple of the Actions I have:

Sudo Open:

  • Path: gksudo
  • Parameters: “gnome-open %u”

Mount this:

  • Path: mount
  • Parameters: %d/%f or %M

Play with mplayer:

For some reason, this is a set of three actions. The first one simply plays the file with /usr/bin/mplayer %M , the second plays a playlist with /usr/bin/mplayer -playlist %M and the third plays all the files in a folder. Due to my inexperience with bash, it looks rather ugly, but here it is. As usual, no warranty. Just one parameter: The folder name.



Post a comment
Name: 
Email: 
URL: 
Comments: