#desc Top ; -*- mode: Muse; coding: euc-japan-unix -*-
#title X の設定
******
$Lastupdate: 2008/04/05 23:22:53 $
#laptop
* laptop
CF-R4 の設定です. カードは intel の統合型 chipset で, i965 です.
** X の設定
抜粋. dpkg-reconfigure -plow xserver-xorg でだいたいは設定できます.
Section "Files"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "jp106"
Option "XkbLayout" "jp"
Option "XkbOptions" "ctrl:nocaps"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "Device"
Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
Driver "intel"
#Driver "i810"
Option "UseFBDev" "false"
VideoRam 32768
BusID "PCI:0:2:0"
Option "AddARGBGLXVisuals" "On"
Option "XAANoOffscreenPixmaps" "True"
#Option "AccelMethod" "EXA"
Option "AccelMethod" "XAA"
Option "DRI" "true"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-33
VertRefresh 43-72
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Modes "1024x768"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
Option "AIGLX" "True"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "enable"
EndSection
** XFce4 + Compiz-fusion
最近は XFce4 + compiz-fusion です.
*** install
apt-line は以下.
# compiz-fusion
deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./
GPG key の追加は
$ wget http://download.tuxfamily.org/shames/A42A6CF5.gpg -O- | apt-key add -
apt-key については cc-env::ConfigApt#apt-key へ.
あとは
$ sudo aptitude install compiz-fusion-all
とかで導入.
*** 設定
起動は .xsession あたりに startxfce4 と書いたり,
update-alternatives で x-session-manager を xfce4-session にしたりしておく.
xfce4-session の起動設定は
/usr/share/desktop-base/profiles/xdg-config/xfce4-session/xfce4-session.rc
で行なうので, その中の xfwm4 を起動している所を fusion-icon を起動するようにしておく.
...
# This the default session launched by xfce4-session if the
# user hasn't saved any session yet or creates a new session.
[Failsafe Session]
Count=4
Client0_Command=xfwm4
Client0_PerScreen=False
Client1_Command=xfce4-panel
Client1_PerScreen=False
Client2_Command=Thunar,--daemon
Client2_PerScreen=False
Client3_Command=xfdesktop
Client3_PerScreen=False
とか?
compiz-fusion 自体の設定は ccsm で行なう.