Re: [gdm-list] Advice on starting apps post "post-session"



On Sun, August 8, 2010 8:08 am, Ray Strode wrote:
> Hi,
>
> On Sun, Aug 8, 2010 at 7:26 AM, Patrick Shirkey
> <pshirkey boosthardware com> wrote:
>> Hi,
>>
>> I have fixed my gconf settings to enable the various AT apps like orca,
>> gok, dasher etc at startup. However I have run into a problem with
>> getting
>> them to start the first time the settings are determined.
> Yea, you're probably hitting a limitation in the way the a11y system
> works.  The first time you toggle on a11y you have to restart your
> session for it to take effect.
>
>> The settings are configured and written to the various files but the
>> first
>> time the desktop is loaded nothing is starting up. It takes a restart to
>> get things to run.
>>
>> One way to overcome this is to fork/exec the apps in the wizard before
>> it
>> is terminated but I am wondering if there is a more elegant solution for
>> telling gdm to reload the autostart settings without having to restart
>> completely.
>
> The stock Xsession file (/etc/gdm/Xsession) runs all the shell scripts
> in /etc/X11/xinit/xinitrc.d/ before executing the users session.
>
> Most distros replace that Xsession file with their own distro specific
> one so the exact directory changes from distro to distro, but once you
> figure out which directory to use you should be able to run your
> wizard before the session is started.  Then the wizard will run as the
> user and it will run before the session is started so the session
> shouldn't require a restart.
>


Thanks for your suggestion. I will play around with this and let you know
how we get on.



-- 
Patrick Shirkey
Boost Hardware Ltd.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]