Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean up user folder #6

Open
cabillman opened this issue Nov 19, 2015 · 3 comments
Open

clean up user folder #6

cabillman opened this issue Nov 19, 2015 · 3 comments

Comments

@cabillman
Copy link
Contributor

After imaging do we want to clean up the user's home folder? What should be preserved?

Keep everything if distro version is the same?
Make it a parameter?
Only remove the ~/. hidden folders?
Other ideas?

@tomswartz07
Copy link
Contributor

I think we will quickly get in trouble if we delete folders by default. I'm in favor of a parameter or switch.

If we really want to modify the config files, the majority of the major distros honor the FreeDesktop standards, (e.g. $XDG_CONFIG_HOME).
We could move them to an alternate location, similar to the Windows.old folder that appears during an OS upgrade.

@cabillman
Copy link
Contributor Author

I'm not in favor of deleting anything either. I was thinking of moving them out of the way somehow. That could be a .old folder, or creating a new clean home folder and moving all the non . folders, etc.

XDG_CONFIG_HOME doesn't contain the data for all apps so moving that probably won't do the job.

@cabillman
Copy link
Contributor Author

The consensus is to move all hidden folders out of the way. Copy over mozilla and chrome+chromium. And archive old settings.

Use /etc/skel for things we want to set post image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants