Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-12-14 22:43:28

dr_pardee
Member
Registered: 2018-12-14
Posts: 2

install xfce keyboard layout non-interactively during install

On Debian 9, trying to

apt-get -y install xfce4 task-xfce-desktop

`but I'm prompted by keyboard layout prompt.

I need to set the layout to English (US) non-interactively.

I tried setting it in /etc/default/keyboard but it's not working.

Thanks

Offline

#2 2018-12-15 02:06:35

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,482

Re: install xfce keyboard layout non-interactively during install

Hello and welcome.

Does this help?

DEBIAN_FRONTEND=noninteractive apt-get -y install ...

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2018-12-16 06:49:35

dr_pardee
Member
Registered: 2018-12-14
Posts: 2

Re: install xfce keyboard layout non-interactively during install

Thanks for the suggestion.

I tried prefacing the apt command with DEBIAN_FRONTEND=noninteractive but it still goes to the keyboard layout selection:

English (US)
English (US) - Cherokee
English (US) - English (classi
English (US) - English (Colema
English (US) - English (Dvorak
English (US) - English (Dvorak
English (US) - English (Dvorak
English (US) - English (intern
English (US) - English (left h
English (US) - English (Macint
English (US) - English (Progra
English (US) - English (right
English (US) - English (the di
English (US) - English (US, al
English (US) - English (US, in
English (US) - English (US, wi
English (US) - English (Workma
English (US) - English (Workma
English (US) - Russian (US, ph
English (US) - Serbo-Croatian

I installed xfce4 manually and replicated the /etc/default/keyboard file the Installer creates:

cat /etc/default/keyboard
XKBLAYOUT=us
XKBVARIANT=
XKBOPTIONS=compose:menu,ctrl:nocaps
XKBMODEL=pc105
BACKSPACE=guess

But this didn't work either

Offline

#4 2018-12-16 14:58:10

Clio
Member
Registered: 2011-01-25
Posts: 102

Re: install xfce keyboard layout non-interactively during install

And maybe like this:

dpkg-reconfigure locales

Offline

#5 2018-12-16 16:10:29

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,482

Re: install xfce keyboard layout non-interactively during install

Here is another possible solutions that redirects the stdin.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 534.62 KiB (Peak: 535.46 KiB) ]