You are not logged in.

#1 2012-09-04 19:57:16

agkbill
Member
Registered: 2011-06-13
Posts: 85

[SOLVED] Preparing for systemd, toggle keyboard layout stop working.

Hi all,

I am preparing for switch to systemd and was going through rc.conf according to the wiki to se that I have the new conf files in place and that everything work when I disabled it in rc.conf.

To make a long story short I isolated the problem to  LOCALE="en_US.UTF-8" in rc.conf.

If I disable it I can not switch layout between us and se.

For layout toggle I added:

setxkbmap -layout "us, se" -option "grp:alt_shift_toggle"

to my .xinitrc

In /etc/locale.gen it look like this:

#en_SG.UTF-8 UTF-8  
#en_SG ISO-8859-1  
en_US.UTF-8 UTF-8  
en_US ISO-8859-1  
#en_ZA.UTF-8 UTF-8  
#en_ZA ISO-8859-1  

I have also run:

 locale-gen

Any ide way I need LOCALE="en_US.UTF-8" in rc.conf in order to get the swedish layout to work OK?

What is needed for it to work without rc.conf setting?

Thank you!

Best regards,
Christer

Last edited by agkbill (2012-09-05 14:21:20)

Offline

#2 2012-09-04 21:07:24

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 776

Re: [SOLVED] Preparing for systemd, toggle keyboard layout stop working.

Try to put LANG="en_US.UTF-8" into /etc/locale.conf

Offline

#3 2012-09-05 14:20:54

agkbill
Member
Registered: 2011-06-13
Posts: 85

Re: [SOLVED] Preparing for systemd, toggle keyboard layout stop working.

Thank you lahwaacz!

Worked just great.

All the best.
Christer

Offline

Board footer

Powered by FluxBB