PDA

View Full Version : How do I put persistent data in ~knoppix?



IanJ
09-25-2003, 04:48 PM
Hello,

I have recently created a CD from a remastered
Knoppix 3.3. What I have not figured out how to
do is put persistent data (e.g., scripts that I use
frequently, ssh keys, etc.) into ~knoppix automatically.
I want to burn that data on the CD and have it
copied to ~knoppix automatically on boot.

I thought the answer had something to do with
/etc/skel, but that data does not seem to be
copied to /ramdisk/home/knoppix after boot.

I did not see this covered in the Remastering Howto:
http://www.knoppix.net/docs/index.php/KnoppixRemasteringHowto

or in the various persistent home howtos.

I appreciate any suggestions. Thank you,

_ Ian

arkaine23
09-27-2003, 06:38 PM
Put it in /etc/skel. But you also have to edit the /etc/X11/Xsession.d/45xsession script. I'd guess its about 20 or 30 lines down in that script, there are some lines to copy the user's profile from /etc/skel. Juts add your data to the list of files copied.

I also employ another method. I made a /data directory. Inside I keep lots of documentation. And I just make a folder full of symlinks on the kde desktop that links to these files, the copy my .kde configs back into /etc/skel. Other files are in there too, and I just run scripts that copy them off of /KNOPPIut =data and into ~/knoppix at boot-time.