[PC-BSD Testing] 1.5 Installer bug: Can't change keymap

Tim McCormick tim at pcbsd.org
Wed Mar 19 11:01:43 PST 2008


Thanks for the bug report, and fix, Jun.

I've added your fix to our subversion repository now :)

Cheers,

Tim

On Wednesday 19 March 2008 17:18:45 Yamashiro, Jun wrote:
> Hello,
>
> I found PC-BSD 1.5 installer bug and how to fix.
>
> Description:
> Can't change keymap in 1.5 installer.  Because, setxkbmap(1)
> can't work at /usr/local/pcbsd/scripts/PCBSD.SetKeyboard.sh
>
> (After install, keymap changed correctly)
>
> How to fix:
> 	"mkdir -p /var/lib/xkb" in installer OS image.
>
> setxkbmap(1) is depend with /usr/local/share/X11/xkb/compiled.
> It symlink of /var/lib/xkb in FreeBSD.  But, missing "/var/lib/xkb"
> in 1.5 installer.  swtxkbmap(1) can't work.
>
> Fix example:
> 					(Run xterm in 1.5 installer)
> pcbsd# cat > /dev/null
> @					(Type 'Shift_2' with US keymap)
> pcbsd# setxkbdmap -model jp106 -layout jp
> Error loading new keyboard description	(Can't change keymap)
> pcbsd# cat > /dev/null
> @					(Type 'Shift_2' with US keymap)
> pcbsd# mkdir -p /var/lib/xkb
> pcbsd# setxkbdmap -model jp106 -layout jp
> pcbsd# cat > /dev/null			(keymap changed)
> "					(Type 'Shift_2' with JP keymap)
> pcbsd#
>
> regards,

-- 
Tim McCormick
PC-BSD Lead Developer
tim at pcbsd.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.pcbsd.org/pipermail/testing/attachments/20080319/baa19e4d/attachment.bin 


More information about the Testing mailing list