! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
XFCE4 doesn't remember my Balou splash screen settings
Status:
RESOLVED: WORKSFORME
Product:
Xfce4-session
Component:
General

Comments

Description Vince C. 2008-07-29 15:02:20 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; fr-FR; rv:1.8.1.15) Gecko/20080711 SeaMonkey/1.1.10
Build Identifier: 

I've installed and configured a new splash screen, gentoo-xfce4 (http://www.xfce-look.org/content/show.php/gentoo-xfce4+balou+splash?content=33083)  in my home directory under ~/.themes. The splash screen is always reset to the default Mice each time I start XFCE4.

Reproducible: Always

Steps to Reproduce:
1. Install gentoo-xfce4 in /usr/local/themes or ~/.themes
2. Open Splash screen preferences and configure Balou splash to gentoo-xfce4
3. Close and restart XFCE4 session

Actual Results:  
Splash screen is restored to Mice (i.e. the black mouse fading in/out on a clear screen)

Expected Results:  
Selected splash screen gentoo-xfce4.

This theme comprises only the bitmap and a theme rc file, no library. My XFCE profile is almost brand new i.e. I've completely removed the ~/.config and ~/.cache directories a couple of weeks ago, starting off with a blank profile and desktop.

* Running Gentoo Linux AMD64 branch on an Intel Centrino (Core2) Duo
* kernel 2.6.26-gentoo
* xfce-base/xfce4-session-4.4.2
* x11-libs/gtk+-2.12.9-r2
* dev-libs/glib-2.16.3-r1
* Desktop themes: Aurora/Aurora-looks
* Icon theme: Xquisite (http://www.xfce-look.org/content/show.php/Xquisite?content=69735)
Comment 1 Vince C. 2008-08-10 18:53:15 CEST
I can confirm that settings are reset upon *closing* my XFCE4 session normally. If I zap X with Ctrl+Alt+BkSpace and re-run XFCE4 then my session begins with the splash screen I selected.

Session option «Automatically save session state upon exiting» is *not* checked (I prefer chosing when I close my session) and «Ask when closing session» *is* checked. When I close my session the checkbox «Save current session state for further reuse» *is* checked. (Labels translated from French.)
Comment 2 Vince C. 2008-08-24 22:10:08 CEST
I also confirm this is not occurring on XUbuntu amd64 platform. I've installed Xubuntu on my laptop (the same on which it didn't work under Gentoo) and my splash preference is kept.
Comment 3 Brian J. Tarricone (not reading bugmail) 2008-11-28 07:16:54 CET
Then you should report this to Ubuntu.  This is likely their bug.
Comment 4 Vince C. 2008-11-28 10:15:25 CET
And if doesn't work in every distribution, should I file a bug in all of them? Hey, I found that bug in Gentoo and confirmed it under Ubuntu; what more do you expect from me?

It' *not* a Ubuntu bug... Sorry.
Comment 5 Vince C. 2008-12-03 06:47:53 CET
The problem is NOT solved. Gentoo dev's require the bug to be declared upstream. So do Ubuntu dev's. So would you please mind how you checked this to be working for you? Did you download the Balou theme I mentioned and test it under Ubuntu and Gentoo?

To be honest, I won't reasonably download and try any distribution around. Maybe a few ones like Arch, Debian, Mepis but I won't report the bug to each of these.

Hope you understand.
Comment 6 Kevin Day 2009-02-25 22:10:09 CET
I can confirm this in a custom compiled (aka from scratch) system using xfce4-session 4.4.3.

It appears that for some reason the ~/.config/xfce4-session/xfce4-session.rc gets overriden in two different cases.

1) When the splash screen setting is saved, the specified file gets completely overwritten.
2) On logout, the specified file gets completely overwritten.

for example, I have the following manually created file

xfce4-session.rc contents:
[Splash Screen]
Engine=simple

[General]
SessionName=Default
SaveOnExit=false


For case (1), when I change the screen saver the file then looks like the following:
[Splash Screen]
Engine=simple

or
[Splash Screen]
Engine=balou

For case (2), irregardless if case (1) happened or not, on logout it looks like:
[General]
SessionName=Default
SaveOnExit=false

This only started happening to me when I started to define the following environment variables:
    export USERDIR=~/
    export BASEDIR=${USERDIR}.config/xfce4/
    export XDG_DATA_DIRS=/share/
    export XDG_CONFIG_HOME=~/.config/
    export XDG_CONFIG_CACHE=~/.local/
    export XDG_CACHE_HOME=~/.cache/
    export ICEAUTHORITY=~/.ICEauthority

    xinitrc=~/.xinitrc

I have _not_ yet confirmed that this is the actual cause nor confirmed which one of these is causing (or combination thereof).

I will report any results when I get them.
Comment 7 Kevin Day 2009-02-25 22:34:09 CET
I managed to confirm that the symptom is caused by defining:
export XDG_CONFIG_HOME=~/.config/
Comment 8 Vince C. 2009-02-25 23:40:36 CET
(In reply to comment #7)
> I managed to confirm that the symptom is caused by defining:
> export XDG_CONFIG_HOME=~/.config/

So it suffices to set XDG_CONFIG_HOME, be it to the default value or anything else to trigger the bug?

Indeed I set XDG_CONFIG_HOME (~/.xfce4/config/) and XDG_CACHE_HOME (~/.xfce4/cache). However the bug also appears to happen on Ubuntu livecd -- note I haven't checked that these variables are set or not.
Comment 9 Vince C. 2009-03-07 11:17:20 CET
Strangely enough, the problem is gone although I'm still using custom directories for XFCE config and cache:

XDG_CACHE_HOME=/home/vinz/.xfce4/cache
XDG_CONFIG_HOME=/home/vinz/.xfce4/config/
XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share

It's been three/four days I've set Balou and the custom splash I mentioned in my first post. It comes now as expected each time I logon.

A couple of XFCE packages have been updated since I reported the bug: xfce-base/xfce4-session-4.4.3. It's only a couple of days ago that I tried Balou splash again -- out of curiosity. Now it works.

Do you want me to close as WORKSFORME?
Comment 10 Kevin Day 2009-03-07 17:40:55 CET
I recently switched to XFCE 4.6.
This problem does not seem to be present in 4.6.
Comment 11 Benedikt Meurer editbugs 2009-11-07 10:31:13 CET
Mass reassign. Nick, please check these pending reports. Thx.
Comment 12 Nick Schermer editbugs 2010-02-07 13:31:09 CET
Looks to be fixed after the switch to xfconf.

Bug #4255

Reported by:
Vince C.
Reported on: 2008-07-29
Last modified on: 2010-02-07

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Attachments

Additional information