Lisatud 6367 baiti,
4. november 2011, kell 11:16 Selline laptop
Kasutusel Linux Mint Lucid
Kõik töötab peaaegu out of box.
Seadistamist vajavad vaid touchscreen, ekraani keeramine.
Õpetus mille järgi touchscreen koos keeramisega tööle saada:
http://ubuntuforums.org/showthread.php?t=1780154
=Rotatemise nupp:=
.Xmodmap fail
keycode 134 = F21
keycode 10 = 1 exclam Prior Prior onesuperior exclamdown
keycode 11 = 2 quotedbl Next Next twosuperior oneeighth
keycode 12 = 3 section Prior Prior threesuperior sterling
keycode 13 = 4 dollar Next Next onequarter currency
rotate script:
#!/bin/bash
#### rotate.sh - A script for tablet PCs to rotate the display.
## This software is licensed under the CC-GNU GPL.
## http://creativecommons.org/licenses/GPL/2.0/
## http://wiki.archlinux.org/index.php/Tablet_PC
## REQUIRES: linuxwacom (http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Main_Page)
#### Function(s)
function set_normal {
xrandr -o normal
xsetwacom --set 12 Rotate NONE
orientation="normal"
}
function set_left {
xrandr -o left
xsetwacom --set 12 Rotate CCW
orientation="left"
}
function set_right {
xrandr -o right
xsetwacom --set 12 Rotate CW
orientation="right"
}
function set_inverted {
xrandr -o inverted
xsetwacom --set 12 Rotate half
orientation="inverted"
}
#### Variable(s)
orientation="$(xrandr --query --verbose | grep '(normal left inverted right) 0mm x 0mm' | awk '{print $5}')"
#### Main
if [ "$orientation" = "normal" ]; then
set_right
elif [ "$orientation" = "right" ]; then
set_inverted
elif [ "$orientation" = "inverted" ]; then
set_left
elif [ "$orientation" = "left" ]; then
set_normal
fi
#### EOF
xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 285.05.09 (buildmeister@swio-display-x86-rhel47-02.nvidia.com) Fri Sep 23 19:18:19 PDT 2011
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Inputdevice "stylus"
Inputdevice "eraser"
Inputdevice "cursor"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/ttyS0"
Option "Type" "stylus"
Option "ForceDevice" "Serial"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/ttyS0"
Option "Type" "eraser"
Option "ForceDevice" "Serial"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/ttyS0"
Option "Type" "cursor"
Option "ForceDevice" "Serial"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
Option "NoLogo" "1"
Option "RandRRotation" "true"
# Option "Coolbits" "1"
# RegistryDwords "PowerMizerEnable=0x1; PerfLevelSrc=0x3333"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Moni# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 285.05.09 (buildmeister@swio-display-x86-rhel47-02.nvidia.com) Fri Sep 23 19:18:19 PDT 2011
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Inputdevice "stylus"
Inputdevice "eraser"
Inputdevice "cursor"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/ttyS0"
Option "Type" "stylus"
Option "ForceDevice" "Serial"
Option "Button1" "1"
Option "Button2" "3"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/ttyS0"
Option "Type" "eraser"
Option "ForceDevice" "Serial"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/ttyS0"
Option "Type" "cursor"
Option "ForceDevice" "Serial"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
Option "NoLogo" "1"
Option "RandRRotation" "true"
# Option "Coolbits" "1"
# RegistryDwords "PowerMizerEnable=0x1; PerfLevelSrc=0x3333"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection