Remastersys and AVLinux Forum
May 18, 2013, 04:19:01 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Remastersys depends on user donations to survive.  Please help keep Remastersys going.

http://www.remastersys.com
 
   Home   Remastersys Home Remastersys downloads Donate Login Register AV LINUX Home Help Search  
Pages: [1]
  Print  
Author Topic: Set your keyboard layout on boot on a live USB key  (Read 657 times)
0 Members and 1 Guest are viewing this topic.
jakoblund
Newbie
*
Offline Offline

Posts: 1


« on: April 17, 2012, 03:58:08 PM »

If you use a live USB with a non-english keyboard you may want to configure your USB key to boot with the correct setting, rather than having to change it manually for each session.

Fix:
Boot your "normal" OS and mount the USB key as a normal drive. Then modify the file syslinux.cfg, adding the following
keyboard-layouts=<CODE>
to the end of the line that starts with "append" (there are more than one of these lines, pick the one that corresponds to the boot option you use; I picked the first one).
<CODE> would be a two-letter code (the same one you'd use with setxkbmab; dk works for danish layout.)


I found that info here, along with other useful stuff, including hints in how to figure out what <CODE> should be:
http://live.debian.net/manual/html/customizing-run-time-behaviours.en.html#503
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!