KDE and locale.conf

Since last two months I've been having weird issue with KDE, special characters in files don't display correctly.
I've upgraded my configuration files as it was told  here
Now, my locale.conf looks like that:
LANG="pl_PL.UTF-8"
LC_MESSAGES=C
It is working ok when I'm logged on terminal, but in KDE session locale command gives me:
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
I'm not sure why, but KDE does not inherit locale settings, any idea what am I doing wrong?

Maybe KDE takes the settings from rc.conf rather than locale.conf? I don't have the latter at all and it seems to pick up the settings from rc.conf so that I get LANG set en_GB.UTF-8 and everything else as C (since DAEMON_LOCALE is set to no in rc.conf).
It definitely doesn't pick some of the locale stuff up, though, since it doesn't show the other generated locales in system preferences...

Similar Messages

  • KDE and fonts problem

    Hi. KDE 3.5.2 doesn't respect my fonts configuration in /etc/fonts/local.conf. I don't want to have small fonts antialiased so I set it in that file. In gnome it worked, but in kde not. It doesn't work if i set it in ~/.fonts.conf and it doesn't work, when I set it in control center. Any ideas how to solve it?

    I tried the DPI thing, but it did not help. I did not tried the font replacement thing, because going through all the fonts and changing them manually is quite a task. There should be some other way.
    I tried to remove all my ubuntu font packages from AUR and installing stock, then back again to ubuntu in hope of restoring the settings, but it did not helped.
    Thanks for your suggestions anyway. It was working before, so I just want it to get back to the state it was before. Unfortunately my knowledge in fonts is scarce.

  • KDE and kde apps don't started

    Couple of days ago i had installed arch32 from arch64 using this how-to https://wiki.archlinux.org/index.php/Sw … i686_HOWTO, everything works fine except i needed to reinstall man-db & delete libreoffice configuration dir. Yesterday evening i installed kde, and kdm works just fine, but when starting kde the splash window reaches the first icon & crashesh. xinit/slim do that too, also apps wont start.
    [root@2xrainbow ~]# dolphin
    unnamed app(1832): KUniqueApplication: Cannot find the D-Bus session server: "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
    unnamed app(1831): KUniqueApplication: Pipe closed unexpectedly.
    [root@2xrainbow ~]# exit
    [maki@2xrainbow ~]$ dolphin
    unnamed app(1833): Communication problem with "dolphin" , it probably crashed.
    Error message was: "org.freedesktop.DBus.Error.ServiceUnknown" : " "The name org.kde.dolphin was not provided by any .service files" "
    and xinit
    [maki@2xrainbow ~]$ xinit /usr/bin/startkde -- :1
    X.Org X Server 1.9.4
    Release Date: 2011-02-04
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.37-ARCH i686
    Current Operating System: Linux 2xrainbow 2.6.37-ARCH #1 SMP PREEMPT Sat Jan 29 19:40:04 UTC 2011 i686
    Kernel command line: root=/dev/sda2 ro
    Build Date: 04 February 2011 09:39:45PM
    Current version of pixman: 0.20.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.1.log", Time: Wed Feb 16 12:13:35 2011
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    Agent pid 1884
    startkde: Starting up...
    Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
    kded(1901): Communication problem with "kded" , it probably crashed.
    Error message was: "org.freedesktop.DBus.Error.ServiceUnknown" : " "The name org.kde.kded was not provided by any .service files" "
    startkde: Shutting down...
    klauncher: Exiting on signal 1
    startkde: Running shutdown scripts...
    unset SSH_AUTH_SOCK;
    unset SSH_AGENT_PID;
    echo Agent pid 1884 killed;
    startkde: Done.
    xinit: connection to X server lost
    waiting for X server to shut down

    Solved it by changing username, wierd ...
    https://wiki.archlinux.org/index.php/Change_username

  • What should I set up in locale.conf to avoid conversion errors?

    When I try to use my Ruby script I always get a "invalid byte sequence in US-ASCII (ArgumentError) exception". I managed to track down that program arguments are passed in US-ASCII encoding. However Ruby scripts are using strings with UTF-8 encoding. Formerly those Ruby scripts worked fine, and I found out they keep working if I explicitly convert program arguments (passed as ARGV[]) to UTF-8 encoding.
    I think I have "locale" problems. Maybe I should set up LC_CTYPE somewhere in the config files.
    When I issue command "locale -a" I see:
    C
    POSIX
    en_US.utf8
    hu_HU.utf8
    /etc/locale.conf
    LANG=en_EN.UTF-8
    LANGUAGE=en_EN.UTF-8
    LC_CTYPE=en_EN.UTF-8
    However I added the last line recently, and I don't know how to "source" this kind of file, to manifest their content.

    As far as I know, the locale / LANG setting en_EN.* does not exist, at least it does not appear in my /etc/locale.gen.
    You probably want en_{US,GB}.UTF-8 (or anything else from /etc/locale.gen)
    Though, I am not sure whether this is related to your problem, since 'locale -a' gives correct output.
    Last edited by respiranto (2015-06-02 20:18:07)

  • System ignore locale.conf

    hi to everybody,
    I have a very annoying problem:
    setting up LANG via /etc/locale.conf (because I want system-wide configuration) is ignored
    while setting up via ~/.bashrc works ...
    this is what I get, without
    export LANG=en_GB.UTF-8
    in the ~/.bashrc, but with
    LANG="en_GB.UTF-8"
    in my /etc/locale.conf
    [mattia@arch-dekstop ~]$ locale -a
    C
    POSIX
    en_GB.utf8
    [mattia@arch-dekstop ~]$ locale
    LANG=
    LC_CTYPE="POSIX"
    LC_NUMERIC="POSIX"
    LC_TIME="POSIX"
    LC_COLLATE="POSIX"
    LC_MONETARY="POSIX"
    LC_MESSAGES="POSIX"
    LC_PAPER="POSIX"
    LC_NAME="POSIX"
    LC_ADDRESS="POSIX"
    LC_TELEPHONE="POSIX"
    LC_MEASUREMENT="POSIX"
    LC_IDENTIFICATION="POSIX"
    LC_ALL=
    instead with it in my ~/.bashrc, I get:
    [mattia@arch-dekstop ~]$ locale -a
    C
    en_GB.utf8
    POSIX
    [mattia@arch-dekstop ~]$ locale
    LANG=en_GB.UTF-8
    LC_CTYPE="en_GB.UTF-8"
    LC_NUMERIC="en_GB.UTF-8"
    LC_TIME="en_GB.UTF-8"
    LC_COLLATE="en_GB.UTF-8"
    LC_MONETARY="en_GB.UTF-8"
    LC_MESSAGES="en_GB.UTF-8"
    LC_PAPER="en_GB.UTF-8"
    LC_NAME="en_GB.UTF-8"
    LC_ADDRESS="en_GB.UTF-8"
    LC_TELEPHONE="en_GB.UTF-8"
    LC_MEASUREMENT="en_GB.UTF-8"
    LC_IDENTIFICATION="en_GB.UTF-8"
    LC_ALL=

    I found two similar threads:
    https://bbs.archlinux.org/viewtopic.php … 1#p1252841
    https://bbs.archlinux.org/viewtopic.php … 5#p1153155
    Both blame incorrect sourcing /etc/profile
    What's the output of 'localectl list-locales' and 'localectl status'?

  • No local.conf in /etc/fonts

    trying to get additioanl fonts and making everything look great but no local.conf in the above location!!
    Where did it go, how do I generate a new one, or do I have to write it from scratch?

    OK....now you confused me.  is Locale.conf just a simulink to another file/location?  I just pacmaned ttf and would like to utilize them.  On top of this, there are a couple of modifications to the above file that are recommended for LCD monitors to reduce fuzziness.
    Should there be a general unmodified version to work from, or is it written from scratch?

  • Postgresql.conf and pg_hba.conf sometimes automatically reset

    Hi all,
    I've maked a cocoa app that work with postgresql and connect to the db through TCP socket.
    I have modified the postgre plist file and the configuration files: postgresql and pg_hba.
    All works perfectly, but sometimes Lion autoreset these two files (it don't touch the plist file) and I've to change them again.
    Is it possible to solve this issue?
    Thanks in advance
    Luca
    P.S. Sorry for my english

    Update for my own posts. The warnings are misleading.
    Despite (1) the warning generated when I start postgres
    $ sudo serveradmin start postgres
    postgres:error = "CANNOT_START_SERVICE_TIMEOUT_ERR"
    and despite (2) serveradmin fullstatus stating that postgres is not responding
    $ sudo serveradmin fullstatus postgres
    postgres:dataDirHasBeenInitialized = yes
    postgres:PG_VERSION = "9.2.1"
    postgres:dataDir = "/Library/Server/PostgreSQL/Data"
    postgres:postgresIsResponding = no
    postgres:dataDirIsDirectory = yes
    postgres:PGserverVersion = 0
    postgres:dataDirExists = yes
    postgres:setStateVersion = 1
    Postgres is up and running and I can login remotely (with a user with a password set) and locally as _postgres (with no password).
    For example, my entry in /Library/Server/PostgreSQL/Data/pg_hba.conf has the following lines:
    local   all             all                                     trust
    host    all             all             192.168.10.0/24         md5
    I can now login locally as "_postgres" without a password. I just need to explicity specify "-h localhost"
    $ psql -h localhost -U _postgres auditex
    psql (9.1.4, server 9.2.1)
    WARNING: psql version 9.1, server version 9.2.
             Some psql features might not work.
    Type "help" for help.
    auditex=#
    and remotely via my user "bob" with a password
    $ psql -h r2d2.lab.netsq.com -U bob auditex
    Password for user bob:
    psql (9.1.4, server 9.2.1)
    WARNING: psql version 9.1, server version 9.2.
             Some psql features might not work.
    Type "help" for help.
    auditex=>

  • Cannot set locale (ignored from /etc/locale.conf)

    I just installed Arch on my new machine and I wrote:
    ==> /etc/locale.conf
    LANG=es_CL.utf-8
    # LANG=es_CL.UTF-8 (I've tried with both).
    after uncommenting it on /etc/locale.gen and running # locale-gen
    (I basically followed every step in the wiki).
    No matter what I do when I start any terminal, I found the locale commands output:
    $ ~ locale
    LANG=
    LC_CTYPE="POSIX
    LC_NUMERIC="POSIX"
    LC_TIME="POSIX"
    LC_COLLATE="POSIX"
    LC_MONETARY="POSIX"
    LC_MESSAGES="POSIX"
    LC_PAPER="POSIX"
    LC_NAME="POSIX"
    LC_ADDRESS="POSIX"
    LC_TELEPHONE="POSIX"
    LC_MEASUREMENT="POSIX"
    LC_IDENTIFICATION="POSIX"
    LC_ALL=
    I found that if I open a tty, the /etc/profile.d/locale.sh is ran so, the locales are correct and locale shows the correct output.
    The weirdest thing is that my old machine doesn't load locale.sh, and still the locale it's right.
    I've search a lot through the wiki and bbs and even when there are couple of articles, none of them help me to solve this issue :(.
    I'm running my session through systemd --user (in case it means anything).
    EDIT: Add more info.
    EDIT2: Fix typo
    Last edited by pablox (2013-03-25 13:19:42)

    WorMzy wrote:
    Looks like it is, I removed it from my .zshrc and nothing changed.
    Could you check whether es_CL.UTF-8 is actually listed as an available locale?
    localectl list-locales
    And if so, whether it's correctly set
    localectl status
    $ localectl list-locales
    en_US.utf8
    es_CL.utf8
    $ localectl status
    System Locale: LANG=es_CL.UTF-8
    LC_COLLATE=C
    LC_MESSAGES=C
    VC Keymap: la-latin1
    X11 Layout: n/a
    $ locale
    LANG=
    LC_CTYPE="POSIX"
    LC_NUMERIC="POSIX"
    LC_TIME="POSIX"
    LC_COLLATE="POSIX"
    LC_MONETARY="POSIX"
    LC_MESSAGES="POSIX"
    LC_PAPER="POSIX"
    LC_NAME="POSIX"
    LC_ADDRESS="POSIX"
    LC_TELEPHONE="POSIX"
    LC_MEASUREMENT="POSIX"
    LC_IDENTIFICATION="POSIX"
    LC_ALL=
    $
    Ô_o
    I have removed an empty ~/.zprofile just in case but the issue persist. Running an empty zsh shell (with zsh -f) doesn't work either.
    Last edited by pablox (2013-03-26 23:59:45)

  • [SOLVED] Fontconfig warning: "local.conf"

    Hello Folks,
    every software I run from the terminal shows me a long list of the same message, before to run.
    Here an example:
    skype
    Fontconfig error: "local.conf", line 82: invalid attribute 'target'
    Fontconfig error: "local.conf", line 85: invalid attribute 'target'
    Fontconfig warning: "local.conf", line 181: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 194: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 213: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 229: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 291: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 426: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 530: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 544: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 558: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 614: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 628: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 635: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 229: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 291: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 426: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 530: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 544: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 558: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 614: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 628: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 635: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 642: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 656: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 663: invalid attribute 'name'
    Fontconfig error: "local.conf", line 687: invalid attribute 'name'
    Fontconfig error: "local.conf", line 706: invalid attribute 'name'
    Fontconfig error: "local.conf", line 730: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 742: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 749: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 756: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 776: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 799: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 806: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 813: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 833: invalid attribute 'name'
    Fontconfig error: "local.conf", line 879: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 903: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 916: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 931: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 943: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 959: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 966: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 973: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 992: invalid attribute 'name'
    Fontconfig error: "local.conf", line 1009: invalid attribute 'name'
    Fontconfig error: "local.conf", line 1026: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 1290: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 1293: invalid attribute 'target'
    Fontconfig warning: "local.conf", line 1316: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 1524: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 1527: invalid attribute 'target'
    Fontconfig warning: "local.conf", line 1537: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 1654: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 1871: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 1905: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 1937: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 1985: Having multiple values in <test> isn't supported and may not work as expected
    How could I solve it?
    Last edited by Astroarch (2014-09-11 17:56:30)

    Then , I solved deleting the file and reinstalling fontconfig.
    Byt he way, I do not post in the forum to be joked, if you mean to answer in such a way, better do not post at all.
    Thanks
    Last edited by Astroarch (2014-09-11 17:56:07)

  • KDE and hal

    Installed Arch recently, using Gnome desktop, I decided to install KDE to have a look at it, did a pacman -S kde and got it installed, changed my rc.conf to kdm instead of gdm, saved changes an restarted, now hal will not load and kde does not load the desktop, switched back to gdm in the rc.conf file and gnome loads fine, what shoud I do to get kde to load the desktop?
    Just so you know I am really new to Linux.
    TIA to all who respond.

    Thanks for your responses, most of them are over my head, I will do some reading.
    @eDio, yes I am sure of that
    DAEMONS=(syslog-ng dbus hal network netfs crond alsa gdm)
    I assumed hal was needed, when kde loads it just gives me a background and a terminal window.

  • Remote and local interface on same ejb 3.0 bean instance

    Hi,
    Is it posible to get remote and local interface on same ejb 3.0 bean instance.
    For example get local interface of a bean and than pass it as remote to client.
    Both interfaces must operate on same bean instance.
    Thanks
    Zlaja

    yes. You can implement multiple interfaces on a single class, so you can add a local and a remote interface. One trick to avoid duplicate code is to simply make the remote interface extend the local interface; then you only have to add the @Remote annotation and you're done.
    For example get local interface of a bean and than pass it as remote to client.You don't pass an instances to a client, a client looks up a remote instance of the bean through JNDI.

  • Remote and local databases

    let say that i access a oracle form through the web and that form access data from two distributed databases, then will there be a remote database and local database for the user or all the databases will be remote databases to the user

    In my opinion.
    using local databases -- access tables without DB_link
    using Remote databases -- access tables through DB_link

  • Remote and Local Site Sync Problems

    I have a customer who is using Dreamweaver CS4 on Mac OS X. Dreamweaver is setup to have a local site as our development server(win 2k3) and the remote site as our live web server(win 2k3). The folder structure on both the development and live web server is the same. When you view the path in the manage site window of dreamweaver it shows both remote and local site listed as /Volumes/www/Data. When dreamweaver connects to both of these to sync the files nothing happens since it sees them as the same place.
    I have looked in the /Volumes folder on the customers computer and two listings appear for the servers www and www-1. This is not what dreamweaver shows and if you repoint the link to the www-1 folder it just changes back to www.
    I have tried to create alias' and symbolic links to distinguish one folder from the other however nothing I seem to change has any effect.
    If you use finder on the machine it can distinguish between the two folders I just need to figure out how to make dreamweaver do the same.
    Any assistance on this would be greatly appreciated.

    Unfortunately no I do not have a solution. I was not able to find out at the time and the problem went away with the migration to a content management system for our web server. Also the Develpment team changed hands and the new people all use windows machines.
    Good Luck trying to find a solution.

  • Problem with kde and sound

    Hi!
    I've a problem with KDE and sound.
    When KDE shows a alert the alert's sound sounds with delay. 3-5 seconds.
    Same happens with kde start.
    Can anybody help me?
    Thanks!

    Pilli wrote:
    Hi!
    I've a problem with KDE and sound.
    When KDE shows a alert the alert's sound sounds with delay. 3-5 seconds.
    Same happens with kde start.
    Can anybody help me?
    Thanks!
    Change the player to mplayer or something in the control panel (Sound and Multimedia - System notifications - Player Settings).

  • Performance with globle variable and local var.

    hi anyone
    i just have one performance question about the globle var and local. is having a globle var that is initialized with 'new' at one place better than having local var that is initialzed with 'new' in several places? for example, i have a access var that is initialzed with DB connection. should i have it as a globle var? or put it in the functions where it is needed, and initialize it with DB connection? in both cases, i need to use new operator.
    thanks in advance.

    First , don't use the term "global variable". It is misleading and not an official part of the Java nomenclature. I think the term used should be ( and correct me if I'm wrong ) instance variable. In C and C++ globale variables really are global - they can be accessed by any and all classes which include the header file.
    OK, having got that out of my system, back to the question. The value is gotten from a database, right? Whether you make it an instance variable or not depends on you design and whether the value in the database is likely to change during the lifetime of the instance.
    For example, if this class is a superclass of another, and the cild needs to know the value of the variable, it is often convenient to make it an instance variable so the subclass can access it directly.
    But if the value is likely to change, then you may want to have a getter method which returns the current value in the database.
    The latter will clearly have more overhead associated with it since you would need to get the value each time, but it is probably safer than having an instance variable.

Maybe you are looking for