LANG and Launcher

The Matt thompsma at colorado.edu
Mon Nov 10 20:18:34 CET 2003


On Mon, 2003-11-10 at 12:57, Jasper Huijsmans wrote:
> Op 2003-11-10 19:44:14 schreef The Matt:
> > On Mon, 2003-11-10 at 11:42, Jonathan Gardner wrote:
> > > Perhaps there's a more elegant way of doing this, but
> > > could you perhaps write a short script with that line
> > > and then launch THAT from the launcher?
> > 
> > Yeah, I know I could just alias straw to LANG=... straw or make a
> > script, I was just wondering if there was some way to get the  
> > launcher
> > to do it.
> >
> 
> /bin/sh -c "LANG=... ..."
> 
> That might work.
> 
> Currently the panel does not use the shell to execute programs. I think  
> perl uses a trick where it checks the commandline for shell meta  
> characters and uses /bin/sh if there are any and direct execution if  
> there aren't. Perhaps we could use something like that as well.

Well, in the end, I took a long stroll through Red Hat/Fedora.  It turns
out that RH/FC's zsh package never sources /etc/profile (it's stuck in
/etc/skel/.zshrc rather than the /etc/z* files).  That's why LANG wasn't
set for me.  I rather think source'ing /etc/profile is a good thing.

So, I've learned about zsh and RH/FC and about XFce and its launchers. 
Any day you learn something, is a day not wasted.

Thanks all,
Matt
-- 
I am a theoretical chemist.  Fear me!
 Matt Thompson -- http://ucsub.colorado.edu/~thompsma/
 440 UCB, Boulder, CO  80309-0440
 JILA A510, 303-492-4662
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20031110/5381881e/attachment.pgp>


More information about the Xfce mailing list