XKBVARIANT variable is ignored

Bug #332729 reported by MDill
2
Affects Status Importance Assigned to Milestone
console-setup (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am running Ubuntu 8.10 with console-setup ver 1.25ubuntu4

Setting XKBLAYOUT="us" and XKBVARIANT="dvorak" in "$HOME/.console-setup" and running "sudo /bin/setupcon" fails to load the dvorak keymap. The "/etc/console-setup/boottime.kmap.gz mapping is always loaded instead.

In line 307 of /bin/setupcon the variable VARIANT is checked when I believe XKBVARIANT ought to be. This causes all the XKB... options to be ignored if one is using a normal "$HOME/.console-setup" configuration rather than a "$HOME/.console-setup.VARIANT" configuration. The VARIANT variable should only be evaluated early in the script to load the proper configuration file.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.