Linux For Your Life

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 26 August 2009

How To Using Nautilus Scripts

Posted on 03:14 by Unknown
With scripts you can do many things such as :
  • make an enhanced "open with"-alike feature (open some files that match a filter in your preferred application
  • make a zip of a directory and mail it
  • open a terminal in the selected directory
all of this with a simple right click.
You can find the Nautilus-scripts folder here : 
Go to Home Holder and Click Ctrl + H to Open Hidden Files and looking for . . 
~/.gnome2/nautilus-scripts

Adding scripts

1.place your scripts in the nautilus-scripts folder
2.name them accordingly to the label you want in the right-click context menu
3.make them executable (chmod +x my_script_name  )

Sample Scripts
Copy To Script :
Place the following code in a new file, give it a filename of copyto and make it executable with chmod a+x copyto. Move the new file to the ~/.gnome2/nautilus-scripts/ directory, open nautilus and you'll find a new right-click menu item entitled "Scripts" with a submenu that has an item that quickly copies a file to any directory you desire.
#! /bin/bash
location=`zenity --file-selection --directory --title="Select a directory"`
for arg
do
if [ -e "$location"/"$arg" ];then
zenity --question --title="Conflict While Copying" 
   --text="File ""$location"/"$arg"" already exists. 
   Would you like to replace it?"
case "$?" in
1 ) exit 1 ;;
0 ) cp "$arg" "$location" ;;
esac
else
cp "$arg" "$location"
fi
done 
 
1.Send To Script Download Here
2.Move To Script Download Here
3.Umount-Iso Script Download Here
4.Mount-Iso Download Here
5.Format Media Script Download Here
6.Open Terminal Here Script Download Here
You too can download script here , and chose what do you want to use because too many script 
Thank's
By:Mr.Gm
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in nautilus | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Format USB in linux for use as Live USB
        In the main discussion at this time, you can find a variety of distribution LiveUSB that can be installed in the UFD. However, after an...
  • Active & Passive Sentences
    1.Theory and example from active & passive voice Active Voice         Active voice is where the object recieves the action of the verb.A...
  • Using Guide BackInTime
    In short how to use BackInTime are as follows: 1.On the start page will appear BackInTime some important parameters to fill tone, such a...
  • sitemap
    Applications install Dropbox On Linux What is Dropbox How to install an use Back In Time What is BackInTime Install windows on linux Organiz...
  • How to restore grub boot-loader after installing windows
         This tutorial will explain how to restore Grub after installing Windows 7/Vista/Xp.If you are using dual boot PC with windows,Ubuntu fo...
  • Dahsyat atau Inbox
         Acara musik sekarang ini sudah bukan pembicaraan asing lagi di telinga kita ,dari pagi sampai malam pasti ada acara musik yang menghibu...
  • How To Using Nautilus Scripts
    With script s you can do many things such as : make an enhanced "open with"-alike feature (open some files that match a filter in ...
  • Lakukan apa yang ingin anda lakukan
        Lakukan apa yang ingin anda lakukan ,gunakanlah semua kemampuan anda untuk berfikir , membuka sesuatu ,menjalanka sesuatu dan membuat ap...
  • Download super fast with the command lftp in ubuntu linux
         Simply capitalize a terminal window and lftp program, we've got a manager download manager and download accelerator that can suck a...
  • installation XAMPP
    If you want the integration of the Apache web server, MySQL database server, and PHP / Perl in one package, you can install XAMPP XAMPP is a...

Categories

  • Applications
  • cairo-dock
  • convert Rpm to Deb
  • Desktop
  • Distro
  • Download Manager
  • Fix Crash GUI
  • Format USB
  • game
  • hardware
  • Install Linux
  • internet and Web
  • Linux Intro
  • LiveUSB
  • Local Repository
  • nautilus
  • Optimize Linux system
  • Programming Language
  • Robot
  • Server
  • so
  • Terminal
  • Tips and Trick OpenOffice
  • Tugas Manajemen Proyek dan Risiko
  • Tugas SoftSkill
  • wifi

Blog Archive

  • ►  2012 (5)
    • ►  June (2)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
  • ►  2011 (29)
    • ►  December (10)
    • ►  November (2)
    • ►  October (2)
    • ►  May (11)
    • ►  March (2)
    • ►  February (2)
  • ►  2010 (74)
    • ►  December (13)
    • ►  October (4)
    • ►  June (12)
    • ►  May (10)
    • ►  April (6)
    • ►  March (8)
    • ►  February (18)
    • ►  January (3)
  • ▼  2009 (42)
    • ►  October (6)
    • ►  September (13)
    • ▼  August (13)
      • Install Windows On Linux with VirtualBox
      • Image viewer with Picasa
      • Translator with gKamus
      • How To Using Nautilus Scripts
      • Avoid programs quitting when the terminal is closed
      • Fix Wifi Troubleshooting
      • Install new font for OpenOffice
      • Install OpenOffice.Org.3.1
      • Optimize Startup For Faster boot Times
      • Make Repository local in Ubuntu and Debian
      • Convert RPM Package To DEB Package
      • Giving a label on the USB in linux
      • Format USB in linux for use as Live USB
    • ►  July (10)
Powered by Blogger.

About Me

Unknown
View my complete profile