Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th November 2008, 03:14 PM
DarkMasterHalo Offline
Registered User
 
Join Date: Sep 2008
Posts: 13
Red face Help on Zenity script for Nautilus (Sudo mode)

Hi guys,

I need some help on that script I just saw and found useful. It works perfectly when I launch this script from my

terminal, however, it doesn't work when I double click on the launcher . It asks me for a password, and after nothing.

For example, when I launch it from the terminal, I get my password prompt, I then enter my password, hit enter, wait for 1 second then I get my nautilus window in the /root.

I know it works in the terminal but not when I double click on hit

Here goes my script
#! /bin/bash
sudo -K
zenity --entry --title="Browse files as root"\
--text="Enter your password:" --hide-text \
| sudo -S nautilus --no-desktop --browser 1>\
/dev/null 2> /dev/null
#end

Thanks for the help
Reply With Quote
  #2  
Old 30th November 2008, 06:01 PM
DarkMasterHalo Offline
Registered User
 
Join Date: Sep 2008
Posts: 13
Little bump
Reply With Quote
Reply

Tags
mode, nautilus, script, sudo, zenity

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help on Zenity script for Nautilus (Sudo mode) DarkMasterHalo Using Fedora 0 29th November 2008 12:47 AM
bash script/zenity question daviddoria Using Fedora 4 20th October 2008 07:15 PM
Zenity + bash script question Duli Programming & Packaging 14 6th January 2008 06:15 PM
Sudo Nautilus maxpower Using Fedora 2 30th January 2005 06:42 PM


Current GMT-time: 06:51 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat