Lincade Forum

The Arcade Linux Community

You are not logged in.

  • Index
  •  » Bugs
  •  » English keymap setting in install

#1 2006-11-17 01:32:10

superhac007
Lincade professional
Registered: 2006-11-01
Posts: 32

English keymap setting in install

When you select the english language in the install you should get the english keyboard.  Instead /etc/conf.d still keeps KEYMAP = "de". I had to manually change this to "en".

Offline

 

#2 2006-11-17 08:21:33

HolgiB
Administrator
From: Kuala Lumpur/Malaysia
Registered: 2006-10-24
Posts: 173
Website

Re: English keymap setting in install

This is actually not implemented, means not really a bug. Just a missing feature.

In the next release, you will have the english keyboad setting by default. I already included a tool to change the layout very comfortable in the upcoming release.

--Holger


Sempron 2400, Matrox G400, keyboard hack, Lincade 0.040, TV Ideal

Offline

 

#3 2006-11-18 20:07:58

superhac007
Lincade professional
Registered: 2006-11-01
Posts: 32

Re: English keymap setting in install

Excellent....

Offline

 

#4 2006-11-28 17:36:16

JIcemanL
Lincade expert
From: Los Angeles, California - USA
Registered: 2006-11-27
Posts: 207

Re: English keymap setting in install

The Current Install image 0.031pre2 asks user what keymap to use when booting.

IF that choice is stored in /etc/conf.d/keymaps then this post install script could be used to update the new install keymaps file

Code:

KEYMAP="$(awk -F\" '/KEYMAP=/{print $2}' /etc/conf.d/keymaps)" &&  sed "/KEYMAP=/s/.*/KEYMAP=\"$KEYMAP\"/" /etc/conf.d/keymaps > #/mountpoint/etc/conf.d/keymaps

changing #/mountpoint/ to wherever you mount the new partition that has been setup


details:
awk is used to read /etc/conf.d/keymaps and store result in KEYMAP variable

Code:

KEYMAP="$(awk -F\" '/KEYMAP=/{print $2}' /etc/conf.d/keymaps)"

sed is then used to read the /etc/conf.d/keymaps file and replace the KEYMAP= line with the new KEYMAP="$KEYMAP" variable that was loaded by awk.  output is sent to new install partition.

Code:

sed "/KEYMAP=/s/.*/KEYMAP=\"$KEYMAP\"/" /etc/conf.d/keymaps > #/mountpoint/etc/conf.d/keymaps

Possible changes:
use the etc/conf.d/keymaps from the new partition as the source for sed

I do not know much linux scripting and have made guesses based on online documentation for awk and sed.  if there is a better way to do this please post here.

HolgiB your work is very much appreciated and i hope that i can help out in any way.

JIcemanL


Pentium 4 2.53Ghz, 512MB, ATI 7500 AIW PCI, Wellsgardner D9200 33", Lincade 0.040pre1

Offline

 

#5 2006-11-28 20:07:26

HolgiB
Administrator
From: Kuala Lumpur/Malaysia
Registered: 2006-10-24
Posts: 173
Website

Re: English keymap setting in install

Again a very good suggestion! I will integrate something based on this that the chosen keymap at the beginning, will be used later.

--Holger


Sempron 2400, Matrox G400, keyboard hack, Lincade 0.040, TV Ideal

Offline

 

#6 2010-07-07 05:16:27

flower
New member
Registered: 2010-06-25
Posts: 3

Re: English keymap setting in install

Great

Offline

 

#7 2010-08-25 12:04:28

buynflshop
Lincade expert
Registered: 2010-08-25
Posts: 97

Re: English keymap setting in install

Wholesale NFL Jerseys
Cheap NFL Jerseys
NFL Jerseys
NFL Football Jerseys
Women NFL Jerseys
Kid NFL Jerseys
Super Bowl Jerseys
Super Bowl NFL Jerseys
Throwback Jerseys
Throwback NFL Jerseys
Cheap Throwback Jerseys
Wholesale Throwback Jerseys
Cheap Super Bowl Jerseys
Wholesale Super Bowl Jerseys
youth nfl jerseys wholesale
youth nfl jerseys cheap
nfl youth jerseys
Baltimore Ravens Jerseys
Chicago Bears Jerseys
Cincinnati Bengals Jerseys
Denver Broncos Jerseys
Dallas Cowboys Jerseys
Green Bay Packers Jerseys
Indianapolis Colts Jerseys
Minnesota Vikings Jerseys
New England Patriots Jerseys
New Orleans Saints Jerseys
New York Jets Jerseys
Arizona Cardinals Jerseys
Buffalo Bills Jerseys
Atlanta Falcons Jerseys
Carolina Panthers Jerseys
Cleveland Browns Jerseys
Houston Texans Jerseys
Detroit Lions Jerseys
Jacksonville Jaguars Jerseys
Kansas City Chiefs Jerseys
Miami Dolphins Jerseys
New York Giants Jerseys
Philadelphia Eagles Jerseys
San Francisco 49ers Jerseys
Oakland Raiders Jerseys
Seattle Seahawks Jerseys
Pittsburgh Steelers Jerseys
St Louis Rams Jerseys
San Diego Chargers Jerseys
Tampa Bay Buccaneers Jerseys
Tennessee Titans Jerseys
Washington Redskins Jerseys
Ray Lewis Jerseys
Ed Reed Jerseys
Joe Flacco Jerseys
Terrell Suggs Jerseys
Dick Butkus Jerseys
Greg Olsen Jerseys
Matt Forte Jerseys
Devin Hester Jerseys
Walter Payton Jerseys
Brian Urlacher Jerseys
Lance Briggs Jerseys
Jay Cutler Jerseys
Carson Palmer Jerseys
Rey Maualuga Jerseys
Chad Johnson Jerseys
Demarcus Ware Jerseys
Jason Witten Jerseys
Terrell Owens Jerseys
Felix Jones Jerseys
Marion Barber Navy Jerseys
Marion Barber Jerseys
Emmitt Smith Jerseys
Miles Austin Jerseys
Roger Staubach Jerseys
Troy Aikman Jerseys
Tony Romo Jerseys
Eddie Royal Jerseys
Brandon Marshall Jerseys
Aaron Rodgers Jerseys
A.J. Hawk Jerseys
Donald Driver Jerseys
Greg Jennings Jerseys
Peyton Manning Jerseys
Dallas Clark Jerseys
Robert Mathis Jerseys
Marvin Harrison Jerseys
Drew Brees Jerseys
Marques Colston Jerseys
Pierre Thomas Jerseys
Reggie Bush Jerseys
Jeremy Shockey Jerseys
Tarvaris Jackson Jerseys
Adrian Peterson Jerseys
Jared Allen Jerseys
Mark Sanchez Jerseys
Thomas Jones Jerseys
Leon Washington Jerseys
Brett Favre Jerseys

Offline

 
  • Index
  •  » Bugs
  •  » English keymap setting in install

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson