Source i (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
Become a Fan
6.5

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:

3.7.1:

"Motiv 8"

InstallTheme:
- IceWM support
- Fluxbox support

3.7:

"No More @*#%$*? 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)


Ratings & Comments

26 Comments

jummy

Install a Theme to: ~/.icewm/themes /usr/share/icewm/themes

Chrispy

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

I4C

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

jummy

Install a Theme to: ~/.fluxbox/styles /usr/share/fluxbox/styles

chopin

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

Chrispy

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

scottiw2000

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

Chrispy

added

snkiz01

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!

Chrispy

I see what I can do.

lwejh

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

lwejh

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

Chrispy

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

lwejh

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.

Chrispy

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

gi0rgi0ne

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.

leadgolem

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.

Chrispy

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

leadgolem

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.

leadgolem

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.

Chrispy

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.

leadgolem

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

udolf

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?

Chrispy

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.

DRoy

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

Pling
0 Affiliates
Details
license
version 3.7.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

Other Nautilus Scripts:

Gflv2avi
acidc00l
last update date: 15 years ago

Score 5.0

My Movie Portal v3.2.8
iTechScripts
last update date: 13 years ago

Score 4.7

Browse Nautilus as root
SteveSims
last update date: 17 years ago

Score 5.0

Open Nautilus as Root
Mariux
last update date: 17 years ago

Score 5.0

Compare Strings
cdmn
last update date: 17 years ago

Score 5.0

grooto
pontos
last update date: 17 years ago

Score 5.0



System Tags