Reply
Thread Tools
Posts: 5 | Thanked: 1 time | Joined on Jul 2008 @ Greece
#1
Hello everyone, first post here.

I got a N800 tablet a few days ago and I can honestly say I'm impressed.

My previous Linux-based PDA was a Sharp Zaurus, so I have some experience with Linux PDAs

One of the first things I did was install Diablo and it really works nicely.

However, yesterday I installed a theme pack (LCARS theme) I found on maemo.org which messed up my shutdown splash screen.

Even after uninstalling everything related to the theme pack I can't seem to be able to get the original Nokia shutdown screen back. The theme's modified shutdown screen remains :/

I searched a little and apparently the splash screens are saved in /usr/share/icons/hicolor/scalable/hildon/

Does anyone know the filename for the shutdown splash screen? Any ideas on this annoying problem?
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#2
Welcome aboard I'm a former Zaurus user too, and feel the same way about the NIT.

I had the same experience with LCARS even after uninstalling it all. Try dpkg --purge perhaps? I reflashed my device to Diablo (upgraded from Chinook). This solved the problem.

The splash screen is handled by the package osso-systemui-splashscreen. This contains a library called /usr/lib/systemui/libsystemuiplugin_splashscreen.so at some point this says /system/systemui/splash/bootup_image
/system/systemui/splash/shutdown_image
/system/systemui/splash/window_priority
splashscreen_open
splashscreen_close
/tmp/bar.gif
/tmp/foo.gif
load image failed for %s


So I fired up gconf. Here I find 3 entries which are all 3 found in /usr/share/icons/hicolor/scalable/hildon/

bootup_image=qgn_indi_startup_nokia_logo.png
greeting_image=qgn_indi_nokia_hands.jpg
shutdown_image=qgn_indi_startup_nokia_logo.png

I don't know if LCARS changed these values, or if they replaced the pictures. I hope the former, and the fact it doesn't fix this when the package is removed is a bug IMO, but it might be this bug.

So you may try to grab the original files. I don't know in which package they are, and I don't know how to figure this out (as I lack apt-file and packages.maemo.org doesn't have the option).

Here is a howto how to change your bootup image.
 

The Following User Says Thank You to allnameswereout For This Useful Post:
Posts: 5 | Thanked: 1 time | Joined on Jul 2008 @ Greece
#3
Thanks for the reply allnameswereout

The weird thing is this - there are 3 files, one is the NOKIA logo, the 2nd is the progress bar at the bottom and the 3rd is the 'Nokia Hands' image.

However, the shutdown image is just the NOKIA logo also used during bootup...

Now since the original images have been restored (they show up fine when booting up) how come the shutdown image, which is the exact same file used in the boot splash, is still the LCARS one???

I mean, in this case its obvious the original files were not overwritten... So why does the wrong file show up during shutdown?
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#4
Type this:
# gconftool-2 -g /system/systemui/splash/shutdown_image

It should return:
qgn_indi_startup_nokia_logo

It probably doesn't...

Therefore:

# gconftool-2 -t string -s /system/systemui/splash/shutdown_image qgn_indi_startup_nokia_logo

And it should be fixed
 

The Following User Says Thank You to allnameswereout For This Useful Post:
Posts: 5 | Thanked: 1 time | Joined on Jul 2008 @ Greece
#5
Well, gconftool reports that indeed the correct file, qgn_indi_startup_nokia_logo, is used for the shutdown splash image...

I tried setting shutdown_splash to use qgn_indi_startup_nokia_logo to no avail...
 
Posts: 5 | Thanked: 1 time | Joined on Jul 2008 @ Greece
#6
I think I got it: I deleted the icon-theme.cache file inside /usr/share/icons/hicolor and rebooted.

On the next boot, the icon cache was rebuilt and the shutdown image is displayed correctly (I replaced the splash screens with custom ones).
 

The Following User Says Thank You to silencer51 For This Useful Post:
ian_ryge's Avatar
Posts: 138 | Thanked: 262 times | Joined on Oct 2006
#7
Hi, I made the LCARS themes.

Originally Posted by allnameswereout View Post
I don't know if LCARS changed these values, or if they replaced the pictures. I hope the former
While we could have used gconf settings for certain graphics, it doesn't cover everything we wanted to modify.

Originally Posted by allnameswereout View Post
it might be this bug.
That bug is fixed as of ITOS2008, and is unrelated to the problem silencer51 described. Our extras package uses dpkg-divert to install the override graphics - it appends ".distrib" to the names of the existing files to make room for our replacements. Upon uninstallation of our package, the replacement graphics are removed and the original filenames are restored. dpkg-divert was broken in some releases of ITOS2007, but fortunately it works great in all versions of OS2008.
 
ian_ryge's Avatar
Posts: 138 | Thanked: 262 times | Joined on Oct 2006
#8
Originally Posted by silencer51 View Post
I think I got it: I deleted the icon-theme.cache file inside /usr/share/icons/hicolor and rebooted.

On the next boot, the icon cache was rebuilt and the shutdown image is displayed correctly (I replaced the splash screens with custom ones).
Wow, I can't believe we released with that bug, and took this long to notice.

We didn't realize that icon-theme.cache needs to be updated when changing certain graphics. We'll fix the problem in our next release, by adding the following line to the post-install and post-removal scripts for lcars-extras:

Code:
gtk-update-icon-cache -f /usr/share/icons/hicolor
In the meantime, anyone affected by this issue can update their icon cache (and restore the shutdown image to whatever is currently installed) by running the above command in a root shell. (see https://wiki.maemo.org/Root_access )

silencer51 - Even though you've already solved your own problem by deleting the cache, I'd recommend you run that command to create a new one - theoretically, some things might load a little slower without it.

If you're interested, here's how this bug slipped by us:
When we were testing the lcars-extras package, the normal Nokia graphic always appeared at shutdown, even when the LCARS graphics were installed. Since our replacement graphics showed up during startup but not at shutdown, we simply assumed that the shutdown graphic was stored elsewhere, and was beyond the scope of what we were able to modify. As it turns out, startup/shutdown use the same graphic, but for some reason the cached copy is used only at shutdown. Our replacement graphic wasn't appearing because icon-theme.cache hadn't been updated since the change. Once the cache is updated by some other package (with LCARS already installed) the shutdown graphic switches to the LCARS version. If LCARS is subsequently uninstalled, the cache must be updated again or the shutdown graphic remains. Like I said, it will all be resolved in the next release - sorry for the inconvenience!
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#9
Just an additional note: pointing the gconf values at custom image files has no effect, even after rebuilding the cache. The only way seems to be to replace the Nokia image files. Seems weird that you'd go to all the trouble of having gconf values for these things, but then completely ignore them...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:34.