All of lore.kernel.org
 help / color / mirror / Atom feed
* X11 without a desktop
@ 2013-08-05 14:14 Gary Thomas
  2013-08-05 14:50 ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2013-08-05 14:14 UTC (permalink / raw)
  To: Yocto Project

I'm running a system roughly based on core-image-sato except
that I've disabled the matchbox desktop (I only have a single
application).  Some things still seem to want the desktop
to be in place though, in particular I don't get a popup
keyboard on my touch screen until I see this message:
   Timeout waiting for org.matchbox_project.desktop.Loaded

The problem is that this timeout is quite long - maybe a minute?

How can I fully disable this or adjust the timeout to be shorter?

Thanks for any pointers

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: X11 without a desktop
  2013-08-05 14:14 X11 without a desktop Gary Thomas
@ 2013-08-05 14:50 ` Burton, Ross
  2013-08-05 16:29   ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2013-08-05 14:50 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

On 5 August 2013 15:14, Gary Thomas <gary@mlbassoc.com> wrote:
> I'm running a system roughly based on core-image-sato except
> that I've disabled the matchbox desktop (I only have a single
> application).  Some things still seem to want the desktop
> to be in place though, in particular I don't get a popup
> keyboard on my touch screen until I see this message:
>   Timeout waiting for org.matchbox_project.desktop.Loaded
>
> The problem is that this timeout is quite long - maybe a minute?
>
> How can I fully disable this or adjust the timeout to be shorter?

That's the matchbox-keyboard init script which waits for the desktop
to say it's loaded, easily patched out (the intention was to serialise
the final stages of the boot so the desktop appeared quickly and then
the keyboard loaded in the background).

Ross


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: X11 without a desktop
  2013-08-05 14:50 ` Burton, Ross
@ 2013-08-05 16:29   ` Gary Thomas
  2013-08-05 16:32     ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2013-08-05 16:29 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Yocto Project

On 2013-08-05 08:50, Burton, Ross wrote:
> On 5 August 2013 15:14, Gary Thomas <gary@mlbassoc.com> wrote:
>> I'm running a system roughly based on core-image-sato except
>> that I've disabled the matchbox desktop (I only have a single
>> application).  Some things still seem to want the desktop
>> to be in place though, in particular I don't get a popup
>> keyboard on my touch screen until I see this message:
>>    Timeout waiting for org.matchbox_project.desktop.Loaded
>>
>> The problem is that this timeout is quite long - maybe a minute?
>>
>> How can I fully disable this or adjust the timeout to be shorter?
>
> That's the matchbox-keyboard init script which waits for the desktop
> to say it's loaded, easily patched out (the intention was to serialise
> the final stages of the boot so the desktop appeared quickly and then
> the keyboard loaded in the background).

I found this:
    if [ "$CMD" ]; then
       # Delay to make sure the window manager is active
       # by waiting for the desktop to say its finished loading
       dbus-wait org.matchbox_project.desktop Loaded
       exec $CMD
   fi

Can I safely just disable the dbus-wait or do I need something else
there, e.g. sleep for a few seconds, ...?  Maybe I should patch dbus-wait
(which you, Ross, wrote) to be able to specify the timeout?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: X11 without a desktop
  2013-08-05 16:29   ` Gary Thomas
@ 2013-08-05 16:32     ` Burton, Ross
  2013-08-05 16:36       ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2013-08-05 16:32 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

On 5 August 2013 17:29, Gary Thomas <gary@mlbassoc.com> wrote:
> Can I safely just disable the dbus-wait or do I need something else
> there, e.g. sleep for a few seconds, ...?  Maybe I should patch dbus-wait
> (which you, Ross, wrote) to be able to specify the timeout?

You can safely disable that block.  Patches welcome for dbus-wait, I
wrote it a *long* time ago.

Ross


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: X11 without a desktop
  2013-08-05 16:32     ` Burton, Ross
@ 2013-08-05 16:36       ` Gary Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2013-08-05 16:36 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Yocto Project

On 2013-08-05 10:32, Burton, Ross wrote:
> On 5 August 2013 17:29, Gary Thomas <gary@mlbassoc.com> wrote:
>> Can I safely just disable the dbus-wait or do I need something else
>> there, e.g. sleep for a few seconds, ...?  Maybe I should patch dbus-wait
>> (which you, Ross, wrote) to be able to specify the timeout?
>
> You can safely disable that block.  Patches welcome for dbus-wait, I
> wrote it a *long* time ago.

OK, I'll let you know what I come up with.

BTW, 5 years *is* a long time in internet years, but not so long
for some of us "grey beards" :-)

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-05 16:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-05 14:14 X11 without a desktop Gary Thomas
2013-08-05 14:50 ` Burton, Ross
2013-08-05 16:29   ` Gary Thomas
2013-08-05 16:32     ` Burton, Ross
2013-08-05 16:36       ` Gary Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.