echo 1 > /proc/sys/vm/drop_caches
cl search engine
tisdag, juni 30, 2009
onsdag, juni 24, 2009
reconfigure laptop screen from suspend
Put the following into /etc/pm/sleep.d to make reconfigure the screens
after suspend or hibernation. Nice to have if you have suspended with a
different screen configuration.#!/bin/bash
. /usr/lib/pm-utils/functions
case "$1" in
hibernate|suspend)
;;
thaw|resume)
export DISPLAY=:0
export XAUTHORITY=/home/username/.Xauthority
xrandr --auto
;;
*)
;;
esac
exit
suspend/hibernate with nvidia on dell latitude 820
Grabbed the text from internetarchive, you never know...
Suspend to RAM on the Dell D820, proprietary NVIDIA drivers under Ubuntu Gutsy
It works for Debian Sid too (tested). Anyone tried this on other Dell Latitude models? Please report your results by E-mail ;)
There should be everything here to get it work. That's what I did on a fresh Ubuntu Gutsy, after installing the proprietary driver.
/etc/X11/xorg.conf extracts
Section "Device"
Identifier "nVidia Corporation G72M [GeForce Go 7400]"
Driver "nvidia"
Busid "PCI:1:0:0"
Option "UseEDIDDpi" "False"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "True"
Option "NvAGP" "1"
EndSection
/etc/defaults/acpi-support changes
SAVE_VBE_STATE=false #ex-true
POST_VIDEO=false #ex-true
USE_DPMS=false #ex-true
LOCK_SCREEN=false #ex-true
Prenumerera på:
Inlägg (Atom)