[Fbsplash] Impossible de lancer fbsplash
Publié : mar. 16 sept. 2014, 20:08
Salut à tous,
Je suis en mode "on donne un look sympa à mon PC" et j'en suis à l'étape du Fbsplach pour le splash screen.
Malheureusement il ne se lance pas au démarrage, alors que la commande de démo fonctionne (à condition de le lancer en root)
Des infos, j'utilise syslinux, et ma résolution c'est 1366x768
Pour les fichiers que j'ai modifié :
/etc/conf.d/splash
/boot/syslinux/syslinux.cfg
mon theme : /etc/splash/leosw/1366x768.cfg
Note, il n'y a rien dans les logs boot.log et message, ni dmesg contenant fbsplash.
Si quelqu'un arrive à comprendre pourquoi un fois le menu syslinux éteind, je vois encore les logs et non le splash screen (note encore, j'ai bien essayé F2)
Amicalement,
Léo
Je suis en mode "on donne un look sympa à mon PC" et j'en suis à l'étape du Fbsplach pour le splash screen.
Malheureusement il ne se lance pas au démarrage, alors que la commande de démo fonctionne (à condition de le lancer en root)
Code : Tout sélectionner
sudo splash_manager -c demo -t leosw --steps 100
Pour les fichiers que j'ai modifié :
/etc/conf.d/splash
Code : Tout sélectionner
#
# /etc/conf.d/splash
#
#### WARNING!
## This file is also sourced in the initcpio hook.
## No BASH-code (like arrays) is allowed here!
#### initcpio and Fbsplash daemon ##########################################
## Themes to include into initcpio
## For a smaller initcpio you may try theme cfg files instead of directories.
SPLASH_THEMES="
leosw
arch-black
"
## Override the initial silent splash screen status message defaults.
## Note: '$progress' will be replaced by Fbsplash itself.
## * initcpio - (no effect with fbcondecor kernel)
SPLASH_INIT_MESSAGE="Initializing the kernel"
## * bootup
SPLASH_BOOT_MESSAGE="Booting '$HOSTNAME' (\$progress%)"
## * reboot
SPLASH_REBOOT_MESSAGE="Rebooting '$HOSTNAME' (\$progress%)"
## * shutdown
SPLASH_SHUTDOWN_MESSAGE="Shutting down '$HOSTNAME' (\$progress%)"
## Include and use the Fbsplash daemon (1.5 MiB) in the initcpio
## instead of the small helper only.
## Usefull to show animations early.
## Note: Themes with 'scripts/rc_init-pre' like 'arch-banner-icons' are
## supported now if fbsplash-extras>=2.0.10 is installed, but there
## might still be some sophisticated ones which break when using this.
SPLASH_DAEMON="early"
## Make the splash daemon use fade effects.
## Note: The initcpio helper does only use the kernel parameter!
# Just use fadein on bootup and fadeout on shutdown/reboot
case $PREVLEVEL in N ) SPLASH_EFFECTS="fadein" ; esac
case $RUNLEVEL in [06] ) SPLASH_EFFECTS="fadeout"; esac
# Uncomment this line to allways use both
# SPLASH_EFFECTS="fadein,fadeout"
## Enable the textbox when starting the Fbsplash daemon.
## Useful if the theme provides a message log or other textbox.
## The scripts write any initscripts [FAIL] messages to the log.
## Note: The textbox can also be toggled by pressing F3-key.
SPLASH_TEXTBOX="yes"
## Splash progress timeout
## If set to a positive value, Fbsplash will automatically switch to verbose
## mode if there is no progress for the specified number of seconds.
SPLASH_AUTOVERBOSE=0
#### scripts behaviour #####################################################
## Change to verbose mode on any initscripts [FAIL] message
## Useful with very simple themes and also when starting Xorg from DAEMONS
SPLASH_VERBOSE_ON_ERRORS="no"
## Name of the DAEMONS script starting Xorg if any
## Set this to avoid virtual terminal change struggle between X and Fbsplash.
#SPLASH_XSERVICE="gdm"
#SPLASH_XSERVICE="kdm"
#SPLASH_XSERVICE="xdm"
#SPLASH_XSERVICE="lxdm"
#SPLASH_XSERVICE="slim"
## Push initscripts [BUSY] messages to the splash status message line.
SPLASH_PUSH_MESSAGES="no"
# EOF #
Code : Tout sélectionner
# Config file for Syslinux -
# /boot/syslinux/syslinux.cfg
#
# Comboot modules:
# * menu.c32 - provides a text menu
# * vesamenu.c32 - provides a graphical menu
# * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
# * hdt.c32 - hardware detection tool
# * reboot.c32 - reboots the system
#
# To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
# If /usr and /boot are on the same file system, symlink the files instead
# of copying them.
#
# If you do not use a menu, a 'boot:' prompt will be shown and the system
# will boot automatically after 5 seconds.
#
# Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
# The wiki provides further configuration examples
DEFAULT arch
PROMPT 0 # Set to 1 if you always want to display the boot: prompt
TIMEOUT 50
# You can create syslinux keymaps with the keytab-lilo tool
#KBDMAP de.ktl
# Menu Configuration
# Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
#UI menu.c32
UI vesamenu.c32
# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
MENU BACKGROUND splash.png
MENU WIDTH 60
MENU MARGIN 4
MENU ROWS 15
MENU VSHIFT 15
MENU HSHIFT 55
MENU COLOR border 30;44 #00000000 #00000000 std
MENU COLOR title 1;36;44 #00000000 #00000000 std
MENU COLOR sel 7;37;40 #ffaaaaaa #ff212121 all
MENU COLOR unsel 37;44 #ffcccccc #ff000000 std
MENU COLOR timeout_msg 37;40 #00000000 #00000000 std
MENU COLOR timeout 1;37;40 #00000000 #00000000 std
MENU COLOR tabmsg 31;40 #00000000 #00000000 std
MENU RESOLUTION 1366 768
# boot sections follow
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=/dev/sda5 rw console=tty1 splash=silent,theme:arch-black
INITRD ../initramfs-linux.img
LABEL ubuntu
MENU LABEL Ubuntu Gnome
COM32 chain.c32
APPEND hd0 2
LABEL windows
MENU LABEL Windows 7
COM32 chain.c32
APPEND hd0 1
MENU SEPARATOR
LABEL archfallback
MENU LABEL Arch Linux Fallback
LINUX ../vmlinuz-linux
APPEND root=/dev/sda5 rw
INITRD ../initramfs-linux-fallback.img
LABEL hdt
MENU LABEL HDT (Hardware Detection Tool)
COM32 hdt.c32
LABEL reboot
MENU LABEL Reboot
COM32 reboot.c32
LABEL poweroff
MENU LABEL Poweroff
COM32 poweroff.c32
Code : Tout sélectionner
bgcolor=0
tx=32
ty=43
tw=1304
th=628
text_x=15
text_y=732
text_size=12
text_color=0xdedede
pic=/etc/splash/leosw/FbSplash_silent.png
silentpic=/etc/splash/leosw/FbSplash_silent.png
# progress bar
box silent noover 3 730 1363 733 #221f29
box silent inter 3 730 3 732 #221f29
box silent 3 730 1363 732 #ececec
# border of the progress bar
box silent 3 730 1363 730 #221f29
box silent 3 733 1363 733 #221f29
box silent 3 730 3 733 #221f29
box silent 1023 730 1363 733 #221f29
Si quelqu'un arrive à comprendre pourquoi un fois le menu syslinux éteind, je vois encore les logs et non le splash screen (note encore, j'ai bien essayé F2)
Amicalement,
Léo