Comment 147 for bug 32963

Revision history for this message
Conn O Griofa (psyke83) wrote : Re: totem overrides XV_CONSTRAST to wrong default value (Xv movies on i810/i945 have horrible colour/gamma)

It's getting ridiculous that this bug isn't fixed. Anyway, here's a tip for people who are impatient:

1. Install xvattr: sudo apt-get install xvattr

2. Create a diversion from /usr/bin/totem to /usr/bin/totem.real as follows: sudo dpkg-divert --divert /usr/bin/totem.real --rename /usr/bin/totem

3. Create a new file called /usr/bin/totem, and add this into the file:

#!/bin/bash
# To fix contrast issues
totem.real "$@" &
sleep 5
xvattr -a XV_CONTRAST -v 64
xvattr -a XV_BRIGHTNESS -v 0
xvattr -a XV_COLORKEY -v 66051
xvattr -a XV_SATURATION -v 128

4. Finally, make this script executable: sudo chmod +x /usr/bin/totem

Each time totem plays a movie, this script will force default XV settings.

Why isn't this bug fixed yet?