WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Keyboard change

To: "Geert Janssens" <info@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Keyboard change
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 18 May 2007 18:25:23 +0200
Delivery-date: Fri, 18 May 2007 09:24:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200705181815.08602.info@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceZZ8HzGFu7Z/jZTD20iQZpmJbLfAAAKnng
Thread-topic: [Xen-users] Keyboard change
 

> -----Original Message-----
> From: Geert Janssens [mailto:info@xxxxxxxxxxxx] 
> Sent: 18 May 2007 17:15
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Cc: Petersson, Mats; ben henrion
> Subject: Re: [Xen-users] Keyboard change
> 
> On Wednesday 16 May 2007 11:49, Petersson, Mats wrote:
> > > -----Original Message-----
> > > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> > > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> > > ben henrion
> > > Sent: 16 May 2007 09:15
> > > To: xen-users
> > > Subject: [Xen-users] Keyboard change
> > >
> > > Hello,
> > > it's not the first time but  ...  Who know?
> > > Well, I use xen in HVM. All works fine, my  keyboard in Dom0
> > > is AZERTY, but this keyboard become QWERTY when i enter in
> > > VM, it's not useful to type password.
> > > How can i keep my keyboard AZERTY in my VM and in Dom0?
> >
> > As long as you have a recent version of xen, you should be 
> able to say
> > "keymap=<lang>", e.g. "keymap=fr" in the config file.
> >
> Would 
> xen-3.0.3-25.0.3.el5
> be considered recent enough (the system is CentOS 5) ?
> 
> I ask because I have a similar problem with the keymap. I 
> have setup CentOS 5 
> in dom0 with a paravirtualized CentOS 5 domU.
> 
> Both are configured with azerty keyboard layouts. When I 
> connect to the domU 
> via a VNC connection (though the virt-manager GUI), I have to 
> use a QUERTY 
> layout to work in the VNC window.
> 
> The relevant entries in my config file are:
> vfb = [ 
> 'type=vnc,vnclisten=0.0.0.0,vncunused=1,display=localhost:12.0' ]
> keymap = 'nl-be'

The keyboard mapping has been in Xen's QEMU for a while, since changeset 10673 
at the least (which is before 3.0.3). 


However, "xm create" will ignore it until changeset 12467, which is about 
halfway through 3.0.3 -> 3.0.4 changes, so no, 3.0.3 will not support keymap 
setting. You need to update to a newer version of Xen to make use of this 
feature [or you could try to backport this change, but I think that's a harder 
task]. 

> 
> Note that I also required the single quotes around the keymap 
> value or xm 
> create would halt with an error:
> Error: name 'nl' is not defined

Yes, that makes sense. The config script is essentially a python script, which 
means that you can use for example variables in it. Of course, anything without 
quotes will be seen as a variable, not a text-constant. 

Sorry if I was unclear about that earlier [some things are just so obvious when 
you've been doing it for a while]. 

--
Mats
> 
> Any chance to have a Azerty keymap when using VNC ?
> 
> Thanks,
> 
> Geert
> > --
> > Mats
> >
> > > --
> > > Benjamin HENRION
> > > Elève de 4eme année de l' EXIA (Nancy)
> > > Ecole supérieure d'informatique
> > > Spé Réseaux
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>