顯示具有 X 標籤的文章。 顯示所有文章
顯示具有 X 標籤的文章。 顯示所有文章

2014年10月18日 星期六

X lock screen

xscreensaver :
  • run in normal user



install
# apt-get install xscreensaver
run xscreensaver
$ vi .xinitrc
$ xscreensaver -nosplash &
lock screen
$ xscreensaver-command -lock
 
 
slock : 
  • minimal screen locker
  • type your password directly 
 
# apt-get install suckless-tools
$ slock




References :
lock screen in wmii (Page 1) / Applications & Desktop Environments / Arch Linux Forums
DWM auto lock after inactivity (Page 1) / Applications & Desktop Environments / Arch Linux Forums

2014年3月2日 星期日

nvidia brightness control on ubuntu 調整螢幕亮度

# vi /etc/X11/xorg.conf 
Section "Device"
        Identifier  "Card2"
        Driver      "nvidia"
        BusID       "PCI:1:0:0"
        Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection

if no /etc/X11/xorg.conf 
# X :1 -configure
# mv xorg.conf.new /etc/X11


boot with argument acpi_backlight=vendor
 

亮度調整
$ xbacklight -dec 20
$ xbacklight -inc 20




References :
NVIDIA - ArchWiki

2013年6月9日 星期日

Linux screen brightness / backlight

$ xrandr --output LVDS1 --brightness 0.9
 
 
 
 
 
bmark -title="Kernel/Debugging/Backlight - Ubuntu Wiki" https://wiki.ubuntu.com/Kernel/Debugging/Backlight 

bmark -title="Unable to change brightness in Lenovo B570 laptop" http://ubuntuforums.org/showthread.php?t=1827810

bmark -title="Backlight - ArchWiki" https://wiki.archlinux.org/index.php/Backlight

bmark -title="How to change brightness on linux desktop through the command line? - Super User" http://superuser.com/questions/256084/how-to-change-brightness-on-linux-desktop-through-the-command-line

vbmark -title="opensuse - How to change the Monitor brightness on Linux? - Stack Overflow" http://stackoverflow.com/questions/6625836/how-to-change-the-monitor-brightness-on-linux

xbacklight No outputs have backlight property

Not xbacklight's fault.

xserver-xorg-video-intel used to offer a few methods for changing the
backlight, defaulting to platform drivers providing
/sys/class/backlight/*. With KMS the i915 driver should probably
provide a fallback if there's no platform driver for backlight.








Reference :

Answer : Bug#569892: xbacklight: after having worked before, now just prints "No outputs have backlight property"

2012年5月24日 星期四

2012年4月17日 星期二

Debian sid 沒有 xorg.con

(1) 生成 xorg.org 後修改
# Xorg -configure
# vi /root/xorg.conf.new
# mv /root/xorg.conf.new /etc/X11/xorg.conf
# startx 

(2) 針對單獨設備寫設定檔
# cd /etc/xorg.conf.d/


Reference :
debian sid 现在没有xorg.conf了

/etc/X11/xorg.conf 解析度設定

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Virtual         1440 900
        EndSubSection
EndSection  





Reference :
修改/etc/X11/xorg.conf 调整分辨率为1024 768 - chinacloud - 博客园
Ubuntu 9.10 雙螢幕設定 xorg.conf - 看板 Linux - 批踢踢實業坊