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

John Allen john.allen at dublinux.net
Mon May 15 15:34:35 UTC 2006


On Mon 15 May 2006 16:20, Niki Kovacs wrote:
> Selon John Allen <john.allen at dublinux.net>:
> > All you should need is
> >
> > LANG=fr_FR gtkcdlabel
>
> I know. But there's no way to put that syntax into a .desktop entry file.
>

Ah yes, create a shellscript to run gtkcdlabel
eg. gtkcdlabel.sh
#! /bin/sh
export LANG=fr_FR 
gtkcdlabel

The run the shellscript from the .desktop file


> Niki Kovacs
>
> > --
> > 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
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
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
 16:33:32 up 5 days,  4:02,  1 user,  load average: 0.19, 0.13, 0.18



More information about the CentOS mailing list