Skip to contentSkip to conversation

X11 without a desktop

DISCUSSION Gary Thomas 2 participants 5 messages Aug 5, 2013

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 10 lines · Gary Thomas

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

#2 lore raw
Quoted 8 lines · Ross
Quoted 7 lines · Gary Thomas

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

Quoted 8 lines
Quoted 3 lines

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?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
Quoted 3 lines · Gary Thomas

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

#4 lore raw
Quoted 7 lines · Ross
Quoted 3 lines · Gary Thomas

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

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------