dimanche 31 octobre 2010

Gestion des themes Plymouth sans redemarrage

Voici un petit tutoriel testé dans Ubuntu 10.10 qui vous permettra d'installer et tester les différents thèmes Plymouth sans redémarrer l'ordinateur.

En l'absence d'une application graphique (avis aux amateurs développeurs), la configuration se fait au travers du terminal.

1) Lister des thèmes disponibles dans vos dépôts :

sylvain@linux ~ $ sudo apt-cache search plymouth-theme
lubuntu-plymouth-theme - plymouth theme for Lubuntu
mythbuntu-default-settings - default settings for Mythbuntu
plymouth-theme-sabily - plymouth theme for Sabily
plymouth-theme-ubuntustudio - Ubuntu Studio Plymouth theme
xubuntu-plymouth-theme - Plymouth theme for Xubuntu
plymouth-theme-kubuntu-logo - graphical boot animation and logger - kubuntu-logo theme
plymouth-theme-mint-kde - graphical boot animation and logger - Linux Mint KDE theme
plymouth-theme-fade-in - graphical boot animation and logger - fade-in theme
plymouth-theme-glow - graphical boot animation and logger - glow theme
plymouth-theme-script - graphical boot animation and logger - script theme
plymouth-theme-solar - graphical boot animation and logger - solar theme
plymouth-theme-spinfinity - graphical boot animation and logger - spinfinity theme
plymouth-theme-text - graphical boot animation and logger - text theme
plymouth-theme-ubuntu-logo - graphical boot animation and logger - ubuntu-logo theme
plymouth-theme-ubuntu-text - graphical boot animation and logger - ubuntu-logo theme
sylvain@linux ~ $


2) Installer le ou les thèmes souhaité (exemple thème solar)

sudo apt-get install plymouth-theme-solar

Pour installer tout les thèmes :

sudo apt-get install plymouth-theme-*

3) Lancer cette commande pour choisir votre nouveau thème

sudo update-alternatives --config default.plymouth

Il existe 3 choix pour l'alternative default.plymouth (qui fournit /lib/plymouth/themes/default.plymouth).

  Sélection   Chemin                                                   Priorité  État
------------------------------------------------------------
  0    /lib/plymouth/themes/kubuntu-logo/kubuntu-logo.plymouth   150       mode automatique
  1    /lib/plymouth/themes/kubuntu-logo/kubuntu-logo.plymouth   150       mode manuel
  2    /lib/plymouth/themes/mint-kde/mint-kde.plymouth                 150       mode manuel
* 3    /lib/plymouth/themes/solar/solar.plymouth                             10        mode manuel

Appuyez sur pour conserver la valeur par défaut[*] ou choisissez le numéro sélectionné :3


4) Tester le thème sans redémarrer

sudo plymouthd
sudo plymouth --show-splash


Arrêt du test :

sudo plymouth quit

Vous pouvez tester les autres thèmes de la même manière

5) Enregistrer le nouveau thème dans la configuration de démarrage

Une fois le thème sélectionné, il faut le valider avec cette dernière commande :

sudo update-initramfs -u

 PS : Il existe une application Splash Screen Manager qui effectue une partie de cette gestion, il ne lui manque que le test visuel des thèmes malheureusement...

http://gnome-look.org/content/show.php/Splash+Screen+Manager?content=134231

Aucun commentaire:

Enregistrer un commentaire