Re: Setting LANG env on Ubuntu
On Thu, Sep 24, 2009 at 11:37:21PM +0300, David Harel wrote: > Hi, > > I use Ubuntu Jaunty release 9.04. > On my last attempt to update openoffice to 3.1 (from repository: > http://ppa.launchpad.net/openoffice-pkgs/ppa/ubuntu) I noticed that > openoffice can't do Hebrew file names anymore. I also got some warnings > from other tools such as digikam regarding locale settings. > Digging into this problem I noticed that my LANG env is set to "C": > $ echo $LANG > C > > When I set it to: LANG=en_US.UTF-8 , both openoffice and digikam were fine. > I also noticed that when I login on text mode (such as ssh localhost) I > get the LANG settings as expected: en_US.UTF-8 > > Also I just tried to update my system and I tried to remove all my dot > files and I tried to switch from xfce4 to Gnome but nothing seems to > resolve this problem. > Any idea? Select the language from gdm at login time? -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Setting LANG env on Ubuntu
On Friday 25 September 2009 00:15:40 Shachar Shemesh wrote: > I don't know about Ubuntu, but in Debian these variables are set either > in /etc/default/locale or /etc/environment. Also, the "official" way of > changing those is by doing "dpkg-reconfigure locales" as root. On Debian/Ubuntu, "dpkg-reconfigure locales" is a light wrapper around localgegen (I think, I am currently on Fedora...). On Mandriva, you can install each one of those locales by an rpm instead of generating them on your machine. If you want to change the locale of your system, this is a mandatory step. However it does not change the locale. What I usually do (works on Debian/Ubuntu/Mandriva/Fedora) is: locale > ~/.i18n and then edit ~/.i18n as needed. Here it is on my machine: [elc...@pinky ~] cat /home/elcuco/.i18n LANG=en_US.UTF-8 LC_CTYPE="he_IL.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="he_IL.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Setting LANG env on Ubuntu
Diego Iastrubni wrote: On Friday 25 September 2009 00:15:40 Shachar Shemesh wrote: I don't know about Ubuntu, but in Debian these variables are set either in /etc/default/locale or /etc/environment. Also, the "official" way of changing those is by doing "dpkg-reconfigure locales" as root. On Debian/Ubuntu, "dpkg-reconfigure locales" is a light wrapper around localgegen (I think, I am currently on Fedora...). On Mandriva, you can install each one of those locales by an rpm instead of generating them on your machine. If you want to change the locale of your system, this is a mandatory step. However it does not change the locale. localegen doesn't. dpkg-reconfigure locales does. It does both. What I usually do (works on Debian/Ubuntu/Mandriva/Fedora) is: locale > ~/.i18n and then edit ~/.i18n as needed. Here it is on my machine: [elc...@pinky ~] cat /home/elcuco/.i18n LANG=en_US.UTF-8 Okay. Not optimal, but will do. LC_CTYPE="he_IL.UTF-8" Yes, that usually complements the first. LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="he_IL.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" Unnecessary. These default to the locale if not set. LC_ALL= Dangerous. If this is set, it overrides everything else. Personally, I think setting LANG to he_IL.UTF-8, and then set LC_MESSAGES to en_US to make the interface language remain in English. And if you want it set globally, /etc/default/locale is still a better place to put these lines. Shachar -- Shachar Shemesh Lingnu Open Source Consulting Ltd. http://www.lingnu.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT: Digital TV decoder USB sticks
Hi, Thanks for the input. Just wanted to update that although the dongle supposed to be working, it fails to find any channels: - drivers are loaded when its pushed into the USB socket. devices are appearing under /dev/dvb (IIRC) (tried also chmoding them to 777). - kaffeine appears to communicate with the dongle ok and when combing the frequency scale I do see some high signals along the scan (tried to use "auto" area mode, NZ, and several IL suggested configurations as well). - vlc method described in this thread is not showing any video as well. - Under Windows, the dongle works ok - finds the Israeli channels with no hassle (well, after buying the connecting an amplified antenna. Kudos to the experts in our ministry of communications for the lame launch of DTT broadcasts [or in other words - what is a trial/testing period for?])). So, while I remain optimistic about the prospect interoperability of the Apex 328 dongle with Linux (Ubuntu 9.04), I wasn't successful in making them sing together. Any pointers, tips, etc would be appreciated. Thanks, Boaz. geoffrey mendelson wrote: On Sep 17, 2009, at 10:43 PM, Boaz Rymland wrote: Hi, I bought this toy today. I'm glad to say that it worked out of the box in Ubuntu 9.04 - or at least it appears so: Kaffeine is happy with it, I do have /dev/dvb/ devices and dmesg seems to report that the drivers are ok. I bet the following kernel drivers are related: dvb_usb_af9015, af9013, dvb_usb. Scanning for channels works as well but that's where the party ends - at least where I live (in Petach Tikva) I get zero channels reception. I switched to Windows, installed the little thingy + its software and verified that indeed its a matter of reception - no channels on Windows too :-( . If you need more info let me know. This is the information I got from Guy with my annotations about frequencies on the bottom: y...@golem3:~$ cat /home/guy/channels.conf CH2:51400:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:512:4112:1 CH10:51400:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:513:4113:2 CH1:51400:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:514:4114:3 CH33:51400:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:515:4115:4 CH99:51400:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:516:4116:5 followed this: http://davidwinter.me.uk/articles/2008/02/08/watching-freeview-dvb-t-tv-with-vlc-player-on-ubuntu/ vlc dvb-t://frequency=51400:bandwidth=8:inversion=0 does it all. (this is for the center of israel, for the north and south the frequency is 53800 Geoff. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
cms.uniqsys.co.il (reported site attack)
Hi, Does someone know someone from there? The site is infected with a malware: < iframe src=http://delzzerro.cn/ height=1 width=1 > And was reported by Google as being hostile. Thanks, Noam Rathaus ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il