Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Immutable Page
  • Info
  • Attachments
  • attachment:sudo-nautilus.txt of AmbienteGrafico/Gnome/ScriptNautilus

Attachment 'sudo-nautilus.txt'

Download

   1  #!/bin/bash
   2 
   3     # root-nautilus-here
   4 
   5     # opens a root-enabled instance of a nautilus window in selected location
   6 
   7     # requires sudo privileges and gksudo, which may involve security risks.
   8 
   9     #Install in your ~/Nautilus/scripts directory.
  10 
  11     #
  12 
  13     # Placed in the public domain by Shane T. Mueller 2001
  14 
  15     # Fixes provided by Doug Nordwall
  16 
  17     #
  18 
  19     # 2004.04.18 -- keith@penguingurus.com - Added gksudo usage to provide popup
  20 
  21     #               password window if sudo has expired.  Line only echos got
  22 
  23     #               root to std output.  But gksudo updates your sudo access
  24 
  25     #               privs, so running nautilus with sudo will succeed
  26 
  27     #               without asking for a password.
  28 
  29     foo=`gksudo -u root -k -m "enter your password for nautilus root access" /bin/echo "got r00t?"`
  30 
  31     sudo nautilus --no-desktop $NAUTILUS_SCRIPT_CURRENT_URI

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (13/09/2007 09.40.02, 1.3 KB) [[attachment:aprire-terminale.txt]]
  • [get | view] (24/01/2008 13.42.40, 0.2 KB) [[attachment:bluetooth.txt]]
  • [get | view] (13/09/2007 09.36.08, 8.0 KB) [[attachment:conversione-file-audio.txt]]
  • [get | view] (24/01/2008 13.42.35, 0.1 KB) [[attachment:file-root.txt]]
  • [get | view] (24/01/2008 10.34.17, 0.8 KB) [[attachment:inviare-email.txt]]
  • [get | view] (24/01/2008 13.35.41, 1.2 KB) [[attachment:inviare-email2.txt]]
  • [get | view] (24/01/2008 10.36.34, 0.4 KB) [[attachment:montare-iso.txt]]
  • [get | view] (24/01/2008 13.38.57, 0.8 KB) [[attachment:mostranascondi-filenascosti.txt]]
  • [get | view] (24/01/2008 13.39.01, 0.4 KB) [[attachment:ricerca.txt]]
  • [get | view] (24/01/2008 13.39.08, 0.7 KB) [[attachment:ridimensiona-immagini.txt]]
  • [get | view] (24/01/2008 10.36.38, 0.2 KB) [[attachment:smontare-iso.txt]]
  • [get | view] (17/04/2008 11.01.21, 0.1 KB) [[attachment:sudo-gedit.txt]]
  • [get | view] (24/01/2008 13.39.15, 0.9 KB) [[attachment:sudo-nautilus.txt]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.