PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 06:52:05 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Splash Screen in OpenBox  (Read 638 times)
Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 830


In theory, theory=practice, in practice ???


« on: October 18, 2011, 12:37:33 PM »

Hi,

What is the easiest way to change the splash
screen in OpenBox Bonsai.   I'm not hitting the
right file for some reason.

THX.
Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15203


LXDE! Coffee, Bacon and Cheesecake!


« Reply #1 on: October 18, 2011, 01:59:46 PM »

Which splash screen? What have you tried? What were the results of the attempt(s)? Were there any error messages?     
Provide more information, so someone can answer your question.     
Logged

Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 830


In theory, theory=practice, in practice ???


« Reply #2 on: October 18, 2011, 03:13:30 PM »

Which splash screen? What have you tried? What were the results of the attempt(s)? Were there any error messages?     
Provide more information, so someone can answer your question.     

Hi,

I usually don't use splash=silent but I thought it would be nice to be
able to change the screen.  I went to /usr/share/plymouth/themes/
PCOBOX/background.png     From there I replaced background.png
with another .png file.   The file did not display when I used splash=silent
in menu.lst but a boot screen with a progress bar displayed.   I think that's
because the machine is in vesa mode.   The file I put in is for widescreen.

Is this the best way or place to change the background.png in OpenBox ?
I took out splash=silent for now so it's working as usual.   No error
messages of any kind.

Thanks for the response.

FF
Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15203


LXDE! Coffee, Bacon and Cheesecake!


« Reply #3 on: October 18, 2011, 03:28:07 PM »

So then you're talking about the plymouth bootsplash theme.
The easiest way to change it is to install a new theme via synaptic.
Or you could create a new theme, add it to /usr/share/plymouth/themes and switch to it using EZSwitch (in repos). You can use your current theme or one from synaptic as a template for creating your personal theme.     
The background you used to replace the original may be replaced with the original in some future update. That is why I recommend the above.     

If all you want to do is replace the background, you need to switch themes, even though technically you are using the same theme. While in /usr/share/plymouth/themes (in root mode), open a terminal and use the command remove-theme. This will clear your boot initrd. Then issue the command switch-themes openbox (or whatever theme name).     
Logged

Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 830


In theory, theory=practice, in practice ???


« Reply #4 on: October 18, 2011, 04:43:26 PM »

If all you want to do is replace the background, you need to switch themes, even though technically you are using the same theme. While in /usr/share/plymouth/themes (in root mode), open a terminal and use the command remove-theme. This will clear your boot initrd. Then issue the command switch-themes openbox (or whatever theme name).     

Yes, all I want to do is replace one background.png in /usr/share/plymouth/themes/PCOBOX
The remove-theme command doesn't work, says command not found, but switch-themes PCOBOX
does, but with no effect.   I wonder where "remove-theme" is at ?
Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
Texstar
Administrator
Super Villain
*****
Offline Offline

Posts: 11805



« Reply #5 on: October 18, 2011, 04:51:07 PM »

[root@localhost SPECS]# remove-theme
Removing PCLinuxOS theme

[root@localhost SPECS]# switch-themes PCLinuxOS

[root@localhost SPECS]# rpm -qf /usr/share/bootsplash/scripts/remove-theme
bootsplash-3.3.3-4pclos2011


Logged

Follow the development of PCLinuxOS on Twitter
Help fund the PCLinuxOS project!

"I'm not so good on advice, can I interest you in a sarcastic reply?"
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15203


LXDE! Coffee, Bacon and Cheesecake!


« Reply #6 on: October 18, 2011, 05:40:51 PM »

Ferdes Fides,
If you get command not found with that command, reinstall plymouth.     
Logged

Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 830


In theory, theory=practice, in practice ???


« Reply #7 on: October 18, 2011, 06:04:15 PM »

Code:
[root@localhost scripts]# ./switch-themes -c
The current theme is: PCOBOX
[root@localhost scripts]# ./remove-theme
Removing PCOBOX theme
remove-boot-splash: initrd in initramfs format
ERROR remove-boot-splash: plymouth not found in /boot/initrd-2.6.38.8-pclos3.bfs.img
remove-boot-splash: initrd in initramfs format
ERROR remove-boot-splash: plymouth not found in /boot/initrd-2.6.38.8-pclos3.img
remove-boot-splash: initrd in initramfs format
ERROR remove-boot-splash: plymouth not found in /boot/initrd.img
remove-boot-splash: initrd in initramfs format
ERROR remove-boot-splash: plymouth not found in /boot/initrd.img
remove-boot-splash: initrd in initramfs format
ERROR remove-boot-splash: plymouth not found in /boot/initrd.img
[root@localhost scripts]#

