2014年12月28日 星期日

[Ubuntu] xrandr set screen panning in netbook(ASUS 1015PE)

ASUS Netbook 1015PE LCD 10" 1024x600
-----------------------------------------------------------
set to 1280x720 command:
#xrandr --output LVDS1 --mode 1024x600 --fb 1280x720 --panning 1280x720 --scale 1.25x1.2

set to 1280x768 command:
#xrandr --output LVDS1 --mode 1024x600 --fb 1280x768 --panning 1280x768 --scale 1.25x1.28

set to  1366x768 command:
#xrandr --output LVDS1 --mode 1024x600 --fb 1366x768 --panning 1366x768 --scale 1.33398x1.28

set to 1440x900 command:
#xrandr --output LVDS1 --mode 1024x600 --fb 1440x900 --panning 1440x900 --scale 1.40625x1.5

set to 1600x900 command:
#xrandr --output LVDS1 --mode 1024x600 --fb 1600x900 --panning 1600x900 --scale 1.5625x1.5

set to 1980x1080 command:
#xrandr --output LVDS1 --mode 1024x600 --fb 1980x1080 --panning 1980x1080 --scale 1.9335x1.8
==========================================================
modify   /etc/rc.local
add  screen panning command.


#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

xrandr --output LVDS1 --mode 1024x600 --fb 1280x768 --panning 1280x768 --scale 1.25x1.28

exit 0

startup autorun scripts 


But for a user script these should be launched as session scripts by gnome! Have a look under System > Preferences > Startup Applications.

add autorun /etc/rc.local

Pls Reboot.



沒有留言:

張貼留言

Ubuntu Libreoffice add Chinese language

  sudo apt-get install libreoffice sudo apt-get install libreoffice-l10n-zh-tw libreoffice-help-zh-tw   如要新增簡體中文則輸入下方指令: sudo apt-get instal...