← Back to team overview

lubuntu-desktop team mailing list archive

Re: New LXKeymap version with autostart support

 

Hi Leszek,

Thank you :) Yes it will be very useful :)
However, there is a problem with this implementation : it will need to start python at each start up, to only change the keymap. I'll prefer to have a script to do this, it should be faster.
I also plan to implement it in lxsession, so it could be solution a bit faster, so both solutions will be available.

Regards,
Julien Lavergne

On Wed, 02 Nov 2011 15:33:57 +0100
Leszek Lesner <leszek.lesner@xxxxxx> wrote:

> Hi,
> 
> as I got a lot of requests to implement an autostart feature for
> lxkeymap I did it.
> LXKeymap 0.5 is now capable to store its keymap configuration into a
> file that it reads out during autostart.
> Therefore I wrote a little *.desktop file that I put in the global
> /etc/xdg/autostart which contains the new command "lxkeymap -a" to
> trigger the autostart function of lxkeymap. The Keymap configuration
> will be stored locally in your home directory ( ~/.config/lxkeymap.cfg)
> and is easily editable either by using lxkeymap and set a new keymap or
> by editing it by hand.
> You can get this version from here:
> http://content.wuala.com/contents/leszek/Dokumente/Share/lxkeymap_0.5-0ubuntu1_all.deb?dl=1
> 
> If you notice any bugs then report them here: http://launchpad.net/lxkeymap
> 
> Also I guess there is a bug in lxdm, because changing the keyboard
> layout in the session and logging out to lxdm does not restore the
> global keymap but uses the one choosen in the session.
> This could be also fixed by simply calling "lxkeymap -a" from within
> lxdm but as lxkeymap uses only a local configuration it would then
> create and use the root accounts .config/lxkeymap.cfg file. So you need
> to create this first by executing lxkeymap as root if you want to have a
> different keymap globally+lxdm and your user accounts.
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~lubuntu-desktop
> Post to     : lubuntu-desktop@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~lubuntu-desktop
> More help   : https://help.launchpad.net/ListHelp


-- 
Julien Lavergne <gilir@xxxxxxxxxx>


References