I thought this would be easy.   Here's what's happening.   switch-themes PCOBOX
doesn't appear to update initrd, as shown by remove-theme.   The original
background.png doesn't show at boot.   It wouldn't use my background.png so I used the
original again.   switch-themes PCOBOX appears to have installed it but it isn't per above.
switch-themes -c says PCOBOX is there, but remove-theme says plymouth not found in initrd.img's.

So, one more question before I leave this alone.   How can I get the original PCOBOX theme with
the original background.png back into the initrd.img files ?


THX
Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15203


LXDE! Coffee, Bacon and Cheesecake!


« Reply #8 on: October 19, 2011, 12:26:56 AM »

You can safely ignore that 'not found' message. As for your background image, did you use an image of the same width and height (like 1920x1440) as the original? Did you check that it had the same permissions as the original? Did you name it background.png or try to use a different name?     
Logged

Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 830


In theory, theory=practice, in practice ???


« Reply #9 on: October 19, 2011, 02:55:51 PM »

You can safely ignore that 'not found' message. As for your background image, did you use an image of the same width and height (like 1920x1440) as the original? Did you check that it had the same permissions as the original? Did you name it background.png or try to use a different name?     

Hi Neal,

And thanks very much for your response.

The file in question is 1200x750, I did change the permissions and made it executable,
like the original background.png.  Used the same name "background.png".
switch-themes PCOBOX wouldn't register it at all.   Replacing that with the original
"background.png" file had a little trouble registering also, when I tried to
restore the theme in initrd later, as per my previous message.   The
initrd files are all shrunk in size at that point.

I can make the file 1920x1440, change permissions accordingly, and try
switch-themes PCOBOX again.   After invoking remove-theme.
Is this what you recommend ?

One last hurdle 'till smooth sailing on this sounds like.   I think I'm
registering what you're driving at.   It's not possible I rewrite the
theme, you know, I don't have the Syntax.   They don't teach
Linux up here in northern Illinois in the colleges.   Wish they did kinda.

So, maybe I'll get a new novel splash screen for a novel purpose
eventually.

FF
Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15203


LXDE! Coffee, Bacon and Cheesecake!


« Reply #10 on: October 19, 2011, 03:38:31 PM »

Try without the remove-theme command this time.     

Re creating your own:     
Mostly it is just creating the graphics, when you base on another theme. Just make sure the resolutions, names and file types match. After that, change the name of the .script file, .plymouth file and the theme folder to your new theme name and edit the .plymouth file to change the name in it (several places). Easier to do than to tell.     
Logged

Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 830


In theory, theory=practice, in practice ???


« Reply #11 on: October 19, 2011, 06:32:50 PM »

Try without the remove-theme command this time.     

Re creating your own:     
Mostly it is just creating the graphics, when you base on another theme. Just make sure the resolutions, names and file types match. After that, change the name of the .script file, .plymouth file and the theme folder to your new theme name and edit the .plymouth file to change the name in it (several places). Easier to do than to tell.     


http://i51.tinypic.com/abo953.j

When I get the above done, I'll need one for vesa mode.
Do you think it's worth it ?   Seen better, seen worse ? 
Nothing that can't stay the same, of courses.
Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15203


LXDE! Coffee, Bacon and Cheesecake!


« Reply #12 on: October 19, 2011, 11:05:30 PM »

Try without the remove-theme command this time.     

Re creating your own:     
Mostly it is just creating the graphics, when you base on another theme. Just make sure the resolutions, names and file types match. After that, change the name of the .script file, .plymouth file and the theme folder to your new theme name and edit the .plymouth file to change the name in it (several places). Easier to do than to tell.     


http://i51.tinypic.com/abo953.j

When I get the above done, I'll need one for vesa mode.
Do you think it's worth it ?   Seen better, seen worse ? 
Nothing that can't stay the same, of courses.
     
For vesa mode? Vesa is a video driver, like nouveau (for nvidia cards). Booting in vesa mode is quite simply put booting with the vesa driver in use. Vesa has its limitations, which will not be over come by creating a "separate" plymouth theme for it.     
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM