Skip to content

AspireOne xrandr settings for slide

January 10, 2012

 

  1. nano -w ~/xrandr_presentation.sh
    
    #!/bin/bash
    #
    if [ -f /tmp/xrandr_presentation ]; then
    	xrandr --output LVDS1 --mode 1024x600 --pos 0x0 --rotate normal --output VGA1 --off
    	rm /tmp/xrandr_presentation
    else
    	touch /tmp/xrandr_presentation
    	xrandr --output LVDS1 --mode 1024x600 --pos 0x72 --rotate normal --output VGA1 --mode 1024x768 --pos 0x0 --rotate normal
    fi
  2.  
    chmod +x ~/xrandr_presentation.sh, e inseriamo lo script in xbindkeysrc,

    nano -w ~/.xbindkeysrc
    
    ....
    "bash  /home/user/xrandr_presentation.sh"
    m:0x0 + c:130
    Hangul
    ....
    
  3. pkill xbindkeys && xbindkeys
Advertisement

From → aspire one, post, xorg

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s