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
-
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.
-
try doing "mount -o remount,rw /" before trying to change the file ... it may help
-
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??
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]
-
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??
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
-
Thanks, Meanie! You come through again. I'll try that.
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??Â
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]
-
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:
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:
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.
-
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
-
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:
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.
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]
-
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:
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.
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:
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.