Configuration conpletly lost after unclean shutdown

Renaud (Ron) OLGIATI renaud at
Sun Jul 20 21:49:23 CEST 2014

On Sun, 20 Jul 2014 21:38:45 +0200
Clemens Eisserer <linuxhippy at> wrote:

> I've experienced a loss of the complete xfce configuration after an
> unclean shutdown, and recently only of the whiskers menu (using btrfs,
> which uses delayed allocation).
> Today I was hiking with a friend of mine using ext4, and he had the
> same issue on a netbook - where the whole xfce desktop configuration
> was lost after a sudden power down.
> It seems like xfce is using some combination of ftrucate+rewrite to
> modify its configuration files, which leads to zero-length files as
> both operations aren't atomic.
> I did a quick search for the parts to blame, however wasn't able to find it.
> Therefore I would be grateful if somebody could point me to the
> functions which are responsible for xfce's config file handling.

While not an answer to your present problem, I have had similar in the past and learned (the hard way) that most software config files are stored in ~/.config and that it greatly eases the pain if you have kept a ~/configbak copy which you have updated from time to time...
                     Do not hurt where holding is enough;
                    do not wound where hurting is enough;
                    do not main where wounding is enough;
                     do not kill where maiming is enough.
            The greatest warrior is he who does not need to kill.
                                                -- Berek Halfhand
                   -- --

More information about the Xfce mailing list