Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto]gensplash....[amd64]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
NetsTAT
n00b
n00b


Joined: 18 Jan 2005
Posts: 52

PostPosted: Tue Feb 01, 2005 2:32 pm    Post subject: [risolto]gensplash....[amd64] Reply with quote

salve, ragazzi l'ultima volta che ho configurato gensplash per il framebuffer tutte le tty erano con lo sfondo di gento emergence;ed e' da stamattina che ci combatto perche stavolta lo sfondo ce l'ha soltanto la tty0 le altre sono tutte nere...
come maiii...
ho provvvvato e riprovvvvato piu di una volta il procedimento ma sempre lo stessssso risultato!!!!... mhaaa
tnxx
da che piuo dipendere??


Last edited by NetsTAT on Tue Feb 01, 2005 5:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
Taglia
Apprentice
Apprentice


Joined: 05 Nov 2004
Posts: 244

PostPosted: Tue Feb 01, 2005 2:46 pm    Post subject: Reply with quote

Code:

nano -w /etc/conf.d/splash

In particolare
Code:

# on which ttys should fbsplash be enabled? defaults to RC_TTY_NUMBER
 SPLASH_TTYS="0 1 2 3 4 5 6 7 8 9 10"


Ovviamente poi
Code:

rc-update add default splash

_________________
Taglia
./ do NOT click ...
./ Mentecritica: Non esistono questioni di principio
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31461
Location: here

PostPosted: Tue Feb 01, 2005 2:48 pm    Post subject: Reply with quote

Taglia wrote:
Ovviamente poi
Code:

rc-update add default splash

Di solito questo errore si ha perche' non hai dato il comando indicato da Taglia
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
NetsTAT
n00b
n00b


Joined: 18 Jan 2005
Posts: 52

PostPosted: Tue Feb 01, 2005 3:46 pm    Post subject: Reply with quote

si sii.... fatto tutto...
possibile che nn riesco a mettere il file in default..

rc-update add splash default
tutto ok

quando riavvio mi da'prima del logout:
/var/lib/init.d/splash-6259: line 25:syntax error: unexpected end of file
*ERRROR: "/etc/init.d/splash" has syntax errors in it; not executing...
"con tre R" (come per dire ..a stordito"
e il file dentro /var/lib/, lo splash-6259 non esiste... 8O
che sta a succede...
tnx dinuovo
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Feb 01, 2005 3:59 pm    Post subject: Reply with quote

Prova a lanciare da root:

Code:
# depscan.sh

_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
NetsTAT
n00b
n00b


Joined: 18 Jan 2005
Posts: 52

PostPosted: Tue Feb 01, 2005 4:02 pm    Post subject: Reply with quote

depscan.sh
* Caching service dependencies...... [ok]
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Feb 01, 2005 4:03 pm    Post subject: Reply with quote

Ora vedi se ti funziona ;)
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
NetsTAT
n00b
n00b


Joined: 18 Jan 2005
Posts: 52

PostPosted: Tue Feb 01, 2005 4:06 pm    Post subject: Reply with quote

gutter spiacente ma nn vaa
l'errore e' sempre lo stesso
:?
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Feb 01, 2005 4:08 pm    Post subject: Reply with quote

Prova a riemergerlo se ti da sempre lo stesso errore posta il contenuto del file /etc/init.d/splash.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
NetsTAT
n00b
n00b


Joined: 18 Jan 2005
Posts: 52

PostPosted: Tue Feb 01, 2005 4:45 pm    Post subject: Reply with quote

######### /etc/conf.d/splash#########

#SPLASH_THEME="GENTOO"

#on theme to use,probably best.............
SPLASH_TTYS="0 1 2 3 4 5"

#Wath font to use?defaults.....
#SPLASH_FONT="luxisri.ttf"

[..................]

#Should we drop to verbose message......
SPLASH_VERBOSE_ON_ERRORS="yes"

