Karsten, the simplest solution would be to either create or edit ~/.config/lxsession/autostart and add "@xkbset sticky twokey latchlock" (Replace the "LXDE" portion with "Lubuntu" if on Lubuntu)
Jonathan, the "no X session involved" part with cron is actually more correct than you might have guessed. Not only is cron launched before X-related environment variables are set, I think I remember reading that most cron implementations actually limit the environment passed to cronjobs for security reasons. On 26/03/11 03:35 PM, Jonathan Marsden wrote: > On 03/26/2011 12:09 PM, Karsten Zarth wrote: > >> what do I have to do to get the keyboard sticky? I've tried >> >> xkbset sticky twokey latchlock >> >> but here the stickyness is gone everytime when I reboot the system. ... > > I think the right place to do this would be in your ~/.profile or maybe > ~/.xsession file or similar, so that it is run each time you log in. > > I suspect that, when run from cron, there is no X session involved, so > xkbset can't set any X related things at that point. > > You can also look at editing /etc/default/console-setup or > /etc/default/keyboard to set the relevant XKBOPTIONS so that the change > is remembered across reboots. > > Jonathan > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
