Fn+F7 Toggle Script for Linux laptops with nvidia/ati video cards
Ruby Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
spec
.gitignore
README
Rakefile
TODO
nvidia-settings-177.78_source.tar.bz2

README

Toggle Script for my Nvidia based Laptop. 
Tested on a Lenovo T61P using Ubuntu 8.10

Author: Stanley Kamithi
URL: kenyangeekboy.blogspot.com
Licence: GPL

Requirements:
-------------

*Ruby (of cause), specifically the rake package.
*xosd
*Laptop with Nvidia graphics card

Install
-------

To install run "sudo rake install". 
Default directory is /usr/local/monitor_toggle.
To change this install dir, run "sudo rake install install_dir=<new_dir>"

Uninstall
---------

Run "sudo rake uninstall"


Version 0.6

* fix a major bug where toggling wasn't working right on my laptop. probing
for modelines before monitors where enabled. it caused X to crash.

Version 0.5

* Refactor code

Version 0.1

* Toggling occurs only when Fn+F7 is activated

* When 2 monitors are present
  * Flip from LCD screen to External Screen
  * Flip from External Screen to Clone Mode
  * Flip From Clone Mode back to LCD Screen

* When 3 monitors are present
  * Flip from LCD Screen to 2 external screens (prefers CRT-0 as primary screen)  * Flip from External screen mode to LCD screen