|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 2183
|
personalizzare schermate di avvio
avevo già fatto un topic tempo fa ma non ho ricevuto nessuna risposta
![]() vi chiedo come personalizzare le due principali schermate di avvio: 1) lilo, che la schermata si possa personalizzare con bitmap personali si sa, (anche xchè molte distro li impostano già di base con le proprie schermate) e per debian ci sono (nella directory /boot) alcune schermate pronte da usare... il problema è come usarle... ho fatto delle ricerche sarò i oche non so precisamente "cosa" cercare, fatto sta che non so come fare... 2) login grafico in xserver, questo credo rientri nel kdm (che uso per kde) ma non so come personalizarlo... non tanto lo sfondo (che adesso dopo averlo aggiornato a sid compare un bel wallpaper di debian col logo) ma il riquadro per il login stesso... |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Iscritto dal: Jun 2003
Città: Lund, Sweden
Messaggi: 1248
|
Re: personalizzare schermate di avvio
Quote:
Per la 2 non so se ho capito bene, ma intendi proprio la schermata dove inserisci username e password o lo splash screen? Per splash screen intendo la schermata successiva al login, dove vedi le scritte come "Inizializzazione periferiche" ecc... Io ho personalizzato lo splash screen. Se intendi questo, ti posso dare una mano! Ti scarichi qualcosa da kde-look.org Io per esempio ho messo questo Scompatti, e poi segui il readme o il "How to install" che c'è sul sito Se hai problemi scrivi ![]()
__________________
"Guardami gli occhi; il destro è artificiale. Con il sinistro registro il presente, col destro ricordo il passato." See you space cowboy... |
|
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 2183
|
grazie della risposta
![]() ![]() ![]() cmq mi riferivo al login ![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Jun 2003
Città: Lund, Sweden
Messaggi: 1248
|
per il login con kde (kdm) non so, ho visto invece su art.gnome.org che puoi personalizzare gdm.
Non l'ho ancora provato, ma sto scaricando gnome 2.4, se funziona magari lo provo
__________________
"Guardami gli occhi; il destro è artificiale. Con il sinistro registro il presente, col destro ricordo il passato." See you space cowboy... |
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Oct 2001
Messaggi: 11471
|
patchando il kernel è anche possibile sostituire/aggiungere uno sfondo i messaggi di log di avvio del kernel con delle imagini.per maggiori info : http://www.bootsplash.org/
ho provato una volta e devo dire che è piuttosto carino anche se ricorda tanto windows ![]() ciao ![]() |
![]() |
![]() |
![]() |
#6 |
Member
Iscritto dal: Jul 2003
Città: E chi se lo ricorda???
Messaggi: 174
|
So far io, so far io a personalizzare lilo
![]() Però ti serve una bmp a 16 colori di dimensioni 640x480, se no non credo che vada Postami il contenuto del tuo /etc/lilo.conf che ti dico come fare ![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 2183
|
la bitmap ce l'ho, dimmi come fare
![]() edit: aspettaaspetta, 16 bit o 16 colori? 16 colori è proprio una schifezza ![]() Codice:
# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)', # --------------- `install-mbr(8)', `/usr/share/doc/lilo/', # and `/usr/share/doc/mbr/'. # +---------------------------------------------------------------+ # | !! Reminder !! | # | | # | Don't forget to run `lilo' after you make changes to this | # | conffile, `/boot/bootmess.txt', or install a new kernel. The | # | computer will most likely fail to boot if a kernel-image | # | post-install script or you don't remember to run `lilo'. | # | | # +---------------------------------------------------------------+ # Support LBA for large hard disks. # lba32 # Overrides the default mapping between harddisk names and the BIOS' # harddisk order. Use with caution. #disk=/dev/hde # bios=0x81 #disk=/dev/sda # bios=0x80 # Specifies the boot device. This is where Lilo installs its boot # block. It can be either a partition, or the raw device, in which # case it installs in the MBR, and will overwrite the current MBR. # boot=/dev/hda # Specifies the device that should be mounted as root. (`/') # root=/dev/hda7 # Enable map compaction: # Tries to merge read requests for adjacent sectors into a single # read request. This drastically reduces load time and keeps the # map smaller. Using `compact' is especially recommended when # booting from a floppy disk. It is disabled here by default # because it doesn't always work. # # compact # Installs the specified file as the new boot sector # You have the choice between: bmp, compat, menu and text # Look in /boot/ and in lilo.conf(5) manpage for details # install=/boot/boot-menu.b # Specifies the location of the map file # map=/boot/map # You can set a password here, and uncomment the `restricted' lines # in the image definitions below to make it so that a password must # be typed to boot anything but a default configuration. If a # command line is given, other than one specified by an `append' # statement in `lilo.conf', the password will be required, but a # standard default boot will not require one. # # This will, for instance, prevent anyone with access to the # console from booting with something like `Linux init=/bin/sh', # and thus becoming `root' without proper authorization. # # Note that if you really need this type of security, you will # likely also want to use `install-mbr' to reconfigure the MBR # program, as well as set up your BIOS to disallow booting from # removable disk or CD-ROM, then put a password on getting into the # BIOS configuration as well. Please RTFM `install-mbr(8)'. # #password=wlafiga # Specifies the number of deciseconds (0.1 seconds) LILO should # wait before booting the first image. # delay=20 # You can put a customized boot message up if you like. If you use # `prompt', and this computer may need to reboot unattended, you # must specify a `timeout', or it will sit there forever waiting # for a keypress. `single-key' goes with the `alias' lines in the # `image' configurations below. eg: You can press `1' to boot # `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'. # # message=/boot/bootmess.txt prompt timeout=300 # prompt # single-key # delay=100 # timeout=100 # Specifies the VGA text mode at boot time. (normal, extended, ask, <mode>) # # vga=ask # vga=9 # vga=normal # # # # #bitmap=/usr/share/lilo/contrib/sid.bmp # Kernel command line options that apply to all installed images go # here. See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in # the Linux kernel `Documentation' directory. # append="hdd=ide-scsi hdc=ide-scsi" # Boot up Linux by default. # default=Linux_2.4.22 image=/boot/vmlinuz-2.4.22 label=Linux_2.4.22 read-only #image=/boot/vmlinuz-2.4.18-bf2.4 # label=Linux_2.4.18 # read-only # restricted # alias=1 #image=/vmlinuz.old # label=LinuxOLD # read-only # optional # restricted # alias=2 # If you have another OS on this machine to boot, you can uncomment the # following lines, changing the device name on the `other' line to # where your other OS' partition is. # # other=/dev/hda4 # label=HURD # restricted # alias=3 other=/dev/hda1 label="Windows_XP" |
![]() |
![]() |
![]() |
#8 | |
Member
Iscritto dal: Jul 2003
Città: E chi se lo ricorda???
Messaggi: 174
|
Quote:
Codice:
# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)', # --------------- `install-mbr(8)', `/usr/share/doc/lilo/', # and `/usr/share/doc/mbr/'. # +---------------------------------------------------------------+ # | !! Reminder !! | # | | # | Don't forget to run `lilo' after you make changes to this | # | conffile, `/boot/bootmess.txt', or install a new kernel. The | # | computer will most likely fail to boot if a kernel-image | # | post-install script or you don't remember to run `lilo'. | # | | # +---------------------------------------------------------------+ # Support LBA for large hard disks. # lba32 # Overrides the default mapping between harddisk names and the BIOS' # harddisk order. Use with caution. #disk=/dev/hde # bios=0x81 #disk=/dev/sda # bios=0x80 # Specifies the boot device. This is where Lilo installs its boot # block. It can be either a partition, or the raw device, in which # case it installs in the MBR, and will overwrite the current MBR. # boot=/dev/hda # Specifies the device that should be mounted as root. (`/') # root=/dev/hda7 # Enable map compaction: # Tries to merge read requests for adjacent sectors into a single # read request. This drastically reduces load time and keeps the # map smaller. Using `compact' is especially recommended when # booting from a floppy disk. It is disabled here by default # because it doesn't always work. # # compact # Installs the specified file as the new boot sector # You have the choice between: bmp, compat, menu and text # Look in /boot/ and in lilo.conf(5) manpage for details # # # ********************* Le modifiche son tutte quì! ************************* # install=/boot/boot-menu.b # Prima modifica: Commentare questa riga. bitmap=/boot/NOMEIMMAGINE.bmp # Seconda: mettere il percorso dell'img. bmp-colors=5,,0,4,,0 # Terza: I colori del testo. bmp-table=30,8,,7 # Quarta: La posizione delle etichette (label). bmp-timer=40,8 # Quinta: La posizione del timer. # # Specifies the location of the map file # map=/boot/map # You can set a password here, and uncomment the `restricted' lines # in the image definitions below to make it so that a password must # be typed to boot anything but a default configuration. If a # command line is given, other than one specified by an `append' # statement in `lilo.conf', the password will be required, but a # standard default boot will not require one. # # This will, for instance, prevent anyone with access to the # console from booting with something like `Linux init=/bin/sh', # and thus becoming `root' without proper authorization. # # Note that if you really need this type of security, you will # likely also want to use `install-mbr' to reconfigure the MBR # program, as well as set up your BIOS to disallow booting from # removable disk or CD-ROM, then put a password on getting into the # BIOS configuration as well. Please RTFM `install-mbr(8)'. # #password=wlafiga # Specifies the number of deciseconds (0.1 seconds) LILO should # wait before booting the first image. # delay=20 # You can put a customized boot message up if you like. If you use # `prompt', and this computer may need to reboot unattended, you # must specify a `timeout', or it will sit there forever waiting # for a keypress. `single-key' goes with the `alias' lines in the # `image' configurations below. eg: You can press `1' to boot # `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'. # # message=/boot/bootmess.txt prompt timeout=300 # prompt # single-key # delay=100 # timeout=100 # Specifies the VGA text mode at boot time. (normal, extended, ask, <mode>) # # vga=ask # vga=9 # vga=normal # # # # #bitmap=/usr/share/lilo/contrib/sid.bmp # Kernel command line options that apply to all installed images go # here. See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in # the Linux kernel `Documentation' directory. # append="hdd=ide-scsi hdc=ide-scsi" # Boot up Linux by default. # default=Linux_2.4.22 image=/boot/vmlinuz-2.4.22 label=Linux_2.4.22 read-only #image=/boot/vmlinuz-2.4.18-bf2.4 # label=Linux_2.4.18 # read-only # restricted # alias=1 #image=/vmlinuz.old # label=LinuxOLD # read-only # optional # restricted # alias=2 # If you have another OS on this machine to boot, you can uncomment the # following lines, changing the device name on the `other' line to # where your other OS' partition is. # # other=/dev/hda4 # label=HURD # restricted # alias=3 other=/dev/hda1 label="Windows_XP" Probabilmente avrai la posizione e i colori delle scritte (e la posizione del timer) sballati. Non ricordo di preciso come vanno modificati per adattarli, non ho più la pagina con le istruzioni tra i bookmark ![]() Quindi per aggiustartelo fai dei tentativi. Se non va dimmelo. Ovviamente dopo che hai effettuato le modifiche devi digitare in una shell di root "lilo -v" Nel file come te l'ho modificato l'immagine che viene usata è in /boot e si chiama NOMEIMMAGINE.bmp, mettici il vero nome dell'immagine ![]() Ciau
__________________
![]() ![]() |
|
![]() |
![]() |
![]() |
#9 |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 2183
|
mi faresti un favore mi dici se questa immagine va bene o no? non riesco a capirlo, kpaint mi dice che è a 24bit ma 0 colori... e se imposto 16 colori (o 2 o 4 bit nn ricordo) mi dice che l'immagine è stata modificata ma nelle proprietà resta uguale a prima...
|
![]() |
![]() |
![]() |
#10 | |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 2183
|
Quote:
ah vicius scusa se te lo chiedo ma ho provato a leggere nel sito (ho letto anzi "cercato" di leggere dovunque) ma non riesco proprio a capire come fare... mi piacerebbe metterla sotto le scritte di avvio come da esempio della prima immagine... puoi spiegarmelo velocemente? ![]() dice pure che deve essere attivo il framebuffer etcetc insomma non capisco cosa devo fare? ho una sk video nvidia geffo2mx
__________________
NB: HP NX6310 | Intel Core Solo 1,66 | 1024 DDR2 5300 | 60 GB 5400 rpm | Intel GMA 950 | DVDRW DL PC: AMD Athlon 64 3800+ | 1024 DDR 3200 | ATI X600 256MB | HDD 250 GB 7200 rpm | DVD RW DL HP Ho concluso recentemente con: aleph0 - ayyyoooo Ultima modifica di Python : 17-09-2003 alle 20:47. |
|
![]() |
![]() |
![]() |
#11 |
Senior Member
Iscritto dal: Apr 2002
Città: Palermo
Messaggi: 4913
|
Nella directory /boot della mia Slack c'è un file chiamato boot_message.txt, esso viene richiamato da lilo. Puoi provare a fare qualcosa.
Ciao
__________________
Sun Certified Java Programmer - Sun Certified Web Component Developer - Sun Certified Business Component Developer |
![]() |
![]() |
![]() |
#12 | |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 2183
|
Quote:
non riesco a capire che file sia, visto che su debian non c'è cmq adesso riavvio con quell'immagine da (credo) 24 bit, se funziona ok, se non funziona prevedo dolori ![]() ![]() |
|
![]() |
![]() |
![]() |
#13 | |
Member
Iscritto dal: Jul 2003
Città: E chi se lo ricorda???
Messaggi: 174
|
Quote:
Ma fai in fretta a scoprirlo! Prova ad usare quella... Se usando quella dai lilo -v e ti spunta un errore non va bene, altrimenti tutto a posto ![]() Per Gokan boot_message nella mandrake ad esempio non c'è, nella slack sì, e contiene il messaggio che viene visualizzato col bootloader Se si usa un'immagine la riga che contiene il percorso di quel file va commentata (col # davanti) e vanno messe comunque le altre righe che ho aggiunto.
__________________
![]() ![]() |
|
![]() |
![]() |
![]() |
#14 | |
Senior Member
Iscritto dal: Apr 2002
Città: Palermo
Messaggi: 4913
|
Quote:
........................ message=/boot/bootmess.txt ................................... ........................... Il file ha un nome diverso. Ne puoi creare uno e scriverci dentro un messaggio di benvenuto che vuoi, per le immaggini non so aiutarti, non vedo un avvio grafico di lilo dai tempi di mandrake e redhat. Ciao
__________________
Sun Certified Java Programmer - Sun Certified Web Component Developer - Sun Certified Business Component Developer |
|
![]() |
![]() |
![]() |
#15 |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 2183
|
ho riavviato, la schermata funziona, però le scritte sono messe male, le ho sistemate un pò e dovrei però riavviare per vedere se sono messe ok (si capisce subito come sono organizzati xchè sono le "coordinate")
il problema più grosso sono i colori del testo ![]() a parte che sia il timer che il testo hanno colori indecifrabili, non riesco a capire quale sia la riga "evidenziata" ![]() ![]() x gokan: scusa e quel messaggio di benvenuto quando si legge e dove? |
![]() |
![]() |
![]() |
#16 | |
Member
Iscritto dal: Jul 2003
Città: E chi se lo ricorda???
Messaggi: 174
|
Quote:
Per quanto ri guarda le scritte e il timer... Solo le scritte hanno i colori Il timer solo la posizione Comunque non vedi che te l'ho commentato tutto in italiano ciò che ho modificato? Dopo un paio di prove capisci cosa succede ad aumentare o diminuire le scritte e così te lo perfezioni in fretta PS: quando lo capisci dimmelo per favore ![]()
__________________
![]() ![]() |
|
![]() |
![]() |
![]() |
#17 | |
Senior Member
Iscritto dal: Apr 2002
Città: Palermo
Messaggi: 4913
|
Quote:
Niente di particolare. Ripeto, quello è un file di testo, quindi se vuoi usare immagini, devi cercare un'altra strada
__________________
Sun Certified Java Programmer - Sun Certified Web Component Developer - Sun Certified Business Component Developer |
|
![]() |
![]() |
![]() |
#18 | |
Senior Member
Iscritto dal: Apr 2002
Città: Palermo
Messaggi: 4913
|
Quote:
message=/boot/bootmess.txt per rendere l'avvio testuale. Ad esempio se il file bootmess.txt viene modificato così: 'Ciao, scegli il sistema operativo da avviare' all'avvio la schermata di lilo ti mostrerà questo messagio e poi ti darà la possibilità di scegliere l'O.S che vuoi. Ciao
__________________
Sun Certified Java Programmer - Sun Certified Web Component Developer - Sun Certified Business Component Developer |
|
![]() |
![]() |
![]() |
#19 | |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 2183
|
Quote:
bitmap=/boot/sid.bmp # Seconda: mettere il percorso dell'img. bmp-colors=5,,0,4,,0 # Terza: I colori del testo. //qua pensavo ci fossero sia i colori del testo che del timer visto che sono 4 numeri bmp-table=30,12,,7 # Quarta: La posizione delle etichette (label). bmp-timer=30,18 # Quinta: La posizione del timer. |
|
![]() |
![]() |
![]() |
#20 | |
Member
Iscritto dal: Jul 2003
Città: E chi se lo ricorda???
Messaggi: 174
|
Quote:
![]() Però da ciò che rammento quando mi ero personalizzato lilo, erano solo i colori del testo. Magari sbaglio comunque. Bhè, prova a modificarli tutti (se hai tempo e voglia) ![]()
__________________
![]() ![]() |
|
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 08:30.