View Single Post
Old 10-23-09, 01:07 AM   #6
davidonlaptop
Registered User
 
Join Date: Oct 2009
Posts: 10
Default Re: Laptop Docking : script to Change number of displays

Thanks I got disper working perfectly!

But can't figure out how to catch events for monitor hooking and unplugging.

I've follow this guide and tried :

Code:
sudo tail -f -n 0 /var/log/kern.log
sudo tail -f -n 0 /var/log/dmesg
sudo tail -f -n 0 /var/log/messages
sudo tail -f -n 0 /var/log/udev
I get absolutely no output for each of these commands, am I doing something wrong?

Here's the output of disper:
Code:
david@bangkok:~$ disper --list
display DFP-0: Seiko
 resolutions: 320x240, 400x300, 512x384, 576x432, 680x384, 640x480, 720x450, 640x512, 700x525, 800x512, 840x525, 800x600, 960x540, 1024x768, 1280x800
display CRT-0: LG L204WT
 resolutions: 320x240, 400x300, 512x384, 680x384, 640x480, 720x450, 700x525, 840x525, 800x600, 960x540, 832x624, 960x600, 1024x768, 1152x864, 1360x768, 1280x960, 1440x900, 1280x1024, 1400x1050, 1920x1080, 1680x1050
Any idea?
davidonlaptop is offline   Reply With Quote