Results 1 to 3 of 3

Thread: HOWTO - Toggle Monitor Off/On at X startup

  1. #1
    Raw Wave shotgunefx's Avatar
    Join Date
    Apr 2005
    Location
    Boston, MA
    Posts
    1,800

    HOWTO - Toggle Monitor Off/On at X startup

    I have a problem with my Lilliput. When X starts up, my monitor goes nuts. Toggling the power button fixes it.

    Being lazy, I came up with the following fix.

    Make sure power management is set up for your monitor in xorg.conf

    Code:
    Section "Monitor"
      Option "DPMS"
    Make a script called togglemonitor (probably should put it in /usr/local/bin)

    Code:
    #!/bin/sh
    /usr/X11R6/bin/xset dpms force off
    /usr/X11R6/bin/xset dpms force on
    Then in your Xsetup file (under something like /etc/kde3/kdm/Xsetup for KDM, I believe for xdm and gdm there is an equivalent)

    Add the following line
    Code:
    /usr/local/bin/togglemonitor
    Anyone else have this problem btw?

  2. #2
    Variable Bitrate intuitionsys's Avatar
    Join Date
    Jul 2005
    Location
    Northern Virginia
    Posts
    293
    One of the Dell 2001FP monitors on my desktop at work goes nuts occasionally when (re)starting X with green vertical lines until I turn it off and on again. A minor annoyance on a desktop but it would be an extreme annoyance in the car. If I run into that problem I'll be sure to try your fix (although I'm currently eyeing a Xenarc screen for the install in my van).
    Silverwolf 2 is dead.
    Silverwolf 3...?

  3. #3
    Raw Wave shotgunefx's Avatar
    Join Date
    Apr 2005
    Location
    Boston, MA
    Posts
    1,800
    Quote Originally Posted by intuitionsys
    One of the Dell 2001FP monitors on my desktop at work goes nuts occasionally when (re)starting X with green vertical lines until I turn it off and on again. A minor annoyance on a desktop but it would be an extreme annoyance in the car. If I run into that problem I'll be sure to try your fix (although I'm currently eyeing a Xenarc screen for the install in my van).
    Yes, it's very annoying.

    It seems like with the new install, everything is (at least configuration wise)

    I knocked this out in a couple minutes, which wrongly gave me the impression that everything would go smoothly. Seems the more mundane the task, the more problematic it's being. Enough venting..

Similar Threads

  1. StreetDeck Functions
    By god_of_cpu in forum DigitalMods (Scripts / API)
    Replies: 22
    Last Post: 01-15-2008, 10:44 PM
  2. Survey: Startup times and methods
    By gnomad in forum General MP3Car Discussion
    Replies: 56
    Last Post: 01-02-2007, 11:55 AM
  3. XM as startup command
    By skippy76 in forum RR Bug Tracker
    Replies: 1
    Last Post: 10-07-2005, 06:01 PM
  4. Startup is too fast!!!
    By EBFoxbat in forum General MP3Car Discussion
    Replies: 17
    Last Post: 02-05-2005, 10:20 PM
  5. I want my pc to come on with a toggle switch
    By muldrick in forum Power Supplies
    Replies: 13
    Last Post: 07-04-2004, 10:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •