Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Software
Forums FAQ Members List Search Today's Posts Mark Forums Read

ARCHIVES - Software Questions about use, installation, or configuration of software running on SUSE Linux

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-Jul-2007, 17:20
wjp.reg
Guest
 
Posts: n/a
Default

Code:
#!/bin/bash
# Opens a nautilus window as root.

foo=`gksudo -u root -k -m "enter your password for nautilus root access" /bin/echo "got r00t?"`
sudo nautilus --no-desktop $NAUTILUS_SCRIPT_CURRENT_URI
Code:
#!/bin/bash
#created by arnieboy 

foo=`gksudo -u root -k -m "enter your password for gedit root access" /bin/echo "Do you have root access?"`
sudo gedit $NAUTILUS_SCRIPT_SELECTED_URIS
Is there a way to modify them so that they do work in Suse/Gnome?

I noticed I can't run
Code:
gksudo gedit
either. Is this idiosyncratic of Suse/Gnome, 'cause it works in ebian and ubuntu versions of gnome?

Thanks!
  #2 (permalink)  
Old 14-Jul-2007, 16:24
Jazzmadrazz
Guest
 
Posts: n/a
Default


This is not the full answer, but at least for the latter problem, gnomesu does what you're after I believe.

Quote:
Code:
#!/bin/bash
# Opens a nautilus window as root.

foo=`gksudo -u root -k -m "enter your password for nautilus root access" /bin/echo "got r00t?"`
sudo nautilus --no-desktop $NAUTILUS_SCRIPT_CURRENT_URI
Code:
#!/bin/bash
#created by arnieboy 

foo=`gksudo -u root -k -m "enter your password for gedit root access" /bin/echo "Do you have root access?"`
sudo gedit $NAUTILUS_SCRIPT_SELECTED_URIS
Is there a way to modify them so that they do work in Suse/Gnome?

I noticed I can't run
Code:
gksudo gedit
either. Is this idiosyncratic of Suse/Gnome, 'cause it works in ebian and ubuntu versions of gnome?

Thanks!
[/b]
  #3 (permalink)  
Old 15-Jul-2007, 02:30
Garvan
Guest
 
Posts: n/a
Default

Quote:
This is not the full answer, but at least for the latter problem, gnomesu does what you're after I believe.
[/b]
gnomesu does not work here, but kdesu works okay (in a gnome desktop). The icons are a bit wrong, but it works.

Code:
kdesu nautilus
Garvan
 

Bookmarks

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2