[Pkg-lxde-maintainers] Bug#656532: lxde-core: Random black background after login

Adrian Gibanel Lopez adrian15sgd at gmail.com
Thu Jan 19 23:08:28 UTC 2012


Package: lxde-core
Version: 0.5.0-4
Severity: normal

I am trying to make a Debian Live based on LXDE. It autologins at start.
Sometimes background gets black and even if the right background image is setup the
background is not changed.

  If you try to logout and then login it works.

Although I have not tested it I think I have the solution.

It seems that startlxde generates two files at:
 /home/user/.config/lxde/pcmanfm/ directory

 LXDE.conf
 pcmanfm.conf

At xorg startup I have an script that setups the background:
LIVE_HOME="/home/user"
MAGIC_BACKGROUND_FILENAME="background.png"
pcmanfm --set-wallpaper \
"${LIVE_HOME}/Desktop/rescapp\
/logos/${MAGIC_BACKGROUND_FILENAME}"

It happens that somehow pcmanfm.conf file is modified with the
right background filename.
LXDE.conf is not modified at all and has a default filename.

But, guess, what happens when I logout and login again?
Although both files have different contents both of them have
the right background filename.

It would seems the solution is found in these changes from SuSE packages:

https://build.opensuse.org/package/rdiff?linkrev=base&package=lxde-common&project=X11%3Alxde&rev=46

https://build.opensuse.org/package/rdiff?linkrev=base&package=lxde-common&project=X11%3Alxde&rev=48

If we inspect the changes it says that: pcmanfm.conf file instead of being saved into:
/home/user/.config/pcmanfm/
it should be installed into:
/home/user/.config/pcmanfm/default/
..

I suspect that this default folder somehow takes precedence and somehow it fixes the problem.

I have found this strange behaviour in Rescatux 0.29, 0.30b1, 0.30b3.
(Just in case you cannot reproduce the error I describe).

Thank you in advance.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the Pkg-lxde-maintainers mailing list