[Pkg-utopia-maintainers] Bug#570480: dbus-x11: Optimize speed of Xsession.d script
martin.pitt at ubuntu.com
Fri Feb 19 06:42:38 UTC 2010
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch
In our vendetta for faster boot I examined our current Xsession.d
scripts and noticed that they call a lot of external programs (grep
several times, or which) and run some code which is unlikely to be useful
on many machines (such as ~/.Xresources).
I sent a patch for x11-common  which provides a function
"has_option <optionname>" which only uses shell-internal string
substitution and only ever reads /etc/X11/Xsession.options once.
Once that patch goes in, dbus-x11's Xsession.d script should use it to
drop another grep from the session startup.
(I'm going to mark this bug as being blocking on 570447 once I get the #).
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the Pkg-utopia-maintainers