SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-05-15 10:02:09

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Move user config file templates from /etc to /usr/share?

Offline

Help fund CrunchBang, donate to the project!

#2 2015-05-15 10:46:14

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,643

Re: Move user config file templates from /etc to /usr/share?

Last edited by brontosaurusrex (2015-05-15 10:56:37)

Offline

#3 2015-05-15 12:23:36

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Move user config file templates from /etc to /usr/share?

Last edited by damo (2015-05-15 12:32:14)

Offline

#4 2015-05-15 13:19:15

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,643

Re: Move user config file templates from /etc to /usr/share?

mint Debian betsy

System:    Host: mint Kernel: 3.11-2-amd64 x86_64 (64 bit) Desktop: Cinnamon 2.0.14  Distro: LinuxMint 1 debian

mint@mint /etc/skel $ tree -a
.
├── .bash_logout
├── .bashrc
├── .config
│   ├── chromium
│   │   ├── chrome_shutdown_ms.txt
│   │   ├── Default
│   │   │   ├── Archived History
│   │   │   ├── Archived History-journal
│   │   │   ├── Cookies
│   │   │   ├── Cookies-journal
│   │   │   ├── Current Session
│   │   │   ├── Current Tabs
│   │   │   ├── databases
│   │   │   │   ├── Databases.db
│   │   │   │   └── Databases.db-journal
│   │   │   ├── Favicons
│   │   │   ├── Favicons-journal
│   │   │   ├── History
│   │   │   ├── History Index 2013-05
│   │   │   ├── History-journal
│   │   │   ├── History Provider Cache
│   │   │   ├── Login Data
│   │   │   ├── Login Data-journal
│   │   │   ├── Managed Mode Settings
│   │   │   ├── Network Action Predictor
│   │   │   ├── Network Action Predictor-journal
│   │   │   ├── Origin Bound Certs
│   │   │   ├── Origin Bound Certs-journal
│   │   │   ├── Preferences
│   │   │   ├── QuotaManager
│   │   │   ├── QuotaManager-journal
│   │   │   ├── README
│   │   │   ├── Session Storage
│   │   │   │   ├── 000003.log
│   │   │   │   ├── CURRENT
│   │   │   │   ├── LOCK
│   │   │   │   ├── LOG
│   │   │   │   └── MANIFEST-000002
│   │   │   ├── Shortcuts
│   │   │   ├── Shortcuts-journal
│   │   │   ├── Top Sites
│   │   │   ├── Top Sites-journal
│   │   │   ├── User StyleSheets
│   │   │   │   └── Custom.css
│   │   │   ├── Visited Links
│   │   │   ├── Web Data
│   │   │   └── Web Data-journal
│   │   ├── Dictionaries
│   │   │   └── en-US-2-4.bdic
│   │   ├── First Run
│   │   ├── Local State
│   │   ├── Safe Browsing Cookies
│   │   ├── Safe Browsing Cookies-journal
│   │   └── Service State
│   └── Trolltech.conf
├── .fonts.conf
├── .local
│   └── share
│       └── applications
│           └── mimeapps.list
├── .mate2
│   └── README
├── .mozilla
│   ├── firefox
│   │   ├── Crash Reports
│   │   │   └── InstallTime20110422203143
│   │   ├── mwad0hks.default
│   │   │   ├── mimeTypes.rdf
│   │   │   ├── .parentlock
│   │   │   ├── places.sqlite
│   │   │   └── prefs.js
│   │   └── profiles.ini
│   └── firefox.last-version
└── .profile

comes to 11Megs all together.

grml

grml@grml:/etc/skel$ ls -a
.                  .centericq  .irbrc    .msmtprc    .w3m             .xsession
..                 .channels   .irssi    .muttrc     .xinitrc         .zlogin
.a2ps              .config     .jackdrc  .profile    .xinitrc.d       .zshrc
.acrorc            .emacs      .kshrc    .screenrc   .xlocktext
.apwalrc.xml       .fluxbox    .lftprc   .signature  .Xmodmap
.asoundrc.example  .gitconfig  .links    .snownews   .Xmodmap.german
.bash_logout       .gtkrc-2.0  .links2   .terminfo   .Xmodmap.neo
.bashrc            .hgrc       .mkshrc   .vim        .Xresources

around 240K.

semplice

luckyuser@SempliceLive:/etc/skel$ tree -a
.
├── .bash_logout
├── .bashrc
├── .config
│   ├── autostart
│   │   └── first-time-openbox-vera-color.desktop
│   ├── clipit
│   │   └── clipitrc
│   ├── gsimplecal
│   │   └── config
│   ├── gtk-3.0
│   │   └── settings.ini
│   ├── libfm
│   │   ├── libfm.conf
│   │   └── pref-apps.conf
│   ├── mirage
│   │   └── miragerc
│   ├── nitrogen
│   │   ├── add-wallpaper
│   │   ├── bg-saved.cfg
│   │   └── nitrogen.cfg.firststart
│   ├── openbox
│   │   ├── autostart
│   │   ├── menu-static.xml
│   │   └── rc.xml
│   ├── pcmanfm
│   │   ├── default
│   │   │   └── pcmanfm.conf
│   │   └── main
│   ├── roxterm.sourceforge.net
│   │   ├── Profiles
│   │   │   └── Default
│   │   └── Shortcuts
│   │       └── Default
│   ├── volumeicon
│   │   └── volumeicon
│   └── xfce4
│       └── xfconf
│           └── xfce-perchannel-xml
│               └── xfce4-notifyd.xml
├── Desktop
├── .gtkrc-2.0
├── .local
│   └── share
│       └── applications
├── .profile
├── .Xresources
└── .xscreensaver

