Artix Linux Forum

General Category => General Discussion => Topic started by: Seventh on 26 January 2019, 08:10:58

Title: Error loading key mappings
Post by: Seventh on 26 January 2019, 08:10:58
I am not sure if this is related to an update i did a few days ago but i just noticed this in the rc.log and my other computer that runs the same version of artix openrc has the same error, only now on my laptop startx fails whereas on the desktop startx is unaffected? Ill post the xorg log when i am back on the laptop. But just wondering what is going on here?

 
Code: [Select]
* Loading key mappings [au] ...
cannot open file au
 * Error loading key mappings
 [ !! ]
 * ERROR: keymaps failed to start

should etc/vconsole.conf have the below setting? Im Australia so i gather it should be correct.

Code: [Select]
KEYMAP=au

calamares set this in /etc/locale.conf when i installed.

Code: [Select]
# Locales enabled by Calamares
en_US.UTF-8 UTF-8
en_AU.UTF-8 UTF-8



Title: Re: Error loading key mappings
Post by: artoo on 26 January 2019, 16:04:38
You put wrong line in /etc/vconsole.conf

Try

Code: [Select]
KEYMAP=en_AU.UTF-8
Title: Re: Error loading key mappings
Post by: Seventh on 26 January 2019, 17:03:58
You put wrong line in /etc/vconsole.conf

Try

Code: [Select]
KEYMAP=en_AU.UTF-8

This is very strange, i have not ever touched this file. But the error message is gone and I am about to see if startx will work again on the laptop.
Title: Re: Error loading key mappings
Post by: Seventh on 29 January 2019, 15:03:07
I managed to figure out what was wrong with startx.

I run dwm so i have two scripts being called from .xinitrc,  autostart.sh which starts programs, conky, compton etc  and then dwmrestart.sh which is like a restart in place for dwm so you dont get logged out of the session, this is because when you reconfigure config.h in dwm you need to make install and restart the session for it to be effective, so i was calling it wrong in .xinitrc.

instead of ...

exec autostart.sh &
exec dwmrestart.sh &

it should have read

exec autostart.sh &
exec dwmrestart.sh

calling that second ampersand did it. I feel dumb....

Thanks for solving my initial issue artoo.