Friday, November 16, 2007

Xen graphical console and foreign keyboards

For those people using CentOS 5.1 or later (Or RHEL for that matter) and that do not have a standard US qwerty keyboard layout. Which is a large part of Europe I guess, will probably have noticed that with 5.0 the keyboard mapping in the graphical console using the Virtual Machine Manager (virt-manager) do not really match.

Luckily since 5.1 this has been solved. The newer version of Xen and libvirt allow you to specifiy the keyboard mapping to use in the graphical console. Unfortunately there is no way to configure this in virt-manager itself, so you need to resort to some text editing. Open the Xen configfile or your domU with your favorite text editor, they should be located in /etc/xen. You should see something like this
name = "test2"
uuid = "a7296544-864c-4bf6-401d-d87e02306ba1"
maxmem = 500
memory = 500
vcpus = 1
bootloader = "/usr/bin/pygrub"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
disk = [ "phy:/dev/rootvg/test2,xvda,w" ]
vif = [ "mac=00:16:3e:56:a7:ba,bridge=xenbr0" ]
Now if you change the "keymap=..." setting to your keyboard layout and start the domU again the keyboard mapping should match now.

To know what keyboard mappings are available you can do this :
rpm -ql xen | grep keymap
This shows you a list of available keyboard mappings.

Update : Konrad posted another interresting tip in the comments : "You can also simply set this for all DomUs in the file /etc/xen/xend-config.sxp e.g. for a french keyboard add a line (keymap 'fr') and restart xend". This is very usefull, tx Konrad !

73 comments:

Anonymous said...

you can also simply set this for all DomUs in the file /etc/xen/xend-config.sxp e.g. for a french keyboard add a line (keymap 'fr') and restart xend

simple payroll software said...

Very nice information. Thanks for this. Please come visit my site small business payroll software when you got time.

Antique Restoration said...

There is obviously a lot more than this. Would you mind telling me how long it took you to gather your content? Please come visit my site guide to antique when you got time.

Estate And Planning said...

This article was extremely interesting, especially since I was searching for thoughts on this subject last Thursday. Please come visit my site Trusts & Estate Planning when you got time.

Unknown said...

Hey very nice blog!! Man .. Beautiful .. Amazing .. I will bookmark your blog and take the feeds also…
New Jersey life insurance, New Mexico life insurance, New York life insurance, North Carolina life insurance, North Dakota life insurance, Ohio life insurance, Oklahoma life insurance, Oregon life insurance, Pennsylvania life insurance, Rhode Island life insurance, South Carolina life insurance,

Unknown said...

Tennessee insurance companies, insurance agents brokers and insurance guide. Comprehensive information about Tennessee car insurance, home owner insurance, health insurance, life insurance and more.

Tennessee
Home Health Care Insurance
, Tennessee
Home Insurance
, Tennessee
Hospitalization Insurance
, Tennessee
Insurance
, Tennessee
Insurance Adjusters
, Tennessee
Insurance Agents & Brokers
, Tennessee
Insurance Annuities
, Tennessee
Insurance Bonds
, Tennessee
Insurance Claims & Services
, Tennessee
Insurance Claims Processing Services
, Tennessee
Insurance Consultants & Advisors
, Tennessee
Insurance Employment Agencies
, Tennessee
Insurance Examinations
, Tennessee
Insurance Examiners

Unknown said...

A fantastic read….very literate and informative. Many thanks….what theme is this you are using and also, where is your RSS button ?
car
body shop
, trade unions, granite
flooring
, radiator repair, unions, install
hardwood floors
, mufflers
& exhaust systems

Unknown said...

Hey very nice blog!! Man .. Beautiful .. Amazing .. I will bookmark your blog and take the feeds also…
labour
union
, refinish hardwood floors, exhaust
systems
, labour organizations, resilient
flooring

Wrought Iron Furniture said...

I usually do not post in blogs but yours is amazing and good work.

Anonymous said...

Hey very nice blog!! Man .. Beautiful .. Amazing .. I will bookmark your blog and take the feeds also…
Michigan
Substance Abuse Counseling
, Oregon
Substance Abuse Counseling
, wholesale
earrings
, manufacturer..exporter, Substance Abuse Health ConnecticutSubstance Abuse Health Illinois, Substance Abuse Health Kansas, Substance Abuse Health Ohio, Substance Abuse Health Michigan, Substance Abuse Health Oregon, earring
wholesale
, china
manufactures,

