Locale setup for KDE6 / Plasma6

hi

getting these messages
Code:
 org.kde.kded.smart[81334]: Detected locale "C" with character encoding "US-ASCII", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information.
May 24 20:34:56 w680ace org.kde.powerdevil.discretegpuhelper[84697]: Detected locale "C" with character encoding "US-ASCII", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information.
May 24 20:34:57 w680ace org.kde.powerdevil.chargethresholdhelper[85427]: Detected locale "C" with character encoding "US-ASCII", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information.
May 24 20:34:57 w680ace org.kde.powerdevil.backlighthelper[85840]: Detected locale "C" with character encoding "US-ASCII", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information.
despite setting up /etc/login.conf /etc/profile $HOME/.profile $HOME/.login_conf

/etc/login.conf and $HOME/.login_conf
Code:
#
# see login.conf(5)
#
me:\
        :charset=UTF-8:\
        :lang=en_US.UTF-8:
/etc/proile and $HOME/.profle
Code:
LANG=en_US.UTF-8; export LANG
CHARSET=UTF-8; export CHARSET

so KDE6 is not impressed by these settings and still is using the default C locale
Can this be setup somewhere so that KDE6 uses the en_US.UTF-8 locale by default ?
 
Last edited by a moderator:
I’m a noob myself as far as FreeBSD is concerned, but I tried reading FreeBSD handbook and the following seems OK for ~/.login.conf but not for /etc/login.conf:
/etc/login.conf and $HOME/.login_conf

#
# see login.conf(5)
#
me:\
:charset=UTF-8:\
:lang=en_US.UTF-8:
Handbook’s example for /etc/login.conf is different:
Code:
german|German Users Accounts:\
    :charset=ISO-8859-1:\
    :lang=de_DE.ISO8859-1:\
    :tc=default:
Mutatis mutandis of course, but for the life of me I cannot find the group names (like “german”!) in man 5 login.conf or anywhere else!
 
/etc/login.conf and $HOME/.login_conf
The special class/record name 'me' only works for ~/.login.conf:
Code:
     Users may individually create a file called .login_conf in their home
     directory using the same format, consisting of a single entry with a
     record id of "me".
 
You assign that class to a user. If the user has no class set, the 'default' class is used.

Code:
     The master.passwd file is readable only by root, and consists of newline
     separated records, one per user, containing ten colon (‘:’) separated
     fields.  These fields are as follows:

           name      User's login name.

           password  User's encrypted password.

           uid       User's id.

           gid       User's login group id.

           class     User's login class.

           change    Password change time.

           expire    Account expiration time.

           gecos     General information about the user.

           home_dir  User's home directory.

           shell     User's login shell.

Code:
     -L class      This option sets the login class for the user being
                   created.  See login.conf(5) and passwd(5) for more
                   information on user login classes.
See pw(8)
 
Back
Top