<em><a href="Non-Sumou.html">Other Nokia N900 GNU mobile phone tips</a></em></p>

Locales support is broken on the Nokia N900. If you install <strong>locales</strong> from the repositories, your phone will be messed up after reboot, whereby all widgets etc. will have wgt_osso_... names shown instead of them, thus you will not see the clock for instance, just some weird long wgt_... name.</p>

To use locales, with for instance UTF-8 support on the N900:</p> <ul> <li>Backup old locales dirs. <strong>This step is very important as without these the N900 interface will be messed up.</strong> <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b># mv /usr/lib/locale /usr/lib/locale.bak<br /> # mv /usr/share/locale /usr/share/locale.bak</b></td></tr></table></li> <li>Install locales: <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b># apt-get install locales</b></td></tr></table></li> <li>Edit /etc/locale.gen with locales you want to generate.</li> <li>Generate the locales: <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b># locale-gen</b></td></tr></table></li> <li>Backup the newly generated locale dirs: <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b># mv /usr/lib/locale /usr/lib/locale.new<br /> # mv /usr/share/locale /usr/share/locale.new</b></td></tr></table></li> <li>Restore the old locale dirs: <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b># cp -r /usr/lib/locale.bak /usr/lib/locale<br /> # cp -r /usr/share/locale.bak /usr/share/locale</b></td></tr></table></li> <li>Re</li> </ul>

Now your system is not messed up.</p>

After reboot: <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b># mount -o bind /usr/lib/locale.new /usr/lib/locale</b></td></tr></table></p>

Now your system will be able to use the new locales as well, but it will not be messed up. <!— Page published by Emacs Muse ends here —> </div> <i>To send me feedback about this page, use the below email.</i><br /> <b>&copy; sumoudou.org 2010</b><br /> <img style="border:0" alt="sumoudou.org" src="email.gif" width="129" height="10" /><br /> <a href="http://www.gnu.org/" style="text-decoration: none;"><img style="border:0" alt="GNU" src="powered-by-gnu.png" />]] <a href="http://www.gnu.org/software/emacs/emacs.html" style="text-decoration: none;"><img style="border:0" alt="GNU Emacs" src="made-with-emacs.png" />]] <a href="http://hcoop.net/" style="text-decoration: none;"><img style="border:0" alt="HCoop" src="hcoop-proud-member.png" />]] <a href="http://hcoop.net/" style="text-decoration: none;"><img style="border:0" alt="HCoop" src="hosted-by-hcoop.png" />]] <a href="http://mwolson.org/projects/EmacsMuse.html" style="text-decoration: none;"><img style="border:0" alt="Emacs Muse" src="made-with-muse.png" />]] <a href="http://mwolson.org/projects/EmacsMuse.html" style="text-decoration: none;"><img style="border:0" alt="Emacs Muse" src="powered-by-muse.png" />]] <br /> <a href="http://www.fsf.org/resources/formats/playogg" style="text-decoration: none;"><img style="border:0" alt="Ogg" src="play-ogg.png" />]] <a href="http://www.catb.org/hacker-emblem/" style="text-decoration: none;"><img style="border:0" alt="Glider" src="glider.png" />]] <a href="http://ubuntu.com/" style="text-decoration: none;"><img style="border:0" alt="Ubuntu" src="ubuntu.png" />]] <a href="http://validator.w3.org/check?uri=referer" style="text-decoration: none;"><img style="border:0" alt="Valid XHTML 1.0 Strict!" src="valid-xhtml10-blue.png" />]] <a href="http://jigsaw.w3.org/css-validator/check/referer" style="text-decoration: none;"><img style="border:0" alt="Valid CSS!" src="valid-css-blue.png" />]] <br />Last updated 2010-05-11-164444

</div> <br />. </body> </html>

.