awn-autostart should signal xsplash

Bug #451741 reported by Michael Kelly on 2009-10-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
avant-window-navigator (Ubuntu)

Bug Description

Binary package hint: avant-window-navigator

For Karmic, the awn-autostart script should signal xsplash so that awn has enough time to load before xsplash fades to the desktop.

I attached my awn-autostart that signals xsplash

Description: Ubuntu karmic (development branch)
Release: 9.10

  Version table: 0
        500 karmic/universe Packages
 *** 0
        100 /var/lib/dpkg/status

Michael Kelly (mrkelly) wrote :
Julien Lavergne (gilir) wrote :

Thanks for the patch, I'll include it in the actual autostart script, adding the sleep 10 before awn start (Awn need to wait for the composite manager to start before it can start itself).

Changed in avant-window-navigator (Ubuntu):
importance: Undecided → Wishlist
status: New → In Progress
assignee: nobody → Julien Lavergne (gilir)
Michael Kelly (mrkelly) wrote :

No problem, I wasn't sure what sleep 10 was used for but it makes sense now. Thanks!

Julien Lavergne (gilir) wrote :

Hum, I tested this a bit, and unfortunately, the "sleep 10" make the logging very long now that xsplash wait Awn :(
I'm not sure it's reasonable to add this until the non-composite support is working.

Changed in avant-window-navigator (Ubuntu):
assignee: Julien Lavergne (gilir) → nobody
status: In Progress → Triaged
Michael Kelly (mrkelly) wrote :

I also noticed the long wait when I added sleep 10.

I think I may have found a solution in regards to waiting for Compiz. I attached a new awn-autostart script with some of my annotations. The script polls Compiz through DBus until it receives a reply. Once Compiz starts serving requests, AWN starts. I haven't had any problems with this script so far but, I'm interested to see if it works well on other installations.

Michal Hruby (mhr3) wrote :

I can't say I like the compiz-only solution, anyway this should be moot with new Awn.

Michael Kelly (mrkelly) wrote :

Compiz is the only compositor I'm able to test. KWin and Xfce support DBus (as far as I know), so it might be possible to accommodate for them in the startup script. For others that don't support DBus like Metacity, xcompmgr, and Cairo (again, as far as I know) it might just be best to set the maximum wait time to 10 seconds. The worst case for any compositor would be the same as the current "sleep 10" which still isn't ideal.

Julien Lavergne (gilir) wrote :

Thanks for your work Michael. The good news is that the next release of Awn will have a non-composite support, which mean that we didn't need this workaround anymore. We just need to add the xsplash support.

Michael Kelly (mrkelly) wrote :

My pleasure. I definitely forgot about the non-composite support... Problem solved.

Michal Hruby (mhr3) wrote :

Awn 0.4 supports non-composite, therefore closing as Won't Fix.

Changed in awn:
status: New → Won't Fix
Julien Lavergne (gilir) wrote :

Considering that the non-composite support is now on Lucid, and that xsplash is probably dead for Lucid also, I'm closing this one as a Won't FIx.

Changed in avant-window-navigator (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions