This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE Login screen date language

Tags: None
(comma "," separated)
User avatar
neilhoughton
Registered Member
Posts
10
Karma
0

KDE Login screen date language

Fri Feb 24, 2017 2:16 pm
Hi,
neon-useredition-current.iso 23-02-17
I am located in Luxembourg and my Sony Vaio laptop has a QWERTZ keyboard.
I was able to set my preferred keyboard as German and language as English.

There was one problem with the login and lock screens that set the month and day to German language.
ie. this setting followed the timezone set in the installer.

I chose to reinstall and set the timezone to UK in the installer.
After installation I reset the timezone to Luxembourg.

Is there a setting I missed or is this a known problem with KDE?
Interestingly, I did not experience this issue with the Neon developer edition install.
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: KDE Login screen date language

Fri Feb 24, 2017 9:55 pm
SDDM

The KDE default login screen is the SDDM - https://en.wikipedia.org/wiki/Simple_De ... ay_Manager

Earlier KDE Forums: Keyboard localisation on login screen (SDDM) - viewtopic.php?f=309&t=138783

What locale settings sddm respects? - https://www.bountysource.com/issues/379 ... m-respects
The 'sddm.service' setting 'EnvironmentFile' seems to work at here.
steinhr
Registered Member
Posts
17
Karma
0
OS

Re: KDE Login screen date language

Sun Mar 10, 2019 7:01 pm
TWO FIXES, ONE INVOLVING RESET OF LOGIN AND LOCK SCREEN DATE LANGUAGE, THE OTHER INVOLVING APPLICATION MENU LANGUAGE RESET
Type of Linux these fixes are relevant for: KDE Neon 15.5.2 64-bit with Ubuntu 18.04 LTS as core.

The issue as raised in this thread STILL EXISTS but admits of a SOLUTION, as I will here give (extracting a solution from some lengthy comments at Askubuntu). It may be that the previous reply has a clear-cut solution somewhere inherent in the links, but I think what is called for is a step 1, step 2, step 3 solution to this thing,.

The question that is touches on an issue I have experienced with all versions of KDE Neon the past year and it is still existing in the newest KDE Neon (yes, updated this week on three laptops). The reason the issue persists is that it shows up only for that relatively small percentage where the preferred language is different than the assumed language with the associated time zone during install, and when it does show up, it is hard to imagine that it cannot easily be changed by going into suitable settings.

The way to create the issue is this:
Install KDE Neon from a pendisk. Let us say that you are installing on a laptop with language A, and you are doing this in a city where the dominant language is also A, ut you are telling the install program that the preferred language layout for the keyboard is B, and the displayed language for the KDE Neon is also B.

You will then find that the day, date and such at the login screen sticks to the language A, and this can not be changed by any amount of language adjustments in Systems Settings or associated settings for keyboard, for login screen, or the like. The solution--unless there is a peculiarly-named little program that can do this automatically--is to manually edit a certain file. Here is now the language used with the date format for the login screen can be changed into US English.

But first, if you don't have geany or a similar text editor installed, type
Code: Select all
sudo apt install geany


Then type:

Code: Select all
sudo -i
cd /etc/default
geany locale


This will allow you to edit the locale text file, and for a certain non-English language it may look like this:

# File generated by update-locale
LANG="en_US.UTF-8"
LC_NUMERIC="nb_NO.UTF-8"
LC_TIME="nb_NO.UTF-8"
LC_MONETARY="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"

By easy use of CTR-C copy and CTR-P we quickly (but carefully) change this into this (or you may try to just change the 'time' variable):

# File generated by update-locale
LANG="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_MONETARY="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"

And click CTR-S to save it, and CTR-Q to quit the editor, and then reboot and it should be in order.

In the future, the changing of this file will no doubt be easily done through some clicking at the System Settings for KDE Neon, in the section where it says 'language'. Until then, this is a good thing to know about to straighten this thing out.

ADDED REMARK (NEXT DAY) TO A VAGUELY RELATED LANGUAGE ISSUE AND AT LEAST PART OF A FIX FOR, THAT, TOO
Since, at least, 2015 there has been questions from users both of KDE and Ubuntu linuxes, both in this forum and at Askubuntu, in which the theme is: I changed the language to something other than English, and now I can't change it back. The answers are plenty, but only some of them have relevance for KDE Neon Linux as of today. With the very newest KDE Neon--the most updated version as for the date of this post is KDE Neon 5.15.2 64-bit with Ubuntu 18.04 LTS as core--there is still issues with this. Here is how to re-create the issue: Go into System Settings -> Language. Add a language. Then go back in and modify the sequence a couple of times. In the situation that something like US English is #1 in the list of preferred languages, and Greek is #2, what will next happen is that a lot of Greek will show up in various places, such as in the Geany editor, even though Greek is stated to be #2 and not the preferred language to show the main things in.

In then going back into the "Language" part of System Settings, it may then be that System Settings fails to respond and has to be closed manually, and will not respond even after reboot each time one goes back into its "Language" part. So this is something I assume will be fixed in future versions of KDE Neon.

Meanwhile, to reset the menues to be all in US English, also for Geany, the fix is as follows, typed into Konsole, after Geany editor is installed, without using sudo:

Code: Select all
cd ~
cd .config
geany plasma-locale*


This will open two files. Change both of them. What to look for is the lines that says LANGUAGE= and be sure that in both files it says
LANGUAGE=en_US:en

If you then wish to switch it back so that Geany's menues are shown in Greek you can change the en_US:en into eg en_US:el for Greek. By further modifying the "locale" files for the system, and the plasma-locale* files for the relevant users, you can control the displayed languages manually, until the System Settings have got an update at this point and do this in a faster and more easy way.
NoNameNoBlame
Karma
0

Re: KDE Login screen date language

Tue Mar 12, 2019 1:16 pm
The new and mysterious way of systemd:

Code: Select all
$ dlocate systemd | grep 'man/man' | grep locale

systemd: /usr/share/man/man1/localectl.1.gz
systemd: /usr/share/man/man5/locale.conf.5.gz
systemd: /usr/share/man/man8/systemd-localed.service.8.gz
systemd: /usr/share/man/man8/systemd-localed.8.gz

(0 0 0)


Take a look…


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]