Sign in with
Sign up | Sign in
Your question

A way to put one monitor to sleep on a dual monitor system

Tags:
  • Graphics Cards
  • Dual Monitors
  • LCD Monitor
  • Monitors
  • Graphics
Last response: in Graphics & Displays
Share
August 24, 2012 6:34:02 PM

I've been looking for a way to put my Primary Monitor <21" Acer LCD Monitor> to sleep while watching movies or what have you on my secondary monitor <27" Samsung LED Smart TV>. I have scoured around and can find nothing that will allow me to put my main to sleep without actually hitting the power button.

Any help would be greatly appreciated.

More about : put monitor sleep dual monitor system

a c 122 U Graphics card
a b C Monitor
August 24, 2012 6:39:29 PM

turn it off. Software wise I'm not sure
m
0
l
a b U Graphics card
a b C Monitor
August 24, 2012 6:42:38 PM

Pinhedd said:
turn it off. Software wise I'm not sure

+1,000,000

its way easier to turn it off than look for a software solution...
m
0
l
Related resources
August 24, 2012 6:44:08 PM

I usually just disable the monitor I'm not currently using from Windows. I wish there was a keyboard shortcut or something
m
0
l
August 24, 2012 8:16:17 PM

What is so difficult about turning it off?
m
0
l
September 6, 2012 5:31:47 PM

j2j663 said:
What is so difficult about turning it off?



Monitors don't have remotes
m
0
l
December 18, 2012 12:26:14 PM

This post is a bit old but I ran into a similar issue. I can turn on my PC/media player/lights remotely but my 27" computer display throws a distracting glow across the room. In order to maximize my laziness I created a simple Java app to blacken the display
(which I can launch remotely using other tools).

Below is the java code that I have tested on Windows 7.
It takes a single argument 0 to max display-1.
For example: java -jar Dimmer.jar 1 will blacken my second monitor, no arguments will assume display 0

  1. import java.awt.BorderLayout;
  2. import java.awt.Color;
  3. import java.awt.GraphicsDevice;
  4. import java.awt.GraphicsEnvironment;
  5. import java.awt.Rectangle;
  6. import java.awt.event.ActionEvent;
  7. import java.awt.event.ActionListener;
  8.  
  9. import javax.swing.BorderFactory;
  10. import javax.swing.JButton;
  11. import javax.swing.JWindow;
  12. import javax.swing.UIManager;
  13.  
  14. public class Dimmer extends JWindow
  15. {
  16. private static final long serialVersionUID = 3493635987367217622L;
  17.  
  18. private final int _screen;
  19.  
  20. public Dimmer ()
  21. {
  22. this(0);
  23. }
  24.  
  25. public Dimmer (int screen)
  26. {
  27. super();
  28. _screen = screen;
  29.  
  30. {
  31. final JButton button = new JButton("click to exit");
  32. button.setForeground(Color.gray);
  33. button.setOpaque(false);
  34. button.setContentAreaFilled(false);
  35. button.setBorder(BorderFactory.createEmptyBorder());
  36. button.addActionListener(new ActionListener()
  37. {
  38. @Override
  39. public void actionPerformed(ActionEvent arg0)
  40. {
  41. System.exit(0);
  42. }
  43. });
  44. add(button, BorderLayout.CENTER);
  45. }
  46. setAlwaysOnTop(true);
  47. }
  48.  
  49. public void begin()
  50. {
  51. GraphicsDevice gda[] = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices();
  52. GraphicsDevice gd = gda[_screen];
  53. getContentPane().setBackground(Color.black);
  54.  
  55. for (GraphicsDevice gdTmp : gda)
  56. {
  57. System.out.print( (gd == gdTmp) ? "->" : " ");
  58. System.out.println(
  59. "Screen(" + gdTmp.getDefaultConfiguration().getDevice().getIDstring() +")"
  60. +" "+ gdTmp.getDefaultConfiguration().getBounds() );
  61. }
  62.  
  63. Rectangle bounds = gd.getDefaultConfiguration().getBounds();
  64. setLocation(bounds.getLocation());
  65. setSize(bounds.getSize());
  66.  
  67. validate();
  68. setVisible(true);
  69. }
  70.  
  71. /**
  72. * @param args
  73. * @throws Exception
  74. */
  75. public static void main(String[] args) throws Exception
  76. {
  77. UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
  78. Dimmer dimmer = new Dimmer(args.length == 1 ? Integer.valueOf(args[0]) : 0);
  79. dimmer.begin();
  80. }
  81.  
  82. }

m
0
l
!