Anonymous said...

This is very interesting information. I am doing some research for a class in school. and i liked the post. do you know where I can find other information regarding this? I am finding other information on this but nothing that I can use really in my paper for my final. do you have any suggestions?outdoor security systerm China factory, organic
garden pest control
, earring
jewelry
, earring
suppliers
, Bracelets
wholesale
, security surveillance system, organic
garden seeds
, wholesale
fashion earring

Anonymous said...

Thanks for sharing.I like listening to the music of avril.

Anonymous said...

Glad I came across this! Thanks!Best info about:mastercard prepaid debit card,transfer money abroad,green car insurance.

Roger said...

Very cool. It makes me want to read some African Mango reviews and get a Bowflex PR3000 as soon as possible.

Anonymous said...

Feel good inside and out. Here are some tips: virility ex
, wartrol
, zetaclear

Anonymous said...

Nice blog

healthy trim reviews

Anonymous said...

I always appreciate when a post actually contains code that can be used. I spend hours trying to code and get great satisfaction upon success. Please feel free to visit my fatburning furnace review site on weight loss

Brian Benson said...

Wow, the Xen graphical console blows me away everytime I see it. It makes me want to get idol white and read the insanity workout review immediately.

PP said...

I so want to do this.
Great post, thanks

DeLonghi ESAM3300 | Breville BES860XL

archie said...

Love the blog title, Go check out jacked 3d and jack3d review .

John said...

I couldn't agree more, thanks for posting :-)

spraywhite 90

Debbie said...

I think you have hit the nail on the head :-)

Debbie
asylum workout and slim in 6

wow enchanting guide said...

Thank you for the awesome post

Anonymous said...

would cheap term life insurance love wedding insurance reviewsto share this Work Accident Compensation Claim one.

Anonymous said...

This Cost of Whole Life Insurance is really helped me a lot! I have realized so much because if this! Thanks to you! Keep it term life insurance age 42 up!

Anonymous said...

Thanks Affiliate Marketing Basics for this wonderful blog. I am Article Marketing Robot Review glad that I came across this one. I would share this in my facebook Affiliate Marketing Scams account.

Anonymous said...

I like this blog. Learned life insurance age 77 a lot from it! Thanks to the author! Keep it up!You can really help others just term life insurance age 38 by writing!

nataliya said...

Hey,"XEN graphical console and foreign keyboards" is a nice article, i like this article,also thanks for sharing such a nice article.Check out these awesome Escorts I found on Toronto Escorts

James said...

Just want to say I love your blog, and I enjoyed reading your post and the comments from your visitors... digestit colon cleanse

Laura said...

I am very much pleased with the contents you have mentioned.I wanted to thank you for this great article. I enjoyed every
little bit part of it and I will be waiting for the new updates.Check out these site to know about November Jeans

Anonymous said...

Your blog has nox360 helped me learn a little so nox edge thanks.

Daniel said...

Wow, sensational and incredible are the only two words that come to my mind.

decatrim|hydroxycut reviews

Ray said...

I think is absolutely superb :)

food lovers fat loss system review and deer antler plus

Cynthia said...

Thank you for informative and helpful post,Do you want to create a professional website ,here fastest way to make a Website.
The combination of informative and quality content is certainly extremely rare with the large amount of blogs on the internet.i found it informative and interesting. Looking forward for more updates.

jenny said...

This is such a Great resource that you are providing and you give it away for free. It gives in depth information to all the visitors about you article.
Thanks for this valuable information.Check out these site to know about or buy a Twitter Backgrounds

runa543 said...

Wilson Computer Support is a local Birmingham, Alabama based technology service provider specializing in consulting services and iphone repair for business and residential customers.
We can take care of all your iphone repair.
iphone repair

Anonymous said...

Medisoft for all your medical software needs

Clippingpathservices said...

Clipping paths ervices images from their backgrounds using
clipping paths or masks. We are fast, reliable, professional and cost-effective
for clipping path.Our development process is faster and usually we are ready
to deliver 1000+ (Simple/Medium) images per day.

