Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389089 - xfce-config.xml contains incorrect upgrade instructions
Summary: xfce-config.xml contains incorrect upgrade instructions
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/xfce-con...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-31 11:45 UTC by Sergey S. Starikoff
Modified: 2011-11-15 18:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2011-10-31 11:45:34 UTC
Code Listing 5.1: Deleting old sessions from the cache

$ rm -r ~/.cache/sessions
$ rm -r ~/.config/xfce*
$ rm -r ~/.config/Thunar

listed code removes not only old sessions, but completely old XFce4 profile.

Reproducible: Always

Steps to Reproduce:
1. Do as recommended in guide;
2. Re-login (or maybe reboot).
Actual Results:  
Suggestion to use default or blank profile.

Expected Results:  
Either listed commands should remove only cache, not profile.
Or (on it is necessary to remove old profile) guide comment should be up to date (now it warns only about removing old cache) and warns about removing old profile (so, user should be ready to reproduce his user environment if it doesn't match with default).
Comment 1 nm (RETIRED) gentoo-dev 2011-10-31 19:37:23 UTC
This is what the Xfce team told us needed to happen. The configuration file syntax changed when 4.8 was released, so all the old files are no longer valid.
Comment 2 Sergey S. Starikoff 2011-11-02 11:04:11 UTC
(In reply to comment #1)
> This is what the Xfce team told us needed to happen. The configuration file
> syntax changed when 4.8 was released, so all the old files are no longer valid.

OK.
So, guide should be updated.
Something like:

- If you're upgrading Xfce from an old version to 4.8 or newer, then you will need to remove your old cached sessions. For each of your users, run the following commands to remove your old incompatible cached sessions: 

+ If you're upgrading Xfce from an old version to 4.8 or newer, then you will need to remove your old incompatible profile and cached sessions. For each of your users, run the following commands to do it: 
...

+ Note: If you use customized user settings, be ready to restore you user settings (for each user) in new format profile.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2011-11-15 18:33:15 UTC
Thanks; I've enhanced the wording in that paragraph. I've also added a paragraph explaining that users will get a new shiny environment but will have lost some of their personal settings along the way, and that there is no known "migration" for those settings.

If I'm wrong there, just give me a hurl and we'll update accordingly.