Announcement

Collapse
No announcement yet.

External monitor detection

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    External monitor detection

    After installation Intrepid I had problem with blinking external monitor (as is mentioned here http://blog.nixternal.com/2008.10.22...itor-blinking/). So I disabled XRANDR automatic detection and external monitor stopped blinking, but after boot I have to manually set resolution of screen (on laptop screen everything works fine).

    This workaround works for me:
    Code:
    $ xrandr --output LVDS --off   #disable laptop screen
    $xrandr --output VGA --auto   #automaticly sets 1680x1050, exactly as I wanted
    I can't run this commands autamatically because not every time is external monitor connected. So the solution is to write a bash script that would compare xradnr output - something like this:
    Code:
    xradr | grep VGA: connected
    a depending on that would run commands above. Or is there a better solution?

    here's my graphic card:
    Code:
    00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
        Subsystem: Dell Device [1028:01c2]                                                     
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-                    
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-                    
        Latency: 0                                                                 
        Interrupt: pin A routed to IRQ 16                                                      
        Region 0: Memory at eff00000 (32-bit, non-prefetchable) [size=512K]                                     
        Region 1: I/O ports at eff8 [size=8]                                                    
        Region 2: Memory at d0000000 (32-bit, prefetchable) [size=256M]                                       
        Region 3: Memory at efec0000 (32-bit, non-prefetchable) [size=256K]                                     
        Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-                               
            Address: 00000000 Data: 0000                                                    
        Capabilities: [d0] Power Management version 2                                                
            Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)                             
            Status: D0 PME-Enable- DSel=0 DScale=0 PME-                                             
        Kernel modules: intelfb

    #2
    Re: External monitor detection

    I wanna be sure about my external monitors refresh rates are configured right.Where i can see these settings and where i can chance these settings?
    There isn't anything in xorg.conf !

    Comment


      #3
      Re: External monitor detection

      Look in K Menu > System Settings > Display > Size & Orientation
      Using Kubuntu Linux since March 23, 2007
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #4
        Re: External monitor detection

        Look in K Menu > System Settings > Display > Size & Orientation
        There isn't any information about that vertical and horizontal refresh rates

        Comment


          #5
          Re: External monitor detection

          I wrote a shell script about automating the screen resolution problem on the external monitor but i cant find where to place it,
          It must start after x starts.I put it in rc.local but not worked
          Code:
          #!/bin/sh
          xstatus=`xrandr -q | grep VGA | grep disconnected`
          if [ "$xstatus" = "" ];then
          	exec `xrandr --output LVDS --off`
          	exec `xrandr --output VGA --auto`
          	exit 0;
          fi

          Comment

          Working...
          X