[debian-knoppix] Question about 45xsession (possibly feature request)
I see in /etc/X11/Xsession.d/45xsession that the files from /etc/skel
get copied to /home/knoppix in batches, i.e.:
\cp -ua /etc/skel/{.acrorc,.Xdefaults,.bashrc,.nessus*,.links,.lynx*,.qt,.xine,tmp} $HOME/
\cp -ua /etc/skel/.netscape $HOME/ 2>/dev/null
\cp -ua /etc/skel/.mozilla $HOME/ 2>/dev/null
\cp -ua /etc/skel/{.kde*,Desktop} $HOME/
...and so on.
I was wondering why the whole content of the /etc/skel directory is
not copied at once into /home/knoppix. Is this not to put the bulkier
stuff (such as the .kde dir) into ramdisk, when not needed and the
computer is possibly low on memory?
People (including me) have been bitten by this when remastering
Knoppix and adding default per-user configuration files, that were not
copied as expected upon booting. I `solved' by patching 45xsession,
by that's no durable solution. I will probably resort to a 44homedir,
which is still hackish but at least doesn't stomp on Knoppix files.
If the problem is not memory, may I suggest that 45xsession copy the
whole /etc/skel content into /home/knoppix on startup? (This would
also solve problems when people are starting KDE apps even when they
booted with a different window manager.)
If the problem is memory, the .kde might be copied separately from the
rest after a check that the window manager is KDE.
Massimiliano
_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix
Reply to: