OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: tombraider on January 07, 2006, 12:30:53 pm

Title: Cacko -change Startup Screen?
Post by: tombraider on January 07, 2006, 12:30:53 pm
Okay, knocking those problems off one after another.     Fixed the game problem...now....I had a custom startup screen on my Sharp ROM C1000 setup.  It was fairly easy to do,  but it appears that the Cacko ROM will not allow me to delete or change its startup screen.

The startup is called Startup_screen.bmp.bz2 and can't be deleted or renamed or copied even with root privileges.  Is it impossible to put your own custom startup screen in the Cacko ROM?

This is on a C1000.

Thanks.
Title: Cacko -change Startup Screen?
Post by: ThC on January 07, 2006, 01:19:10 pm
try doing "mount -o remount,rw /" before trying to change the file ... it may help
Title: Cacko -change Startup Screen?
Post by: tombraider on January 07, 2006, 05:04:00 pm
I went to the terminal and typed in your command but got a message that the device was busy so I typed the following:
su
 mount / -o rw,remount

and it accepted it but then I went into Advanced file manager and I STILL could not rename or delete the file.

Did you mean I had to move files and copy them at the terminal after entering those commands...not sure I can manage all that.

Is there an easier way to just change the startup screen??  

Quote
try doing "mount -o remount,rw /" before trying to change the file ... it may help
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109920\"][{POST_SNAPBACK}][/a][/div]
Title: Cacko -change Startup Screen?
Post by: Meanie on January 07, 2006, 06:11:24 pm
Quote
I went to the terminal and typed in your command but got a message that the device was busy so I typed the following:
su
 mount / -o rw,remount

and it accepted it but then I went into Advanced file manager and I STILL could not rename or delete the file.

Did you mean I had to move files and copy them at the terminal after entering those commands...not sure I can manage all that.

Is there an easier way to just change the startup screen??   

Quote
try doing "mount -o remount,rw /" before trying to change the file ... it may help
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109920\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109940\"][{POST_SNAPBACK}][/a][/div]


The startup screen is loaded by /home/QtPalmtop/qpe.sh


you could edit this file to load another image from an alternate location
Title: Cacko -change Startup Screen?
Post by: tombraider on January 08, 2006, 09:18:43 am
Thanks,  Meanie!    You come through again.  I'll try that.

Quote
Quote
I went to the terminal and typed in your command but got a message that the device was busy so I typed the following:
su
 mount / -o rw,remount

and it accepted it but then I went into Advanced file manager and I STILL could not rename or delete the file.

Did you mean I had to move files and copy them at the terminal after entering those commands...not sure I can manage all that.

Is there an easier way to just change the startup screen??   

Quote
try doing "mount -o remount,rw /" before trying to change the file ... it may help
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109920\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109940\"][{POST_SNAPBACK}][/a][/div]


The startup screen is loaded by /home/QtPalmtop/qpe.sh


you could edit this file to load another image from an alternate location
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109948\"][{POST_SNAPBACK}][/a][/div]
Title: Cacko -change Startup Screen?
Post by: tombraider on January 08, 2006, 11:05:48 am
Meanie (or any other knowledgeable person):

I'm a cautious person so before I do this I have made several copies of the current file /home/QtPalmtop/qpe.sh and will rename it in its current location and then copy my modified qpe.sh to /home/QtPalmtop/

BUT, before I do this I want to check if this would be a correct modified file below.  I have placed my rotated bmp in the /usr/QtPalmtop.rom/pics144/ folder and it is named "Startup_screen.bmp".

Existing code:
Code: [Select]
while true; do
 Â   bzcat /usr/QtPalmtop.rom/pics144/Startup_screen.bmp.bz2 > /tmp/Startup_screen.bmp
 Â   sdisp /tmp/Startup_screen.bmp &
 Â   rm -f /tmp/Startup_screen.bmp

Proposed NEW code inserted into qpe.sh in place of that code:
Code: [Select]
while true; do
 Â   bzcat /usr/QtPalmtop.rom/pics144/Startup_screen.bmp > /tmp/Startup_screen.bmp
 Â   sdisp /tmp/Startup_screen.bmp &
 Â   rm -f /tmp/Startup_screen.bmp

Will this give me my start screen without trashing my system?  Actually,  I think I'll be even MORE cautious and use a known good startup screen which I made that worked in the Sharp ROM.

Thanks in advance.
Title: Cacko -change Startup Screen?
Post by: jfv on January 08, 2006, 11:25:16 am
No. The orginal picture is compressed (hence the file type .bz2). The command bzcat decompresses and moves the picture to the /tmp directory simultaneously. As your picture is not compressed, you should replace bzcat by cat in your script.

Felipe
Title: Cacko -change Startup Screen?
Post by: tombraider on January 08, 2006, 12:24:23 pm
Felipe,  thank you!

I now have my custom startup screen back that I had in the Sharp ROM on my C1000.
Without your help on the "bzcat" difference there,  I could have had a fatal error.
It would not allow me to copy my bitmap into that pics144 folder and so I had to put my startup bitmap in a different location and put the path in the
qpe.sh code like this:

Code: [Select]
while true; do
    cat /home/zaurus/startup/Startup_screen.bmp >

/tmp/Startup_screen.bmp
    sdisp /tmp/Startup_screen.bmp &
    rm -f /tmp/Startup_screen.bmp

I would advise extreme caution if someone else wants to try this though.
 
Quote
No. The orginal picture is compressed (hence the file type .bz2). The command bzcat decompresses and moves the picture to the /tmp directory simultaneously. As your picture is not compressed, you should replace bzcat by cat in your script.

Felipe
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110031\"][{POST_SNAPBACK}][/a][/div]
Title: Cacko -change Startup Screen?
Post by: Meanie on January 09, 2006, 05:24:47 am
Quote
Felipe,  thank you!

I now have my custom startup screen back that I had in the Sharp ROM on my C1000.
Without your help on the "bzcat" difference there,  I could have had a fatal error.
It would not allow me to copy my bitmap into that pics144 folder and so I had to put my startup bitmap in a different location and put the path in the
qpe.sh code like this:

Code: [Select]
while true; do
    cat /home/zaurus/startup/Startup_screen.bmp >

/tmp/Startup_screen.bmp
    sdisp /tmp/Startup_screen.bmp &
    rm -f /tmp/Startup_screen.bmp

I would advise extreme caution if someone else wants to try this though.
 
Quote
No. The orginal picture is compressed (hence the file type .bz2). The command bzcat decompresses and moves the picture to the /tmp directory simultaneously. As your picture is not compressed, you should replace bzcat by cat in your script.

Felipe
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110031\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110044\"][{POST_SNAPBACK}][/a][/div]


The idea of using bz2 is to compress the image so conserve space. However, it also takes some time to extract during the startup.

You could also do the following:

Code: [Select]
   sdisp  /home/zaurus/startup/Startup_screen.bmp &
to just load your image directly and not worry about the bzip2 thing since your image isnt compressed anyway.