[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: localectl list-keymaps : Couldn't find any console keymaps



On Thu, Jul 02, 2015 at 11:52:41PM +0200, Alberto Cortés wrote:
> On Thu, Jul 02, 2015 at 09:53:22PM +0200, Alberto Cortés wrote:
> > Pretty much what the subject says.
> > 
> > I'm trying to configure my virtual consoles in Debian Jessie.
> > 
> > When I ask for a listing of the available keymaps, this is what I get
> > instead:
> > 
> >   ; localectl list-keymaps
> >   Couldn't find any console keymaps.
> > 
> > Other localectl incantations seem to be working just fine:
> > 
> >   ; localectl list-locales
> >   C.UTF-8
> >   en_US.utf8
> > 
> > More info:
> > 
> >   ; aptitude show console-data | egrep ^State
> >   State: installed
> > 
> > P.S.: It is hard to find information about virtual console
> > configuration nowadays, any pointer will be helpful, thanks.
> 
> First, sorry about the subject mistake and change.
> 
> Now, more info:
> 
>   ; strace localectl list-keymaps 2>&1 | tail -7
>   lstat("/usr/share/kbd/keymaps", 0x7ffceed35a40) = -1 ENOENT (No such file or directory)
>   lstat("/usr/lib/kbd/keymaps", 0x7ffceed35a40) = -1 ENOENT (No such file or directory)
>   lstat("/lib/kbd/keymaps", 0x7ffceed35a40) = -1 ENOENT (No such file or directory)
>   writev(2, [{"Couldn't find any console keymap"..., 34}, {"\n", 1}], 2Couldn't find any console keymaps.
>   ) = 35
>   exit_group(1)                           = ?
>   +++ exited with 1 +++
> 
> That directories are not present on my system.
> 
> The console-data package seems to install some keymaps on other directories
> though:

That sounds like a bug to me. Check the bug reports for console-data and
systemd to see if either mentions it and, if not, raise a bug. My gut
feeling would be that this is a bug in systemd (not because of any
ill-feeling towards that package, but simply because console-data has
been around longer than systemd)

> 
>   ; dpkg -L console-data | grep keymaps
>   [...]
>   /usr/share/keymaps
>   /usr/share/keymaps/atari
>   /usr/share/keymaps/atari/atari-de-emacs.kmap.gz
>   /usr/share/keymaps/atari/atari-us.kmap.gz
>   /usr/share/keymaps/atari/atari-uk-deadkeys.kmap.gz
>   /usr/share/keymaps/atari/atari-de.kmap.gz
>   /usr/share/keymaps/atari/atari-fr.kmap.gz
>   /usr/share/keymaps/atari/atari-se.kmap.gz
>   /usr/share/keymaps/atari/atari-us-deadkeys.kmap.gz
>   /usr/share/keymaps/atari/atari-uk.kmap.gz
>   /usr/share/keymaps/atari/atari-de-deadkeys.kmap.gz
>   /usr/share/keymaps/atari/atari-se-deadkeys.kmap.gz
>   /usr/share/keymaps/amiga
>   /usr/share/keymaps/amiga/amiga-it.kmap.gz
>   /usr/share/keymaps/amiga/amiga-es.kmap.gz
>   /usr/share/keymaps/amiga/amiga-fr.kmap.gz
>   /usr/share/keymaps/amiga/amiga-de.kmap.gz
>   /usr/share/keymaps/amiga/amiga-se.kmap.gz
>   /usr/share/keymaps/amiga/amiga-us.kmap.gz
>   /usr/share/keymaps/amiga/amiga-sg.kmap.gz
>   /usr/share/keymaps/i386
>   /usr/share/keymaps/i386/fgGIod
>   /usr/share/keymaps/i386/fgGIod/trf.kmap.gz
>   /usr/share/keymaps/i386/fgGIod/trfu.kmap.gz
>   /usr/share/keymaps/i386/fgGIod/tr_f-latin5.kmap.gz
>   /usr/share/keymaps/i386/qwerty
>   [...]
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20150702215241.GA2780@bat.localdomain">https://lists.debian.org/[🔎] 20150702215241.GA2780@bat.localdomain
> 

-- 
For more information, please reread.

Attachment: signature.asc
Description: Digital signature


Reply to: