Re: status_bar with LANG

Andreas Bernauer <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
Tuomo Valkonen schrieb am Mo, 04. Jun 2007 um 08:59 (+0000):
> On 2007-06-04, Albert Shih <[email protected]> wrote:
> > Just report if I put LANG=fr_FR.ISO8859-1 export LANG in my .xession the
> > «load» fearture in the statusbar don't work. There just (null).
> 
> That's when /proc/loadavg does not exist, it parses the output of
> the 'uptime' command... in english. I never got around to adding
> a getloadavg(3) export to statusd for the script... maybe I should.

Or (temporarily) set LANG=C before executing uptime in
/mod_statusbar/ion-statusd/statusd_load.lua?  Don't know whether or
how this works in lua, though.

Andreas.
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGY+FuUZNNpiz9r/gRAru+AKCen61wMXe1Hbna2ddeU52kNhPz8QCghn4R
GxgPnxYyAId1uDpzftVIouo=
=qgph
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.