#Allow to set different themes........
#SPLASH_TTYMAP="1:emergence"


e basta... nn ce' piu niente--

ma secondo me sono io che nn riesco a fare il procedimento giusto
per rc-update,
perche dentro a /etc/init.d/ il file splash nn ce', ammeno che nn ce lo metto io, e nn me lo mette in default con rc-update ammeno che io nn gli dia il permesso in esecuzione. seguendo questo procedimento il risultato e' sempre lo stesso ...quello sopra indicato..
se sto sbagliando (sicuramente) illuminatemi 8O
tnx
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Feb 01, 2005 4:49 pm    Post subject: Reply with quote

Come non c'è 8O
Ma hai emerso splashutils :?:
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
NetsTAT
n00b
n00b


Joined: 18 Jan 2005
Posts: 52

PostPosted: Tue Feb 01, 2005 4:51 pm    Post subject: Reply with quote

si certo 4 volte ormai....
ma in init.d splash nn ce'!!!
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Feb 01, 2005 4:57 pm    Post subject: Reply with quote

Mi sembra davvero strano :!: Comunque ti posto il mio:

Code:
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-src/bootsplash/core/misc/bootsplash,v 1.2 2004/05/29 21:40:30 spock Exp $

source /etc/conf.d/splash

# default settings
test -z "${SPLASH_THEME}" && SPLASH_THEME="default"                                                                             
if [ -z "${SPLASH_TTYS}" ]; then
        if [ -n "${RC_TTY_NUMBER}" ]; then     
                SPLASH_TTYS=$(seq 0 "${RC_TTY_NUMBER}")
        else
                SPLASH_TTYS="0 1 2 3 4 5 6"
        fi
fi

# run after local so that the boot time splash image
# is visible for as long as possible
depend() {
        need local
}

# dummy function to handle sourcing of fbconfig file
box () { return; }

parse_cmdline ()
{
        line=`egrep -o 'splash=[^ ]+' /proc/cmdline`
        line="${line#splash=}"
        t="${IFS}"
        IFS=","

        for param in ${line}
        do
                if [ "${param%:*}" = "theme" ]; then
                        SPLASH_THEME="${param#*:}"
                else
                        SPLASH_MODE="${param}"
                fi
        done

        IFS="${t}"
}

start() {
        # only do this if the kernel supports fbsplash
        if [ -e /dev/fbsplash ] && [ -e /proc/fbsplash ]
        then
                ebegin "Setting framebuffer console images"
                parse_cmdline
               
                for TTY in ${SPLASH_TTYS}
                do
                        theme="${SPLASH_THEME}"
                       
                        if [ "${TTY}" -eq 0 -a -z "$(splash_util -c getstate --vc=0 | grep off)" ]; then
                                continue
                        fi

                        if [ -n "${SPLASH_TTY_MAP}" ]; then
                                for i in ${SPLASH_TTY_MAP}
                                do
                                        if [ "${i%:*}" = "${TTY}" ]; then
                                                theme="${i#*:}"
                                        fi
                                done
                        fi

                        /sbin/splash_util --vc="${TTY}" -m v -t "${theme}" -c setcfg 2>/dev/null
                        /sbin/splash_util --vc="${TTY}" -m v -t "${theme}" -c setpic 2>/dev/null
                        /sbin/splash_util --vc="${TTY}" -c on 2>/dev/null
                done

                eend $? "Failed to set framebuffer console images"
        fi
}

_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
NetsTAT
n00b
n00b


Joined: 18 Jan 2005
Posts: 52

PostPosted: Tue Feb 01, 2005 5:02 pm    Post subject: Reply with quote

gutter...scusami tanto... ma la stranezza qua da me e' davvero di casa...
il file c'era.. e come se c'era.... kissa' dove avevo gli okkii....
funziona ed e' tutto apposto grazie mille
:roll:
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Feb 01, 2005 5:05 pm    Post subject: Reply with quote

Metti il tag [Risolto] allora.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum