[CentOS] Setting a different LANG variable for a single GTK application?

Mon May 15 14:25:12 UTC 2006
John Allen <john.allen at dublinux.net>

On Mon 15 May 2006 15:18, Paul Heinlein wrote:
> On Mon, 15 May 2006, Niki Kovacs wrote:
> > The problem is now including this workaround in the corresponding
> > .desktop menu entry in /usr/share/applications. When I try to
> > replace
> >
> > Exec=gtkcdlabel
> >
> > by
> >
> > Exec='LANG=fr_FR && gtkcdlabel'
> >
> > ... GNOME complains about an error.
>
> This is what env(1) is intended to address:
>
>    Exec='/bin/env LANG=fr_FR gtkcdlabel'

All you should need is

LANG=fr_FR gtkcdlabel

-- 
John Allen                           mailto:john.allen at moyville.net
Mandriva Club Member(Silver)         http://www.moyville.net
Site of the day http://www.arsenalsquirrel.com/
Mandriva Linux release 2006.0 (Official) for i586, kernel 2.6.12-15mdk
 15:24:44 up 5 days,  2:54,  1 user,  load average: 0.32, 0.29, 0.18