scripts on pcmanfm, like nautilus-scripts
-
- Posts: 38
- Joined: Sat Sep 27, 2008 11:18 pm
scripts on pcmanfm, like nautilus-scripts
Nautilus-scripts are a very useful feature from Nautilus, would be interesting seeing available from pcmanfm
Re: scripts on pcmanfm, like nautilus-scripts
dont know them...
what are they doing?
what are they doing?
-
- Posts: 38
- Joined: Sat Sep 27, 2008 11:18 pm
Re: scripts on pcmanfm, like nautilus-scripts
what for are them? nautilus-scripts are useful custom functionality you can have on right clicking on a file icon, and from a .sh, .py, .pl, etc. script, you can perform useful tasks, like opening the same directory as root, calculating md5sum, open the terminal from the directory, changing chmod or chown, convert comicbooks to pdf, etc.
for example:
#!/bin/sh
# open terminal here - Chris Picton, Martin Enlund, Christophe Combelles - GPL
base="`echo $NAUTILUS_SCRIPT_CURRENT_URI | cut -d'/' -f3- | sed 's/%20/ /g'`"
if [ -z "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" ]; then
dir="$base"
else
while [ ! -z "$1" -a ! -d "$base/$1" ]; do shift; done
dir="$base/$1"
fi
gnome-terminal --working-directory="$dir"
or:
#!/bin/sh
# root-nautilus-here - Shane T. Mueller, Doug Nordwall, Keith "penguingurus.com" - GPL
foo=`gksudo -u root -k -m "enter your password for nautilus root access" /bin/echo "got r00t?"`
sudo nautilus --no-desktop $NAUTILUS_SCRIPT_CURRENT_URI
these scripts, for working, should be at '~/.gnome2/nautilus-scripts'
for example:
#!/bin/sh
# open terminal here - Chris Picton, Martin Enlund, Christophe Combelles - GPL
base="`echo $NAUTILUS_SCRIPT_CURRENT_URI | cut -d'/' -f3- | sed 's/%20/ /g'`"
if [ -z "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" ]; then
dir="$base"
else
while [ ! -z "$1" -a ! -d "$base/$1" ]; do shift; done
dir="$base/$1"
fi
gnome-terminal --working-directory="$dir"
or:
#!/bin/sh
# root-nautilus-here - Shane T. Mueller, Doug Nordwall, Keith "penguingurus.com" - GPL
foo=`gksudo -u root -k -m "enter your password for nautilus root access" /bin/echo "got r00t?"`
sudo nautilus --no-desktop $NAUTILUS_SCRIPT_CURRENT_URI
these scripts, for working, should be at '~/.gnome2/nautilus-scripts'
Re: scripts on pcmanfm, like nautilus-scripts
Looking at the importance and usability that is gained from adding scripts to pcmanfm I'm not sure why this isn't considered more heavily. Not only would it mature pcmanfm to a more acceptable file manager it would also help a lot of people out there out that aren't interested in nautilus.
Seems strange to me.
Edit: I didn't realize that this was from from 2008, but I don't think it matters. As this is still a valid request even today in 2011 ( even moreso ) I don't think the age the matters.
Seems strange to me.
Edit: I didn't realize that this was from from 2008, but I don't think it matters. As this is still a valid request even today in 2011 ( even moreso ) I don't think the age the matters.
Re: scripts on pcmanfm, like nautilus-scripts
Syrec, your prayers were attended
There exist a for of the PCmanFM which have more features (some of them from nautilus philosophy): PCmanFM-mod
Ypu can download it from here:
http://sourceforge.net/projects/pcmanfm-mod/files/
In this post of this forum some user talk about it and put an example regarding to this question of the scripts
http://forum.lxde.org/viewtopic.php?f=2 ... 782#p39782
And i readed now that appeared in 2012 a new fork of PCmanFM-mod: SpaceFM
Article announcing SpaceFM
http://bbs.archbang.org/viewtopic.php?id=2127
Official page of SpaceFM
http://ignorantguru.github.com/spacefm/
wowwww... you can see here an interesting screenshots displaying the power of this file manager!!!
http://ignorantguru.github.com/spacefm/screenshots.html
There exist a for of the PCmanFM which have more features (some of them from nautilus philosophy): PCmanFM-mod
Ypu can download it from here:
http://sourceforge.net/projects/pcmanfm-mod/files/
In this post of this forum some user talk about it and put an example regarding to this question of the scripts
http://forum.lxde.org/viewtopic.php?f=2 ... 782#p39782
And i readed now that appeared in 2012 a new fork of PCmanFM-mod: SpaceFM
Article announcing SpaceFM
http://bbs.archbang.org/viewtopic.php?id=2127
Official page of SpaceFM
http://ignorantguru.github.com/spacefm/
wowwww... you can see here an interesting screenshots displaying the power of this file manager!!!
http://ignorantguru.github.com/spacefm/screenshots.html
Re: scripts on pcmanfm, like nautilus-scripts
+1.
I really miss the "nautilus image script". With one click I can rotate, resize, etc.
dir2ogg I think use natulus scripts also.
I really miss the "nautilus image script". With one click I can rotate, resize, etc.
dir2ogg I think use natulus scripts also.