From: Andreas M. <sch...@go...> - 2012-11-25 22:37:46
|
Hi, does anybody know how to make the keyboard language selection persistent for next boot when using lxdm? I checked the code and debugged this a bit: to set lxdm uses setxkbmap and to select on in greeter it asks X but that returns always 'us'. What is missing? Help appreciated Andreas |
From: Giuseppe P. <gi...@gm...> - 2012-11-26 07:27:19
|
Hi, low level you can do it editing the file: cat /etc/default/keyboard Cheers, Giuseppe. On Sun, Nov 25, 2012 at 11:37 PM, Andreas Müller < sch...@go...> wrote: > Hi, > > does anybody know how to make the keyboard language selection > persistent for next boot when using lxdm? I checked the code and > debugged this a bit: to set lxdm uses setxkbmap and to select on in > greeter it asks X but that returns always 'us'. > > What is missing? > > Help appreciated > > Andreas > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Lxde-list mailing list > Lxd...@li... > https://lists.sourceforge.net/lists/listinfo/lxde-list > |
From: Andreas M. <sch...@go...> - 2012-11-26 10:55:31
|
On Mon, Nov 26, 2012 at 8:27 AM, Giuseppe Penone <gi...@gm...> wrote: > Hi, > low level you can do it editing the file: > > cat /etc/default/keyboard Sorry but this is not what I need for my use case. > > Cheers, > Giuseppe. > > > > On Sun, Nov 25, 2012 at 11:37 PM, Andreas Müller > <sch...@go...> wrote: >> >> Hi, >> >> does anybody know how to make the keyboard language selection >> persistent for next boot when using lxdm? I checked the code and >> debugged this a bit: to set lxdm uses setxkbmap and to select on in >> greeter it asks X but that returns always 'us'. >> >> What is missing? >> >> Help appreciated >> >> Andreas >> >> What about implementing a new option for /etc/lxdm.conf - e.g [base] store-keyboard=0/1 If this option is set to 1 * on start lxdm gets the last keyboard from var/lib/lxdm.conf / entry 'last_keyboard'. If this value is not set, it gets X11 default * on end lxdm gets current keyboard from X11 and stores it to var/lib/lxdm.conf / entry 'last_keyboard' With this option set, lxdm would for me behave as expected. The keyboard last selected (either in lxdm-greeter or e.g within the session by panel plugin) is default on next startup. Would such a change have a chance getting applied? Andreas |