Utility to turn off laptop display

23
2014-04
  • Stan

    laptop: Alienware M17x

    I am using win+P to switch to projector only to turn off display (it's a tricky way, since there's no projector connected). And by press and key to turn on display.

    Since the fn+F1 (suspend mode) seems not only turn off display, but also turn off hard drive and something else. And I can't find a way to configure it to only turn off display.

    I was wondering if anyone has a better way to turn on/off display? By using a utility? Or configure the suspend mode (how, though). Please advise, thanks.

  • Answers
  • Greg

    A quick google search pointed me towards this small (~85kB) utility. It works fine in Win7 for me, but it requires .net framework.

  • Mehrdad

    Here's a 1-KiB program that does that... no .NET Framework or anything else needed. :)

    The source code is literally 3 lines:

    #include <windows.h>
    int main(void)
    { return SendMessage(GetShellWindow(), WM_SYSCOMMAND, SC_MONITORPOWER, 2) != 0;}
    

    Base64 encoding of executable:

    TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAAABkNvfRfG1jEXxtYxF8bWMhv7ojEbxtYxF8bSMR/G1jIb+1oxE8bWMhv7vjETxtYxSaWNoRfG1jAAAAAAAAAAAAAAAAAAAAABQRQAATAEBAB0o1E4AAAAAAAAAAOAADwELAQcKAAIAAAAAAAAAAAAADBAAAAAQAAAAIAAAAABAAAAQAAAAAgAABAAAAAAAAAAEAAAAAAAAAAAgAAAAAgAAAAAAAAIAAAQAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAACwQAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC50ZXh0AAAAjgAAAAAQAAAAAgAAAAIAAAAAAAAAAAAAAAAAACAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABy
    EAAAYBAAAAAAAABqAmhw8QAAaBIBAAD/FQQQQABQ/xUAEEAA99gbwPfYw1QQAAAAAAAAAAAAAIIQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAByEAAAYBAAAAAAAABaAUdldFNoZWxsV2luZG93AABCAlNlbmRNZXNzYWdlVwAAVVNFUjMyLmRsbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
    
  • Diogo

    Display Power Off Utility:

    Display power off utility. Allows to power off desktop/notebook display and optionally lock workstation. Useful for keeping display's USB hub active while display is in power save mode.

    • Turns off monitor to save power or launches screensaver.
    • Optionally locks workstation.
    • Small and does not require installation or any additional frameworks.
    • x64 build is available.
    • Highly configurable. Details: doff /?

    To simplify usage create desktop shortcut and assign hotkey.


  • Related Question

    How to use two external monitors on Alienware m17x along with laptop monitor (total 3 monitors)
  • Steph

    I'd like to use the native 1920x1200 laptop monitor that comes with the Alienware m17x along with 2 additional external monitors, one through the displayport and another through the hdmi port. Is there any way to do this? And if so how?

    I've tried to update the nvidia drivers, I've installed ultramon, etc., but I can't seem to make it happen. I've seen posts that suggest it's possible, but I can't seem to figure out how.


  • Related Answers
  • Xetius

    I don't think you can power the HDMI and the DVI separately.

    You might want to try the Matrox DualHead2Go. They also do a TripleHead2Go as well

  • Oskar Duveborn

    Sounds like it would depend on the configuration - whether it sports multiple GPUs or not - the 260M + 9400M or 2x260M/2x280M combos might be able to do that, depending on how their outputs are routed. The main reason for multiple GPUs in that thing would be for SLI rather than more monitors. Decked with a single GTX 260M I'd doubt it'd be possible as I've yet to see a single nvidia gpu do more than two (different) outputs.

  • Troy McKinnon

    You need to have three graphic cards in M17X (one build in on mainboard and two external cards). I have 2X GTX 280M and discrete 'little' nvidia.

    You can enable two screens by disabling SLI. Then each card can handle one screen separately. When you do it in display properties enable secondary screen. To switch between laptop's screen and external ones use FN+F6.

    If you have only one graphic card I think this is impossible. My desired setup would be to have three screens working at the same time: laptop +2x external. This unfortunately looks impossible even thou there are three graphic cards. The problem is that drivers are using 2xExternal ards or 1xbuildin so in the best case you can have to screens.

    good luck.

  • evan.bovie

    You can only connect 1 external monitor. This is because the card can only use 2 outputs at a time, and to my knowledge, there is no way to disable the laptop's screen.

    You can do something like play games on the notebook screen and do other things on the other screen but you will have to ALT + TAB out of your game, or hit WIN or something since the mouse can only work on 1 monitor at a time. If you move the mouse to the external monitor with a full screen window open on the laptop such as a game or movie, and click something on the external monitor it will minimize whatever you have open on the laptop monitor. Kinda sucks but that is the way it is.

    I am currently using the laptop's monitor and have my external monitor connected to my desktop. There is a way to connect my laptop the the external monitor as well but I don't see the point since my mouse and keyboard is connected to my desktop. At school I will be using my external monitor on the laptop though since I'm keeping my desktop at home.

  • evan.bovie

    ZoneOS Zonescreen or MaxiVista allows you to "extend" your screen by using a secondary networked PC.

  • Steph

    It appears that it's not possible to connect 2 external monitors along with the laptop monitor with two nvdia cards (260/280). Hopefully they will improve the drivers, but as of right now it's currently not possible.

    An alternative is to use a USB-to-DVI cable. In essence this is an external video card connected by USB to an external monitor.

  • Steph

    You cant do this... However you can use Dual Externals using either the display port/ HDMI with the VGA.. you cannot go digital and digital. only one digital and one VGA. And when you do this Your LAPTOP monitor is disabled right away. Just go to your video options and configure extend.

    Hope this info helps others who are wondering if you can dual monitors as external. Dual is max! you cannot use three outputs..

    Dave

  • Stuart

    I connected three external monitors to my M17x using the DVI on the back and two iogear USB to DVI devices. Worked fairly well but would occasionally lock-up