Knoppix

Work around Knoppix (Debian-Knoppix GNU/Linux Live-cd)

Knoppix my best friend

I discovered Knoppix few years ago, near end of 2002.

I am moderator on Knoppix french spoken user forum and co-foundator member of Linucie.net which manage website of knoppix-fr.org.

I am using Knoppix every day at work, at home ...

Knoppix 5.3 & KDE4

knoppix@Knoppix:~$ grep kde4 /etc/sysconfig/*
/etc/sysconfig/desktop:DESKTOP="kde4"
/etc/sysconfig/knoppix:DESKTOP="kde4"
/etc/sysconfig/xsession-commands:kde4_restart

custom xorg.conf in live knx 6

créer un fichier: /root/xorg.conf avec vos modifications

créer un fichier: /etc/sysconfig/xserver le rendre executable

son contenu:

#!/bin/bash

echo "Suppression du fichier original : "
rm -f /etc/X11/xorg.conf

echo "copie du fichier perso : "
cp /root/xorg.conf /etc/X11/

xorg.conf tablet + usb keyboard + usb mouse

many thanks to http://www.alfonsomartone.itb.it/zswdjp.html(approve sites)

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi:unscaled"
        FontPath     "/usr/share/fonts/X11/100dpi:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/share/fonts/X11/Speedo"
        FontPath     "/usr/share/fonts/X11/PEX"
# Additional fonts: Locale, Gimp, TTF...
        FontPath     "/usr/share/fonts/X11/cyrillic"
#       FontPath     "/usr/share/fonts/X11/latin2/75dpi"
#       FontPath     "/usr/share/fonts/X11/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath     "/usr/share/fonts/truetype"
        FontPath     "/usr/share/fonts/latex-ttf-fonts"
EndSection

Section "Module"
  Load "dbe"
  Load "ddc"
  Load "bitmap"
  Load "type1"
  Load "int10"
  Load "type1"
  Load "freetype"
  Load "extmod"
  Load "glx"
  Load "dri"
EndSection


Section "InputDevice"  # internal (unaccessible) keyboard
  Driver       "kbd"   # serves as base when plugging USB keyboards

  Identifier   "fakekeyboard"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "fr"
  Option       "XkbModel" "pc102"
  Option       "XkbRules" "xfree86"
  Option       "XkbVariant" "basic"
EndSection

Section "InputDevice"  # the USB keyboard here is "event3"
  Driver       "kbd"
  Identifier   "usbkeyboard"
  Option       "Device" "/dev/input/event3"
  Option       "Name" "X-Technologies PS2-to-USB keyboar"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "fr"
  Option       "XkbModel" "pc102"
  Option       "XkbRules" "xfree86"
  Option       "XkbVariant" "basic"
EndSection


Section "InputDevice"  # the three Wacom serial devices for the screen...
  Driver      "wacom"
  Identifier  "stylus"
  Option      "Device"      "/dev/ttyS0"
  Option      "Type"        "stylus"
  Option      "ForceDevice" "ISDV4"  # Stylistic ST5xxx ONLY
EndSection

Section "InputDevice"
  Driver      "wacom"
  Identifier  "eraser"
  Option      "Device"      "/dev/ttyS0"
  Option      "Type"        "eraser"
  Option      "ForceDevice" "ISDV4"  # Stylistic ST5xxx ONLY
EndSection

Section "InputDevice"
  Driver      "wacom"
  Identifier  "cursor"
  Option      "Device"      "/dev/ttyS0"
  Option      "Type"        "cursor"
  Option      "ForceDevice" "ISDV4"  # Stylistic ST5xxx ONLY
EndSection


Section "Monitor"
  DisplaySize  305 230
  HorizSync    29-61
  Identifier   "monitor"
  ModelName    "Wacom Penabled 1024x768"
  Option       "DPMS"
  VendorName   "LCD Touchscreen"
  VertRefresh  50-76
# Option       "Rotate" "normal"  # Rotate: ignored if "normal"...
# Option       "Rotate" "RIGht"   # Rotate: ...not used if "right" or other
EndSection


Section "Screen"
  DefaultDepth 24  # I855 driver only supports 8/16/24 depths
                   # 8 and 16-bit depth do not support screen rotate (RandR)

  SubSection "Display"
    Depth      8
    Modes      "1024x768"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1024x768"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1024x768"
  EndSubSection
  Device       "intel855gm"
  Identifier   "touchscreen"
  Monitor      "monitor"
EndSection


Section "Device"
  BoardName    "855 GM"
  BusID        "0:2:0"
  Driver       "intel"
  Identifier   "intel855gm"
  Option       "XVideo"
#  Option       "SWcursor"
#  Option       "RandRRotation" "True"
#  Option       "Rotate" "On"
  Option "XvMCSurfaces" "7"      # current driver version does not use it
  Option "LinearAlloc" "16384"   # current driver version does not use it
  Option       "DRI"
  Screen       0
  VendorName   "Intel"
EndSection


Section "ServerLayout"
  Identifier   "normallayout"
  InputDevice  "fakekeyboard" "CoreKeyboard"
#  InputDevice  "usbmouse"
  InputDevice  "usbkeyboard"
  InputDevice  "Stylus" "SendCoreEvents" # don't use COREPOINTER (xournal bug)
  InputDevice  "Eraser" "SendCoreEvents"
  InputDevice  "Cursor" "SendCoreEvents"
  Option       "Clone" "on"
  Option       "AllowMouseOpenFail" "on"
  Option       "Xinerama" "off"
  Screen       "touchscreen"
EndSection


Section "DRI"
  Group      "video"
  Mode       0660
EndSection


Section "Extensions"
#  Option "RandR" "Enable" # ignored extension on i855
EndSection
 

Knoppix DVD to CD : need to get a list of package to remove

The idea

  • a dedicated server with near 10Gb of storage and Debian etch
  • an ISO image of Knoppix DVD KNOPPIX_V5.3.1DVD-2008-03-26-EN.iso

I would like to chroot in Knoppix in order to test removing package and build a package list of what to remove.

Ideally We could have a web interface that allow to select different packages to remove (with simulate option :p), and then build this list.

The idea is to be able to build a list of package to keep/remove on DVD version.

I thought about DVD image mounted and chroot in it from a server available from anywhere but available network,

php-apt-parser could be a base http://alioth.debian.org/projects/php-apt-parser/

Problems

  • Mount 2 cloop file to have a working root and be able to chroot into
  • apt-get -s remove don't show space freed, so we could not see disk space gain.