23 directories, 24 files

around 60K.

(Assuming that live version of /etc/skel is the same/similar as installed one)

Last edited by brontosaurusrex (2015-05-15 14:13:06)

Offline

#5 2015-05-15 14:13:38

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Move user config file templates from /etc to /usr/share?

BunsenLabs

damo@bunsenlabs:~$ tree -a /etc/skel
/etc/skel
├── .bash_aliases
├── .bash_logout
├── .bashrc
├── bin
├── .config
│   ├── bunsen
│   ├── clipit
│   │   └── clipitrc
│   ├── compton.conf
│   ├── conky
│   │   ├── BL-Button.conkyrc
│   │   ├── BL-Default.conkyrc
│   │   ├── BL-Ellipses-Blue.conkyrc
│   │   ├── BL-Ellipses-Grey.conkyrc
│   │   ├── BL-Ellipses-Time.conkyrc
│   │   ├── BL-Left.conkyrc
│   │   ├── BL-Right-lua.conkyrc
│   │   ├── BL-Text.conkyrc
│   │   ├── BL-Top.conkyrc
│   │   ├── CB-Left.conkyrc
│   │   ├── CB-Right.conkyrc
│   │   ├── Classic.conkyrc
│   │   ├── conkyrc_cb
│   │   ├── images
│   │   │   ├── bl-flame-ellipses-blue.png
│   │   │   ├── bl-flame-ellipses-grey.png
│   │   │   ├── BL-Orb-Flame-lt-180x180.png
│   │   │   └── bunsenlabs-text-flame-grey.png
│   │   ├── LUA
│   │   │   ├── clock.lua
│   │   │   └── draw-bg.lua
│   │   └── scripts
│   │       └── bunsenweather.sh
│   ├── dmenu
│   │   └── dmenu-bind.sh
│   ├── fontconfig
│   │   └── fonts.conf
│   ├── fonts.conf
│   ├── geany
│   │   ├── colorschemes
│   │   ├── filedefs
│   │   │   └── filetypes.README
│   │   ├── geany.conf
│   │   ├── plugins
│   │   ├── tags
│   │   ├── templates
│   │   │   └── templates.README
│   │   └── ui_toolbar.xml
│   ├── gigolo
│   │   └── config
│   ├── gsimplecal
│   │   └── config
│   ├── gtk-3.0
│   │   └── settings.ini
│   ├── nitrogen
│   │   ├── bg-saved.cfg
│   │   └── nitrogen.cfg
│   ├── openbox
│   │   ├── autostart
│   │   ├── menu.xml
│   │   ├── pipemenus.rc
│   │   └── rc.xml
│   ├── Terminal
│   │   └── terminalrc
│   ├── terminator
│   │   └── config
│   ├── Thunar
│   │   ├── accels.scm
│   │   ├── thunarrc
│   │   └── uca.xml
│   ├── tint2
│   │   └── tint2rc
│   ├── Trolltech.conf
│   ├── user-dirs.dirs
│   ├── user-dirs.locale
│   ├── volumeicon
│   │   └── volumeicon
│   └── xfce4
│       └── xfconf
│           └── xfce-perchannel-xml
│               ├── thunar-volman.xml
│               ├── xfce4-notifyd.xml
│               └── xfce4-power-manager.xml
├── .conkyrc
├── Documents
├── Downloads
├── .fonts
├── .gmrunrc
├── .gtk-bookmarks
├── .gtkrc-2.0
├── .gtkrc-2.0.mine
├── .icons
├── .local
│   └── share
│       ├── applications
│       │   └── defaults.list
│       └── Thunar
│           └── sendto
│               └── moveup.desktop
├── Music
├── .pbuilderrc
├── Pictures
│   └── wallpapers
├── .profile -> .profile.bunsen
├── .profile.bunsen
├── .profile.bunsen-orig
├── Public
├── Templates
│   ├── script.sh
│   └── textfile.txt
├── .themes
├── tmp
├── Videos
├── .Xresources
└── .xsessionrc

46 directories, 69 files
621K total

Doesn't look too bad?

Offline

#6 2015-05-15 14:50:14

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,643

Re: Move user config file templates from /etc to /usr/share?

@damo; I guess pngs are taking the space, not a big deal imho.

Offline

#7 2015-05-15 16:55:17

twoion
Emerald Caffeine
From: 星界
Registered: 2012-05-11
Posts: 1,648

Re: Move user config file templates from /etc to /usr/share?

@OP

I would find this move nice since

useradd -m newuser

would create a truly lean home directory for the new user. I use this all the time; for example, I do run skype, steam and wine with different users, each with his own home directory. If a user wants to bunsenfy her home directory (or another user's home), she should run a bunsenfy script which would take care of copying the stuff.

Offline

#8 2015-05-15 22:06:52

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,643

Re: Move user config file templates from /etc to /usr/share?

Offline

#9 2015-05-16 04:20:00

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Move user config file templates from /etc to /usr/share?

Last edited by johnraff (2015-05-16 05:44:43)

Offline

#10 2015-05-17 13:26:57

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Move user config file templates from /etc to /usr/share?

...anyway, we're still in the sub-alpha phase, so let's give it a try and see if any problems come up. Nearly everything is in the one bunsen-configs package so it shouldn't be too hard.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo