Comment 16 for bug 463769

Revision history for this message
Peter Hurley (phurley) wrote :

Here's a patch for this bug against the karmic/lucid source package xsplash-0.8.5-0ubuntu1.

The approach I took was to wipe the whole X screen (in TwinView, this is both monitors) with the background image, and then display the logo and throbber (that's what it's called...) on monitor 0 (the default monitor). The background image is isotropically scaled to match the largest dimension and centered in the other dimension.

Also, the original source allowed the source background image dimensions to vary and I preserved this behavior. This means if you are running dual 1920x1280 monitors in TwinView, you can supply a 3840x1280 jpg and the image won't be scaled. (Although since I didn't test this, there might be an off-by-one error in which case it will scale).

I tested this on a dual-monitor NVidia in TwinView, single monitor and separate X screens, running driver version 185.18.36 (stock karmic but rebuilt for custom kernel).