Customizing environment using 4.0.2CD


From Knoppix Documentation Wiki
Revision as of 17:56, 2 November 2005 by Rwcitek (Talk | contribs)

Jump to: navigation, search

These are the steps I use to customize my Knoppix 4.0.2 environment.

Persistent Disk Image (PDI)

A persistent disk image allows me to customize Knoppix without having to remaster the CD. With a generic Knoppix CD and a PDI, I can take my environment to just about any computer.

Create a persistent disk image either from the GUI or the command line

  • From within KDE
K > KNOPPIX > Configure > Create persistent KNOPPIX image
  • command line
knoppix-mkimage

I prefer an image size of 500 MB, which is just large enough for a significant amount of software updates yet small enough to fit on a USB thumb drive. Once you create the image, reboot and specify the image at the boot prompt. Assuming the knoppix.img is at /mnt/sda1/, then:

boot: knoppix home=/mnt/sda1/knoppix.img

Install Microsoft's True Type fonts

Installing Microsoft's True Type fonts using apt-get at the command line

apt-get install msttcorefonts

Change the fonts in KDE:

  • open Control Center
  • open "Appearance & Themes > Fonts"
  • click "Adjust All Fonts"
  • check "Font"
  • highlight "Bitstream Vera Sans"
  • click "OK"
  • click "Apply"
  • select "File > Quit"

Customizing the tool bar

Mozilla Firefox

Firefox uses the globe icon instead of the icon with the firefox. I like to change the icon to the Firefox icon.

  • right click the Firefox icon in the toolbar
  • click on Properties
  • click on the icon
  • in the search box, type "fire"
  • double-click on the FireFox icon
  • click OK

Customizing the K menu

Run KSysV as root

  • click on "K > System"
  • right-click on "KSysV (SysV-Init Editor)"
  • click on "Edit Item"
  • in the Command text field, add sudo to the front of the command
sudo ksysv -caption "%c" %i %m
  • uncheck "Run as different user"
  • click on "File > Save"
  • click on "File > Quit"

Setting up and starting services

setting up the apache webserver

sudo su -
update-rc.d apache start 40 2 3 4 5 . stop 60 0 1 6 .
/etc/init.d/apache restart

setting up the SSH server

sudo su -
passwd knoppix
update-rc.d ssh start 35 2 3 4 5 . stop 65 0 1 6 .
/etc/init.d/ssh stop
/etc/init.d/ssh start