Today, after my exams, I went to the project room my school has, plugged my laptop on the 24" screen and typed the usual :
$ xrandr --output VGA-1 --auto
$ xrandr --output LVDS-1 --off
This is way better than using NVIDIA's utilities (it is portable) but yet, it is so boring to write the same thing on and on...
As I had a couple of hours to spare, I have decided to use the laptop hotkeys to switch between the screens (LVDS --> VGA and VGA--> LVDS).
To fulfill this goal, I have used the daemon acpid and made a bash script to detect implement the logic of the switch.






About
Blogroll
Latest articles
Package updates
Support Us
MuPuF's tech blog






