/etc/skel tidy up

Bug #448658 reported by Iain Buclaw
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zenix
Status tracked in Zenix-9.10
Zenix-9.10
Fix Released
Medium
Iain Buclaw

Bug Description

The /etc/skel directory needs some serious clean up.

At the very least, all /home/ubuntu references need to go.
Ideally, anything that isn't an essential configuration file would like to be kept on. (ie: logs files, cache directories, etc).

This is a major cause for some rather strange non-bugs with the current OS, such as the inability for desktop background to keep between sessions, and the inability for firefox to restore a saved session.

Revision history for this message
Iain Buclaw (iainb) wrote :

Round One attached.

Changed in zenbuntu:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Zenix Shravaka (zenix-shravaka)
Revision history for this message
Iain Buclaw (iainb) wrote :

Okies, to clean up Firefox directory:
  cd /etc/skel/.mozilla/firefox/a9dixc0q.default/
  rm *sqlite* -f
  rm *.db -f
  rm X* -f
  rm *Cache* -r

Revision history for this message
Iain Buclaw (iainb) wrote :

And attached is the patch to fixup the rest.

The end result of round one is:
root@iain-laptop:/etc#du -hs skel.orig/
42M skel.orig/
root@iain-laptop:/etc#du -hs skel
6.8M skel

Slimmed her down by 35MBs

Revision history for this message
bodhi.zazen (bodhi.zazen) wrote :

skel/.config/audacious/log
skel/.config/orage/oragerc
skel/.mozilla/firefox/a9dixc0q.default/bookmarkbackups
skel/.mozilla/firefox/a9dixc0q.default/bookmarks.html
skel/.mozilla/firefox/a9dixc0q.default/compreg.dat
skel/.mozilla/firefox/a9dixc0q.default/extensions.cache
skel/.mozilla/firefox/a9dixc0q.default/extensions.ini
skel/.mozilla/firefox/a9dixc0q.default/xpti.dat

these files altered (to remove /home/ubuntu):
<ibuclaw> skel/.config/nitrogen/bg-saved.cfg
<ibuclaw> skel/.fluxbox/init
<ibuclaw> skel/.fluxbox/startup

Revision history for this message
bodhi.zazen (bodhi.zazen) wrote :

OK, we need the places.sqlite for bookmarks =)

Revision history for this message
Iain Buclaw (iainb) wrote :

Round-two attached.

Slimmed from: 7.0M to 5.7M

Revision history for this message
bodhi.zazen (bodhi.zazen) wrote :

I reviewed this and was able to get it down from 5.7 M to 4 M

Revision history for this message
bodhi.zazen (bodhi.zazen) wrote :

4.9 M (the gui rounded)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.