---
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
# Screen 1 "Screen1" RightOf "Screen0"
# Screen 2 "Screen2" RightOf "Screen1"
InputDevice "TouchPad" "SendCoreEvents"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection
Section "Module"
Load "synaptics"
Load "dri2"
Load "dri"
Load "glx"
Load "dbe"
Load "record"
Load "extmod"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "InputDevice"
Identifier "TouchPad"
Driver "synaptics"
Option "Protocol" "auto-dev"
Option "Device" "/dev/input/mouse1"
Option "MatchIsTouchpad" "on"
Option "SHMConfig" "on"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FastTaps" "1"
Option "TapButton1" "1"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "0"
Option "MinSpeed" "0.7"
Option "MaxSpeed" "1"
Option "AccelFactor" "0.070"
Option "FingerLow" "35"
Option "FingerHigh" "40"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor2"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "AccelMethod" # [<str>]
#Option "DRI" # [<bool>]
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "FallbackDebug" # [<bool>]
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "Shadow" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "XvMC" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "RelaxedFencing" # [<bool>]
Identifier "Card0"
Driver "intel"
BusID "PCI:0:2:0"
Option "DRI" "true"
Option "NoDDC" "true"
Option "NoAccel" "false"
Option "EnablePageFlip" "true"
Option "RenderAccel" "true"
Option "AccelMethod" "EXA"
Option "MigrationHeuristic" "greedy"
Option "ExaNoComposite" "false"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # <str>
#Option "fbdev" # <str>
#Option "debug" # [<bool>]
Identifier "Card1"
Driver "fbdev"
BusID "PCI:0:2:0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card2"
Driver "vesa"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2"
Device "Card2"
Monitor "Monitor2"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
---
source.list:
---
deb http://ftp.pl.debian.org/debian/ squeeze main non-free contrib
deb http://ftp.pl.debian.org/debian/ wheezy main
deb-src http://ftp.pl.debian.org/debian/ squeeze main non-free contrib
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
deb http://http.debian.net/debian-backports squeeze-backports main contrib non-free
deb http://www.deb-multimedia.org squeeze main non-free
deb http://www.deb-multimedia.org squeeze-backports main
---
/etc/apt/preferences.d/wheezy: ( gcc-4.7 [aptitude install gcc/wheezy ) // potrzebne do tmux-mem-cpu-load
---
Package: *
Pin: release n=squeeze
Pin-Priority: 900
Package: *
Pin: release n=wheezy
Pin-Priority: 200
---
/etc/default/grub: (replace lines)
---
GRUB_CMDLINE_LINUX_DEFAULT="elevator=noop quiet nomodeset vga=8"
GRUB_GFXMODE=1024x768
---
/etc/modprobe.d/alsa-base.conf: (add)
---
options snd-hda-intel model=dell-m22 enable=1 index=0
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
---
/etc/modprobe.d/i915-kms.conf: (new)
---
options i915 modeset=1
---
mSATA Intel 120GB (trim) + zif-mSATA adapter + kernel 3.2.0-0.bpo.4-amd64 (backports)
Mniejsze użycie + przyśpieszenie = RAM
fstab:
xfs with options: noatime,discard
# tmpfs
tmpfs /tmp tmpfs size=300M,defaults,noatime 0 0
tmpfs /var/log tmpfs size=10M,defaults,noatime 0 0
tmpfs /var/tmp tmpfs size=20M,defaults,noatime 0 0
/etc/X11/Xsession: (replace)
---
ERRFILE=/tmp/$USER-xsession-errors
---
~/.fluxbox/startup: (add)
---
if [ ! -d /tmp/${USER}-thumbnails ]; then mkdir -m 0700 /tmp/${USER}-thumbnails; fi
if [ ! -d /tmp/${USER}-cache ]; then mkdir -m 0700 /tmp/${USER}-cache; fi
---
po dodaniu, przed ponownym uruchomieniem usunąć katalogi:
rm -rf ~/.thumbnails ~/.cache
utworzyć nowe:
mkdir -m 0700 /tmp/${USER}-thumbnails /tmp/${USER}-cache
stworzyć symlinki:
ln -s /tmp/${USER}-thumbnails ~/.thumbnails
ln -s /tmp/${USER}-cache ~/.cache
Inne dodatki w ~/.fluxbox/startup:
# dla działającego poprawnie touchpada
synclient TapButton1=1 LBCornerButton=2 RBCornerButton=3 &
xrdb -load ~/.Xdefaults &
/usr/bin/perl -e 'sleep 5 && exec ("rm -rf /home/\${USER}/.tilda/locks/* && /usr/bin/tilda &");' &
/usr/bin/perl -e 'sleep 5 && exec ("/usr/bin/conky &");' &
xscreensaver -no-splash -log /tmp/${USER}-xscreensaver.log &
/usr/bin/perl -e 'sleep 10 && exec ("/usr/bin/root-tail -g 1000x200+30+590 -font \"-*-clean-*-*-*-*-12-*-*-*-*-*-*-*\" /var/log/messages,#585858 /var/log/auth.log,#bd0d0d /tmp/\${USER}-xsession-errors,#ffffff &");' &