2012年3月18日日曜日

usbハードディスクを公開 - windows

共有設定

アクセス権を付加
ドライブのプロパティの共有・セキュリティ

UACを無向
http://www.atmarkit.co.jp/fwin2k/win2ktips/859disuac/disuac.html

2012年3月15日木曜日

nvidia - ThinkPad t420s

http://www.nvidia.co.jp/Download/indexsg.aspx?lang=jp
からドライバーを入手

sudo lightdm
でX Serverを終了

入手したドライバーをインストール

再起動後
nvidia-setting で設定

/etc/X11/xorg.conf
今はこれでうまくいっているような?
エラーも出るけど

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 295.20 (buildmeister@swio-display-x86-rhel47-01.nvidia.com) Mon Feb 6 21:30:26 PST 2012

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 295.20 (buildmeister@swio-display-x86-rhel47-01.nvidia.com) Mon Feb 6 21:30:07 PST 2012

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
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 "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LGD"
HorizSync 30.0 - 75.0
VertRefresh 60.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Mitsubishi RDT233WLM"
HorizSync 31.0 - 82.0
VertRefresh 56.0 - 76.0
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVS 4200M"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVS 4200M"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"

# Removed Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1600+0"
# Removed Option "TwinView" "1"
# Removed Option "metamodes" "DFP-0: 1600x900 +0+0, DFP-1: 1920x1080 +1600+0"
# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP-0: 1600x900 +0+0"
# Removed Option "TwinView" "1"
# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP-0: 1600x900 +0+0"
# Removed Option "metamodes" "DFP-0: 1600x900 +0+0, DFP-1: nvidia-auto-select +1600+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "DFP-0: 1600x900 +0+0, DFP-1: 1920x1080 +1600+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "DFP-1: 1920x1080 +1600+0"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP-1: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

あと
.profileに
xrandr --newmode 1600x900_50.00 97.04 1600 1680 1848 2096 900 901 904 926 -HSync +Vsync
xrandr --addmode default 1600x900_50.00

2012年3月14日水曜日

2012年3月13日火曜日

Avira

http://www.avira.com/en/download/product/avira-free-antivirus

thinkfan

http://thinkwiki.de/Thinkfan


T420s(ubuntu 11.10)
/etc/thinkfan.conf

sensor /sys/devices/platform/coretemp.0/temp1_input
sensor /sys/devices/platform/coretemp.0/temp2_input
sensor /sys/devices/platform/coretemp.0/temp3_input
sensor /sys/devices/virtual/hwmon/hwmon0/temp1_input

http://ubuntuforums.org/showthread.php?t=1872633

2012年3月11日日曜日

xrandr

---monitor.sh---

mode=$(gtf 1280 1024 $1|grep Modeline|awk '{printf "%s %s %s %s %s %s %s %s %s %s %s %s",$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13}')
name=$(echo $mode|awk '{print $1}'|sed 's/\"//g')

echo xrandr --newmode $mode
echo xrandr --addmode VGA1 $name
echo xrandr --output VGA1 --mode $name

---ここまで


monitor.sh 60 > mode.sh


mode.sh の中身を .profileに追加しておけば一応うまくいっている
(Mint 12)

2012年3月4日日曜日

ウィンドウの移動

[alt]+[space]で[M]
あとは、カーソルキーで移動