Announcement

Collapse
No announcement yet.

locales not working in terminals (except konsole)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    locales not working in terminals (except konsole)

    I use kubuntu 7.04 in Norwegian.
    I have set language to no, installed all lang packs.

    Seems to be something with the utf locales, the no chars æ ø å work fine in konsole but not in Eterm and rxvt which i mostly use.

    i tried switching to ISO locale --then the chars just went dead (as opposed to printing garbled signs)

    I mostly use Windowmaker.

    I hear ubuntu is supposed to be better set up than kubuntu but it works ok and i like having kde available so if i could solve this little snag..

    #2
    Re: locales not working in terminals (except konsole)

    [Alt][F2] kcontrol > Regional & Accessibility | Keyboard Layout > Enable ... (?)

    Comment


      #3
      Re: locales not working in terminals (except konsole)

      Afraid it's a little more complicated..

      1. Your suggestion works in kde, fine.
      But I mostly work in Windowmaker.

      2. Chars work fine in X --and now actually also in all terminals except Eterm.
      Not sure what I did --possible it was installing uxterm (w unicode support) which them provided unicode fonts for the other terminals.

      3. The problem is unicode locale. I notice that chars are garbled also in xfe 0.88 --apparetly hasnt unicode.

      4. the real problem here is that it seems virtually impossible to get the system to change locale to an ISO locale --that would have solved it.

      (I tried gnome based ubuntu, same problem)

      Actually it's not a problem, i can live with this --i use eterm 'cause i can use random pics
      --space photos etc. with it --norwegian chars are seldom needed in a terminal

      Otherwise (k)ubuntu has improved a lot since last time i tried it. Perfect for a lazy user like me 8)

      Comment


        #4
        Re: locales not working in terminals (except konsole)

        Perhaps "man -k locale" will point you in the right direction.
        For external use only.

        Comment


          #5
          Re: locales not working in terminals (except konsole)

          Thanks.

          As you no doubt know it produces this:

          stein@arcadia:~$ man -k locale
          locale (1) - Get locale-specific information.
          locale (5) - Describes a locale definition file
          locale (7) - Description of multi-language support
          locale-gen (8) - compile a list of locale definition files
          locale.alias (5) - Locale name alias data base
          Locale::gettext (3pm) - message handling functions
          localedef (1) - compile locale definition files
          localepurge (8) - removing superfluous locale data
          lxterm (1) - locale-sensitive wrapper for xterm
          update-locale (8) - Modify global locale settings


          How do you chose a section for viewing?

          Anyway this 'problem' is just a freak thing with no practical importance.
          I'm not wasting time on it.
          The only thing that has a problem now is Eterm, and i could probably set it up to use
          a unicode font.
          I upgraded xfe to 1.0 using a package i compiled and built for debian Etch, now it works fine

          Now changing locale has obviously been a persistent problem --I found various fixes for Dapper but none that work on Feisty.

          Comment


            #6
            Re: locales not working in terminals (except konsole)

            Originally posted by coyotl
            Afraid it's a little more complicated.
            No problem - here's an accordingly complicated solution (to which I've resorted to make my main system "talk English but type German", so to speak ...): http://www.penguin.ch/dokuwiki/doku.php/debian:shell

            Comment


              #7
              Re: locales not working in terminals (except konsole)

              Thanks --I have something to chew on for a while there, better take it slow and
              easy. Interesting though.

              but no time now..


              Comment


                #8
                Re: locales not working in terminals (except konsole)

                Strange.
                My /etc/environment looks like this

                PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
                LANG=nb_NO.ISO-8859-1
                LANGUAGE="nb_NO:nb:no_NO:no:nn_NO:nn:en"

                but the locale command returns this:

                LANG=nb_NO.UTF-8
                LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:en
                LC_CTYPE="nb_NO.UTF-8"
                LC_NUMERIC="nb_NO.UTF-8"
                LC_TIME="nb_NO.UTF-8"
                LC_COLLATE="nb_NO.UTF-8"
                LC_MONETARY="nb_NO.UTF-8"
                LC_MESSAGES="nb_NO.UTF-8"
                LC_PAPER="nb_NO.UTF-8"
                LC_NAME="nb_NO.UTF-8"
                LC_ADDRESS="nb_NO.UTF-8"
                LC_TELEPHONE="nb_NO.UTF-8"
                LC_MEASUREMENT="nb_NO.UTF-8"
                LC_IDENTIFICATION="nb_NO.UTF-8"
                LC_ALL=


                :P

                beats me

                Have checked out Eterm though. The problem is that it lacks unicode support, simple as that.
                I want my locale settings to stay as they are, no need to break other things to get this
                to work.

                Comment


                  #9
                  Re: locales not working in terminals (except konsole)

                  Originally posted by coyotl
                  How do you chose a section for viewing?
                  Code:
                  man 5 locale
                  (to view section 5 on locale)
                  Code:
                  man -a locale
                  (to view all sections on locale in succession)

                  Comment

                  Working...
                  X