[bug]couleur background non prise en compte
bonjour a tous, j'ai procéder a plus de 30 installation de ubuntu gutsy depuis sa sortie.
J'ai remarquer un bug non critique mais plutôt contraignant si vous êtes comme moi un écervelé d'un beau système.
En fait lorsque vous souhaitez implémenter un écran de démarrage et que vous changer la couleur de fond principale afin que celui-ci soit en harmonie avec l'image choisie vous n'aurez que la couleur de base (beige) jusqu'à arriver a votre bureau.
Donc en gros la couleur choisie n'est pas prise en compte.
j'ai donc remplacer /etc/gdm/
#!/bin/sh
#
# Note that output goes into the .xsession-errors file for easy debugging
#
PATH="/
OLD_IFS=$IFS
gdmwhich () {
COMMAND="$1"
OUTPUT=
IFS=:
for dir in $PATH
do
if test -x "$dir/$COMMAND" ; then
if test "x$OUTPUT" = "x" ; then
fi
fi
done
IFS=$OLD_IFS
echo "$OUTPUT"
}
# Set background color
XSETROOT=`gdmwhich xsetroot`
if [ "x$XSETROOT" != "x" ] ; then
CHECKBACKCO
if [ "x$GDM_
if [ "x$CHECKBACKCOLOR" = "xOK" ]; then
else
fi
fi
# If we tried to load the themed backgroundcolor, but failed, then try loading plain color
if [ "x$CHECKBACKCOLOR" != "xOK" ] || [ "x$GDM_
# Background type can be 0=None, 1=Image & Color, 2=Color, or 3=Image
# Skip if background type does not include a color
if [ "x$BACKTYPE" = "xOK 1" ] || [ "x$BACKTYPE" = "xOK 2" ]; then
if [ "x$CHECKBACKCOLOR" = "xOK" ]; then
else
fi
fi
fi
# Default value
if [ "x$BACKCOLOR" = "x" ]; then
fi
"$XSETROOT" -cursor_name left_ptr -solid "$BACKCOLOR"
fi
exit 0
Le changement ne s'opère pas, j'ai donc remplacer
# Default value
if [ "x$BACKCOLOR" = "x" ]; then
par # Default value
if [ "x$BACKCOLOR" = "x" ]; then
Ce qui bien entendu n'est pas très bon puisque la condition renvoi vers la couleur choisie si celle-ci ne fonctionna pas
Une idée pour corriger ce bug plus proprement
Question information
- Language:
- French Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Fabián Rodríguez
- Solved:
- Last query:
- Last reply: