Image 01
profile-image

00061205

du xinyu
Nautilus Scripts

Search in DIR

Nautilus Scripts Jun 01 2008
Score 48%
48 Likes
52 Dislikes

Terminal Here

Nautilus Scripts Jun 01 2008
Score 67%
67 Likes
33 Dislikes
Send link to Desktop

Nautilus Scripts 8 comments

Score 56%
56 Likes
44 Dislikes
Jan 09 2008
hi okaoka,
What exactly your mean? What was "words in the file title"? Is the filename wrong or you don't want the "octets" appearance? By the way, I'm using Ubuntu (Gutsy) too. This script work correctly in my system. - Jan 26 2008
extract the files from .gz copy it to ~/.gnome2/nautilus-scripts/
right click in nautilus-scripts- - Jan 09 2008
Terminal Here

Nautilus Scripts 13 comments

Score 67%
67 Likes
33 Dislikes
Jun 01 2008
use command "env" in terminal to see whether your system support the environment variable NAUTILUS_SCRIPT_CURRENT_URI. - Jan 15 2008
I don't know why. I test it in my system but it work well. I think you should change the "wdir" to see wether it work as your path.(eg. wdir=/etc) - Jan 15 2008
by your method can't open a terminal with desktop dir as work dir.always ~ - Jan 09 2008
Send to...

Nautilus Scripts 54 comments

Score 70%
70 Likes
30 Dislikes
Jul 15 2009
#!/bin/bash
# 发送到
##########################################################################
# Nautilus "发送到" 脚本 #
##########################################################################
# #
# Created by Mattia Galati (Adaron) #
# first improvement and translation by Christopher Bratusek (Chrispy) #
# #
##########################################################################
#--------------------中文翻译---------------------------------------------#
destination='请选择目标设备'
title_destination='发送文件到:'

copy='正在复制...'
title_copy='清等待...'

success='复制完毕'
title_success='成功'

errors='复制过程出现错误'
title_errors='错误'

no_writable='目标设备不存在或不可写'
title_no_writable='错误'
# End of language settings ----------------------------------------------#
##########################################################################

devices=`ls -m /media/`
vv=${devices//cdrom?, /}
vd=${vv//cdrom, /}
options=${vd//, / FALSE /media/}
destinazione=`zenity --list --title "$title_destination" --text "$destination" --radiolist --column " " --column "Device" FALSE /media/$options`

if [[ -w $destinazione ]]; then
cp $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS $destinazione | zenity --progress --pulsate --auto-close --title="$title_copy" --text="$copy"
if (( $? == 0 )); then
zenity --info --text="$success" --title "$title_success";
else zenity --info --text="$errors" --title "$title_errors";
fi
else zenity --info --text="$no_writable" --title "$title_no_writable";
fi - Jan 03 2008