Brent Saner on 15 Nov 2007 19:04:13 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Knoppix / startup / /etc/skel question

  • From: "Brent Saner" <brent.saner@gmail.com>
  • To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
  • Subject: Re: [PLUG] Knoppix / startup / /etc/skel question
  • Date: Thu, 15 Nov 2007 14:04:03 -0500
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=ndrDC8QIciUCB2tEdH0lvWWxsKShGOtjF/M806sbB2c=; b=XAN58+eyYai3fTuUC2ys9z3j3rMmpR0NKwDMqUDKP/Obh5ZVuL+tywnVNZWz+CT4bgmjSTuMc9mvpxQ9JJQgKUxQtmMaDRnmlLkjHIJwLgcI3d9LqB4r/Li6Bf+wgu7/jg9x35q/zOLFqiBGf1D4WdvyepRGt8y2FkvVInkC3ro=
  • Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
  • Sender: plug-bounces@lists.phillylinux.org

well, two GREAT books that provide remastering advice are the O'Reilly "Knoppix Hacks" and the ExtremeTech "Hacking Knoppix."

at the risk of unlawful duplication, let me quote the section of the o'reilly book that talks about this particular stage:

__________________________________________________________________
_Change Desktop Environment Settings_

If you dig further into the 45xsession script, you might notice a section full of rsync commands similar to the following:

#Copy profiles if not already present
rsync -Ha --ignore-existing /etc/skel/{.acrorc,.Xdefaults,.gimp*,.gconf*,.bashrc,.nessus*,.links,.local,.lynx*,.qt,.xine,tmp} $HOME/ 2>/dev/null
[ "$USER" = "knoppix" ] && rsync -Ha --ignore-existing /usr/share/knoppix/profile/{.acrorc,.Xdefaults,.bashrc,.nessus*,.links,.lynx*,.qt,.xine,tmp} $HOME/ 2>/dev/null
[ "$USER" = "knoppix" -a -f /usr/share/knoppix/profile/.fonts.cache-1 $HOME/ 2>/dev/null

These series of commands copy default settings from the /etc/skel directory to /home/knoppix if they don't already exist. To change the appearance of KDE, click K Menu -> Settings ->Control Center and make your changes in the Appearance & Themes section. Once the wallpaper, themes, color scheme, and the desktop itself are arranged to your liking, open a terminal and synchronize your changes with the source/KNOPPIX filesystem.

knoppix@ttyp0[knoppix]$ sudo rsync -a /home/knoppix/ /mnt/hda1/source/KNOPPIX/etc/skel/

___________________________________________________________________

it goes on to talk about how if you are using a different default desktop environment than KDE, then the 45xsession script in knoppix-vanilla doesn't work and lists some changes to make, but as you mentioned you're using KDE.

(yes, i typed that whole thing out by hand from the book. i accept guinness double-stout as donations for my effort.. ;) haha)

so i'd try using explicitly rsync. i don't know why it'd work, per se, but it can't hurt to try.

also, are you sure you're not out of space? in other words, are you testing this from a burned envorinment, or are you mounting the ISO and testing from there? because i believe if you just mount the iso, it won't run the script that checks /etc/skel.... try setting up a VM and booting from your ISO. (my personal preference for this is QEMU but we have a lot of VM fanatics here that can help you with picking one to your preferences and needs)



On Nov 15, 2007 1:37 PM, Jon Nelson <lists@linuxnotes.net> wrote:
So you copy everything over to /etc/skel?

--
Brent Saner
215.264.0112(cell)
215.362.7696(residence)

http://www.thenotebookarmy.org

Bill Gates is to hacking as Sid Vicious was to the Sex Pistols: no talent, everyone hates him, and he's just in it for the fame and money.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug