Bug #17633

Support live-config's locales= and keyboard-layouts= boot options in the Welcome Screen

Added by beta-tester 2020-04-17 12:13:44 . Updated 2020-04-25 16:36:18 .

Status:
Confirmed
Priority:
Low
Assignee:
Category:
Target version:
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Welcome Screen
Deliverable for:

Description

hello,

when i add the boot options locales=de_DE.UTF-8 and keyboard-layouts=de then the “Wecome to Tails” dialog ignores those options.
in Debian those options will be used to preselect the settings in the Welcome dialog, in my case locale: de_DE “Germany” and keyboard layout: de “German”.

but Tails Welcoms dialog behaves even worse:

  • the boot option boot option keyboard-layouts=de is ignored by the dialog and the default selection is en
    and after passing the dialog the keyboard layout is en as it was shown in the welcome dialog.
  • the boot options locales=de_DE.UTF-8 was also ignored by the dialog and the default selection is us_EN
    but after passing the the dialog the user interface was setted to de_DE as it was requested by the bootoption locales=de_DE.UTF-8
    but not as it was shown in the dialog.

the best way would be to take those boot options locales= and keyboard-layouts= into account
to preselect the settings for location and keyboard-layout in the dialog as Debian’s Welcom dialog does
and use those selections for the environment after passing the dialog.


Subtasks


History

#1 Updated by intrigeri 2020-04-17 16:28:02

  • Status changed from New to Confirmed
  • Priority changed from Normal to Low
  • Affected tool set to Welcome Screen

#2 Updated by intrigeri 2020-04-17 16:28:46

  • Subject changed from Welcome dialog behaves wrong with boot options *locales* and *keyboard-layouts* to Support live-config's locales= and keyboard-layouts= boot options in the Welcome Screen

#3 Updated by intrigeri 2020-04-17 16:29:28

> the best way would be to take those boot options locales= and keyboard-layouts= into account to preselect the settings for location and keyboard-layout in the dialog as Debian’s Welcom dialog does and use those selections for the environment after passing the dialog.

The vast majority of our user base won’t benefit from this, so I don’t think we should spend much of the limited Tails resources on this.

This being said, I think we would gladly consider a good, well tested branch that implements this feature request, if it does not add too much complexity to the code, and if it looks maintainable.

One thing to consider, while implementing this, is that we don’t display every possible locale in the Welcome Screen.

#4 Updated by beta-tester 2020-04-18 16:21:39

can you please give me a link, where i can find the source code of the “Welcome to Tails”.

#5 Updated by intrigeri 2020-04-19 05:39:54

> can you please give me a link, where i can find the source code of the “Welcome to Tails”.

The Welcome Screen source code is under config/chroot_local-includes/usr/lib/python3/dist-packages/tailsgreeter/ in our main Git repo

#6 Updated by beta-tester 2020-04-25 16:36:18

i have a question,
in the python files of tailsgreeter there are many times something like:

<code class="python">
import logging

logging.debug('...')
logging.info('...')
logging.warning('...')
logging.error('...')
</code>

i booted tails with the boot option debug, where can i see those loggings from the tailsgreeter application?
where are its logfiles stored?