automatic sixpack said...

Hi there, to mention, I enjoyed this article. It was funny. Continue publishing!|What\\'s up, I really want to mention, \\'re wrong. own blog fails to make any sense.

baixar facebook said...

Great post. i like it. feeling great when reading your post .
----
descargar mobogenie gratis and apply baixar facebook gratis | descargar mobogenie

ArbolitosFrutales.com said...

This blog post interest me a lot because of your good insight about the topic. Its informative with lots of ideas.

lavavajillas industrial,
lavavajillas industriales,
lavavajilla industrial,
lavavasos industrial,
lavavaso industrial,
lavavasos industriales,
lavaplatos industrial,
lavaplatos industriales,
lavaplato industrial,
lavavajillas para hosteleria,
lavavajillas hosteleria,
lavavajillas para bar,
lavavajillas bar,
lavavajillas restaurantes,
lavavasos para hosteleria,
lavavasos bar,
lavaplatos para hosteleria,
lavavajillas industrial precios,
lavavajilla industriales

Photo Clipout said...

Good information....
clipping path service | photo retouching service |
neck joint service | photoclipout

Unknown said...

Nice Article....Thanks for post
best home theater system

Clipping path said...

If you need clipping path service with cheap rate high quality then visit here

Unknown said...

Image background removal
service.

Car Hire dubai said...

standard US qwerty keyboard layout version 5.0 is perfect for use. thanks for sharing.

Offshore Clipping Path said...

Thanks for sharing the post.This is really very informative and helpful for us.

Clipping Path Service said...

Really Awesome Blog Thanks for Sharing...

monowar mona said...


The information is very good and very useful.

Unknown said...

Nice post and great information share this post.
clipping path service

custom motorcycle helmets said...

Every single detail about the topic has been highlighted in this article.


custom motorcycle helmets

Marva C. Laseter said...

Well shared post you have published . A lot f thanks for this spanking shared .

abbasiMohamd said...

Gosh, your photos are always so beautiful. Powerful and calm, very inspiring. abbasiMohamd

amanatullas said...

I have just started working at my own. So I think there are lots of things that I still need to learn. amanatullas

abbasiMohamd said...

Your blog is very informative and gracefully..abbasiMohamd

cory brown said...

Very nice and creative photography blog. cory brown

Property for sale Costa del Sol said...

Very nice information.

Aloe vera bulk said...

Very nice information. Thanks for this.

Investment property spain said...

This article was extremely interesting.

Aloe vera spain said...

This is very interesting information.

Anonymous said...

Car rental packages are available at affordable rates on Al Emad. We offer daily, weekly and monthly plans that are tailored to suit your budget. Book now!
https://alemad.ae/

Martin Jackson said...

Highly appreciated for the sharing nice blog. Outsource Clipping Path

ebony lorange said...

So good and informative shared. A lot of thanks for such well blog. Image Retouching
Photo Editing Helps
Neck Joint
Photoshop Guideline
Clipping Path Tutorial
Drop Shadow Helps
Background Remove
Image Editing
Image Cut Out
Photo Manipulation

Graphics Plannet said...

Excellent Information!

Best Regards:

clipping path service

Thomas Martin said...


image masking service is the process of generating multiple versions of a specific image that are all slightly different from one another. Most commonly, these images are used for the purposes of retouching an image for various reasons, such as to correct skin imperfections or add contrast to an image. Image masking is just one of many techniques that can be used to improve the quality of an image before it is printed or displayed.

clipping path service said...

Need photo editing service? check out Clipping Path Service Provider Company.

Photoshop Image Retouching Service said...

Really amazing post. Informative and helpful. Thanks for sharing.

Model Image Retouching Service said...

Very nice information. I really enjoyed reding the blog .Thanks for this.

Abogados herencia malaga said...

Very nice information. I really enjoyed reding the blog .

Abogados herencia malaga said...

I really enjoyed reding the blog

Herencia en malaga said...

This article was extremely interesting.

Abogados especialistas herencias en malaga said...

Me encanta vuestro blog

Photo Manipulation Services said...

Your words have the power to change lives. Thank you!

Our Photoshop Services: Clipping Path Service