NScripts

Nautilus Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

4
Score 67.1%
Description:

NScripts is a set of Nautilus Scripts.

unpack and move the folders to ~/.gnome2/nautilus-scripts/

=== check README for a description of all scripts ===

Comments, Suggestions and Contributions Welcome!
Last changelog:

9 years ago

3.7.1:

"Motiv 8"

InstallTheme:
- IceWM support
- Fluxbox support

3.7:

"No More Fucking Rock'N'Roll"

SetAsWallpaper:
- add image option "spanned"

InstallTheme:
- small readability improvement
- don't temporarly save list of files
- small bugfix (if destination can't be mkdir'ed try gksu)

MkMd5:
- small bugfix (didn't display info at end)
- only display message box on errors
- don't temporarly save list of files

WhichPKG (all versions):
- don't temporarly save list of files

Shredder:
- don't temporarly save list of files
- removed a bit of unused code

HideFile (new):
- simple script to hide a file

MoveTo/CopyTo:
- don't temporarly save list of files

TermInCurDir/RootTermInCurDir:
- bugfix (use _CURRENT_URI not _SELECTED_URI)

SendToMenu:
- don't temporarly save list of files

SendShortcutTo:
- don't temporarly save list of files
- small bugfix (allow destination with spaces in name)

OpenInGEdit:
- small fix (no need to flatten _SELECTED_URIS)

jummy

9 years ago

Install a Theme to:

~/.icewm/themes
/usr/share/icewm/themes

Report

C

Chrispy

9 years ago

Sorry, I've read your comments to late, but I'll add them to 3.7.1 tommorow.

Report

I4C

6 years ago

There is a problem with "rootermincurdir"
It opens in root, but not the current directory.

Report

jummy

9 years ago

Install a Theme to:

~/.fluxbox/styles
/usr/share/fluxbox/styles

Report

chopin

9 years ago

I think the last string should be gedit "$files"

Report

C

Chrispy

9 years ago

$files was totally unnecessary (or however this word is correctly written).

Report

scottiw2000

9 years ago

It would be nice to have an "Install theme" option for installing an Emerald window decorator theme. The directory would be ~/.emerald/themes/

Report

C

Chrispy

9 years ago

added

Report

snkiz01

11 years ago

Off the top of my head in the "I wish I had a script that could..." Catagory:
Cairo Clock
Cairo Dock
emerald
Pidgin
gdm
Usplash
grub
gnome system sounds.

Oh and the one thing I really wish I could do is install Mozilla extensions system wide :) sad its the one thing I miss in windows.

My computer is peppered with you excellent work keep it up. Cheers!

Report

C

Chrispy

11 years ago

I see what I can do.

Report

lwejh

11 years ago

It is a great tool and I want to thank you for your work;
I couldn't do without those scripts anymore :-)

Report

lwejh

11 years ago

if I'm not mistaken mkmd5 does not work on directories!

Report

C

Chrispy

11 years ago

Correct. There's no option for md5sum for recursive checksum creation.

Report

gi0rgi0ne

10 years ago

You could create a md5-file of a directory by using "md5deep". There you have the possibility to create a md5-file recursively.

It would also be nice when Mkmd5 would create 1 file with the several hashs inside when selecting more then in file for Mkmd5 and not 1 md5-file per selected file.

But I really like your scripts. Keep the good work up.

Report

lwejh

11 years ago

I'm far from being an expert but there is a script http://gnome-look.org/content/show.php/Make+MD5+sums?content=69749 which works on directories; the author even states that it is derived from the NScript file.

Report

C

Chrispy

11 years ago

It creates the md5sum file per file as far as I can see.

Report

leadgolem

11 years ago

You might want to mention that you must be one of the users that can use sudo for your root scripts to work.

For this reason the root scripts are useless on a default fedora system. Though all the others work very well.

Report

C

Chrispy

11 years ago

the scripts don't use sudo. they use the graphical gksu and gnomesu tools, which use su or sudo, depending on the configuration.

Report

leadgolem

11 years ago

Yeah, I actually figured that out trying to write my own. Unfortunately Fedora 8 does not have either gnomesu or gksu. Running a locate on both commands gave me nothing.

I'm trying to track down how fedora creates the root login dialog box now.

I've been looking through the apps that use a root login dialog box. Fedora might be using python scripts for each individual item. If so, I'll just create a script that launches a terminal, and runs the nautilus stuff there. That way I can use the terminal for password input.

Report

leadgolem

11 years ago

After much banging of head into wall, I've figured out how to make this work in a Fedora system. The following lines will accomplish the same thing for Fedora as the RootTermInCurdir script.

kdesu -c "nautilus $NAUTILUS_SCRIPT_CURRENT_URI"
xterm -e su -c "nautilus $NAUTILUS_SCRIPT_CURRENT_URI"

The first has the problem of requiring kdebase to be installed. The second works, but is graphically unpleasant and the dialog box is uninformative.

I thought you might want to add the kdesu or the xterm -e options to your script as fallbacks.

Yes, I'm aware of the irony of using a kde specific app in a nautilus script.

Report

C

Chrispy

11 years ago

I belive Fedora uses the ConsoleHelper. eg. /usr/bin/system-config-printer is a link to /usr/sbin/system-config-printer and that caused that dialog box to appear ... but I'm not sure.

Report

leadgolem

11 years ago

It does, it just isn't setup to give anybody a root shell. The above methods are provided for transportability.

Report

udolf

12 years ago

im struggling to figure out what the md5 scripts do. i though one of them would let me rclick a file and have it calculate the md5sum so i can compare it with the md5sums on a downlaod page for example (like distros) but it seems not to work like that?

Report

C

Chrispy

12 years ago

The Mkmd5 script creates md5sums, the Chkmd5 script checks, them. You have to click on the md5sum file to check it, not the original one ... and it must have the ".md5" suffix.

Report

DRoy

12 years ago

i like the scripts, but what is your really cool natilus background??

Report

9 years ago

3.7.1:

"Motiv 8"

InstallTheme:
- IceWM support
- Fluxbox support

3.7:

"No More Fucking Rock'N'Roll"

SetAsWallpaper:
- add image option "spanned"

InstallTheme:
- small readability improvement
- don't temporarly save list of files
- small bugfix (if destination can't be mkdir'ed try gksu)

MkMd5:
- small bugfix (didn't display info at end)
- only display message box on errors
- don't temporarly save list of files

WhichPKG (all versions):
- don't temporarly save list of files

Shredder:
- don't temporarly save list of files
- removed a bit of unused code

HideFile (new):
- simple script to hide a file

MoveTo/CopyTo:
- don't temporarly save list of files

TermInCurDir/RootTermInCurDir:
- bugfix (use _CURRENT_URI not _SELECTED_URI)

SendToMenu:
- don't temporarly save list of files

SendShortcutTo:
- don't temporarly save list of files
- small bugfix (allow destination with spaces in name)

OpenInGEdit:
- small fix (no need to flatten _SELECTED_URIS)

12345678910
3
product-maker I4C Feb 19 2013 9 excellent
product-maker samiuvic Jul 26 2012 9 excellent
product-maker gracca Jan 17 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
cedl38
Mar 04 2013
CuddlyCombine
Oct 01 2009
RavisPohan
Sep 19 2009
ctlu999
Mar 09 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
3.7.1
updated Jul 18 2010
added Oct 10 2007
downloads 24h
0
page views 24h 5
System Tags addon