On Thu, Jan 23, 2014 at 1:13 PM, Lars Nooden <[email protected]> wrote:
> After suspend or hibernate, I lose my designated console keyboard layout
> (sv) and it reverts to the default (us?)  wsconsctl shows that the
> encoding to still be sv,
>
>         keyboard.encoding=sv
>
> What setting(s) am I missing to preserve the designated layout across
> suspend/hibernate?
>
> Regards,
> /Lars

Maybe the following trick?

# mkdir -p /etc/apm && \
printf "#!/bin/sh\n/sbin/wsconsctl keyboard.encoding=sv\n" >
/etc/apm/resume && \
chmod 0755 /etc/apm/resume

Followed by:

# /etc/rc.d/apmd restart

Reply via email to