[PLUG] Keymap not being followed on console

wes plug at the-wes.com
Wed Oct 15 18:08:55 UTC 2008


On Wed, Oct 15, 2008 at 11:05 AM, Rich Shepard <rshepard at appl-ecosys.com>wrote:

> On Wed, 15 Oct 2008, Eric Wilhelm wrote:
>
> > I suggest that perhaps .bash_profile is not executing when you login at
> > the console.
> >
> > Does it load the keymap if you run loadkeys manually?
>
> Eric,
>
>   It's not .bash_profile, but a permissions problem. If I log on a
> different
> console as root the keys are remapped. Logged in as me I'm told I don't
> have
> permissions for the keymaps 0, 1, and 2.
>
>   These appear to be in /usr/share/kbd/, and all directories are world
> executable (755) while owned by root.root. The individual i386/querty/*
> files are world readable (644) so I don't know where the permission error
> originates. The perms from / down match on the workstation/server and the
> notebook.
>
>   You've shown me where the problem originates, and I appreciate that. Can
> you now suggest how I can determine where the permissions problem is?
>
> Thanks very much,
>
> Rich
>

You could try strace. Just put strace in front of the full command you use
to try to change key maps, and look at the last few lines of output.

You may have to install the strace utility if your distro doesn't come with
it by default.

-wes



More information about the PLUG mailing list