[wellylug] Next Wellington Installfest?

David McNab david at rebirthing.co.nz
Tue Oct 22 21:25:51 NZDT 2002


On Tue, 2002-10-22 at 20:58, Richard Hector wrote:
> On Tue, 2002-10-22 at 17:32, David McNab wrote:
> 
> > Maybe Debian, with Synaptic for apt-get access perhaps.
> 
> I had a quick look at synaptic - given that it's generally recommended
> that you don't run X as root, and it needs to run as root ... it needs a
> mod to ask for the root password.

Two quick'n'dirty scripts take care of this.

~/bin/swinst1:

  #!/bin/bash
  echo "To install software with Synaptic, you'll need root password"
  su -c "/usr/sbin/synaptic"

~/bin/swinst:

  #!/bin/bash
  xterm -geometry 50x3+500+500 -e ~/bin/swinst1

Cheers
David

PS Thanks for giving me the idea. I was getting rather sick of opening a
shell window, logging on as root, then manually typing 'synaptic' or
'apt-get'. Now, it's just one click on a gnome icon.




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/JjlUgA/vN2EAA/kG8FAA/0XFolB/TM
---------------------------------------------------------------------~->

  .-.   Wellington
  /V\   Linux
 // \\  Users       
/(   )\ Group
 ^^-^^
        http://wlug.paradise.net.nz/

To unsubscribe from this group, send an email to:
wellylug-unsubscribe at egroups.com
  

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





More information about the wellylug mailing list