[Spice-devel] Keyboard layout change on Xspice

Michael Niehren michael at niehren.de
Fri Apr 6 02:53:41 PDT 2012


Hi Alon,
 
> > after setting up "setxkbmap de" i got the german keyboard, great. 2 issues are left, 
the 
> > ALT and ALT-GR Key's do not work as expected, so specially i could not type the "|" 
Symbol 
> > with ALT-GR and "<". Do you also have a solution for that problem ?
> 
> Hmm, no. Please report this on bugzilla.redhat.com (xorg-x11-drv-qxl
> component - there is no Xspice component, just make sure to put Xspice
> in the subject).
i will do so 

> I don't know the answer either. But it sounds like something solvable
> with xorg.conf - Xspice defaults to passing "-config spiceqxl.xorg.conf"
> to the Xorg process (Xspice is just a python script that sets up
> environment variables, and execs Xorg). So you could edit that config
> file or setup a second one and append "-config myxorg.conf" (it will
> override the first -config). But wouldn't you want the keyboard layout
> to be changable? or is it always de since it has the same latin keys as
> english?
I see that Xspice is only a script with Arguments to xorg, but if i do the call
  Xspice :1 --port 15000 --disable-ticketing -noreset -query <Server-IP>
Keyboard is always in english, so on the kdm-Login screen i can not write the special 
german chars. I do not find an argument about the language for xorg. Normaly in xorg.conf 
i have an entry like the following:

Section "InputDevice"
        Identifier  "Keyboard"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "nodeadkeys"
EndSection

but if i add these entries in the spiceqxl.xorg.conf i still got the english keyboard 
layout.

Greetings,
  Michael

> 
> > 
> > Greetings,
> >   Michael
> > 
> > 
> > On Thursday 05 April 2012 17:58:03 you wrote: 
> > > On Thu, Apr 05, 2012 at 01:24:54PM +0200, Michael Niehren wrote:
> > > > Hi together,
> > > > 
> > > > i successfully installed and connected to Xspice und FC16, great work, i was very 
> > pleased 
> > > > to see, what's possible with spice.
> > > > 
> > > > 1 thing left to use it as an Server to connect from my thin client is the keyboard 
> > layout.
> > > > As i live in Germany i want to have the german keyboard layout. If i connect with 
the 
> > > > spice-client i only got the english one. Is there a way to change that (i didn's 
find 
> > one) 
> > > > ?
> > > 
> > > (Continuing my previous reply). OK - tried a non english keyboard
> > > (hebrew), and it works fine. The thing to understand is that changing
> > > the keyboard mapping on the client doesn't affect the server - only
> > > changes on the server side affect it. So to get a german keyboard, you'd
> > > need to change the keyboard on the remote side, the server, for instance
> > > I just used "setxkbmap il" to change the keymap to the hebrew one on the
> > > remote side.
> > > 
> > > > 
> > > > greetings,
> > > >   Michael
> > > > 
> > > > -- 
> > > > Michael Niehren              __   _       powered by
> > > >                             / /  (_)__  __ ____  __
> > > >                            / /__/ / _ \/ // /\ \/ /
> > > >                           /____/_/_//_/\_,_/ /_/\_\
> > > > _______________________________________________
> > > > Spice-devel mailing list
> > > > Spice-devel at lists.freedesktop.org
> > > > http://lists.freedesktop.org/mailman/listinfo/spice-devel
> > >  
> > -- 
> > Michael Niehren              __   _       powered by
> >                             / /  (_)__  __ ____  __
> >                            / /__/ / _ \/ // /\ \/ /
> >                           /____/_/_//_/\_,_/ /_/\_\
>  
-- 
Michael Niehren              __   _       powered by
                            / /  (_)__  __ ____  __
                           / /__/ / _ \/ // /\ \/ /
                          /____/_/_//_/\_,_/ /_/\_\


More information about the Spice-devel mailing list