[Spice-devel] Keyboard layout change on Xspice

Alon Levy alevy at redhat.com
Thu Apr 5 23:54:25 PDT 2012


On Thu, Apr 05, 2012 at 11:49:35PM +0200, Michael Niehren wrote:
> 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 see in the Logs of Xspice the following:
> > The XKEYBOARD keymap compiler (xkbcomp) reports:
> > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> >                   Ignoring extra symbols
> 
> 
> And one left question. I want to get an KDM-Login Screen after connection with the spice 
> client. So on the server, i have setuped a normal X11-Server with kdm to which anyone can 
> make an XDMCP-Session. After that i started the Xspice Server with the following options:
> 
>   Xspice :1 --port 15000 --disable-ticketing -noreset -query <Server-IP>
> 
> So i got the Login-Prompt with the KDM-Login Screen. But the Keyboard layout is in 
> english. How should i set the "setxkbmap de" in this setup ?

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?

> 
> 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
>                             / /  (_)__  __ ____  __
>                            / /__/ / _ \/ // /\ \/ /
>                           /____/_/_//_/\_,_/ /_/\_\


More information about the Spice-devel mailing list