[Nix-dev] awesome locale issues

Eelco Dolstra e.dolstra at tudelft.nl
Mon Aug 23 21:16:05 CEST 2010


Hi,

On 08/23/2010 06:54 PM, Florian Friesdorf wrote:

> One step, further: awesome is running with popen (thx peter!) and the
> battery and clock obvious widgets are working.
> 
> However, instead of displaying the volume_alsa and wlan widget,
> .xsession-errors is filling with:
> 
> awesome: draw_iso2utf8:81: text conversion failed: Invalid or incomplete
> multibyte or wide character

This is probably because the Glibc locales are in a separate package.  Solution:

$ nix-env -i glibc-locales

and set the environment variable LOCALE_ARCHIVE to
~/.nix-profile/lib/locale/locale-archive.

> And the clock widget is showing UTC instead of CEST. This was also the case for awesome's default clock, i.e. should not be related to the obvious widget lib.

Maybe you need to set the TZ environment variable to CEST.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list