Tiny Core Base > TCB Bugs

TC 8.0 no wallpaper after boot (sometimes)

<< < (3/5) > >>

thane:
I haven't been able to generate a core dump so far. The problem appears only on boot. This is in dmesg:

hsetroot[5610]: segfault at 88 ip 08049cb4 sp bf8c0670 error 4 in hsetroot[8048000+4000]

edit: Probably no longer relevant, but there is a long-ago thread about a similar issue

http://forum.tinycorelinux.net/index.php?topic=12988.0

thane:
A solution that appears to work (at least for a couple of tries):

I put "sleep 1" in /home/tc/.setbackground.sh just before the hsetroot command and the wallpaper now appears after boot. This reinforces my earlier impression that the occasional problems I had in TC 8.x and consistently in 9.0 were a timing issue. As for why it took me so long to act on that impression, I can only say "duh"...

Will let you know if this solution works reliably.

Thane

thane:
Hmm, looks like the change to .setbackground.sh is preserved between boots, but ControlPanel/Wallpaper/Install resets it...

Misalf:
Maybe in  ~/.xsession  something like

--- Code: ---[ -x $HOME/.setbackground ] && { sleep 1 ; $HOME/.setbackground ; } &

--- End code ---

thane:
Thanks Misalf, that works. I assume .xsession is only executed on boot? That seems to be where the problem was since setting the background from the control panel always worked. What you get for using 8 year old hardware I guess...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version