[Cialug] icon+bash srcipt

Dave Weis djweis at internetsolver.com
Sun Mar 31 19:54:04 CDT 2013


You don't want a pipe there. Try su -c ./simpleide




-------- Original message --------
From: Dan Hockey <icepuck3k at yahoo.com>
Date: 03/31/2013 7:52 PM (GMT-06:00)
To: Central Iowa Linux Users Group <cialug at cialug.org>
Subject: Re: [Cialug] icon+bash srcipt



--- On Fri, 3/29/13, Don Ellis <don.ellis at gmail.com> wrote:

> From: Don Ellis <don.ellis at gmail.com>
> Subject: Re: [Cialug] icon+bash srcipt
> To: "Central Iowa Linux Users Group" <cialug at cialug.org>
> Date: Friday, March 29, 2013, 7:11 PM
> I searched for 'xfce launcher' and
> came up with this (further searches may
> help you if this is too old). Posted in 2006; may be current
> or not. Gnome
> seems to have removed the launcher features I'm accustomed
> to in previous
> releases, though Debian 6.0's Gnome still has it. I keep
> trying in
> different distros, but they seem to have set it up in a way
> that is much
> more obvious to those who haven't been used to doing it
> another way (while
> removing the old way so we won't be confused)...
>
>     http://ubuntuforums.org/showthread.php?t=200976

The link was enough to help figure out how squeeze+xfce does things, but I'm still trying to figure out how to change directories with the script.
------------------------------------------------
#!/bin/bash

cd /home/debian/SimpleIDE-0-7-2
su | ./simpleide
------------------------------------------------
su works but fails after entering the password because it didn't change dirs.

-dan

>
> On Fri, Mar 29, 2013 at 6:39 PM, Dan Hockey <icepuck3k at yahoo.com>
> wrote:
>
> > In debian squeeze is there a way to tie a desktop(xfce)
> icon with a bash
> > script? This is for a gui program that has to be
> started from the command
> > line with su permissions.
> > -dan
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
_______________________________________________
Cialug mailing list
Cialug at cialug.org
http://cialug.org/mailman/listinfo/cialug


More information about the Cialug mailing list