1

I am creating a program using Java. Within this program I would like to have the ability to create a certain output on a predefined monitor. My Ubuntu 14.10 test system has 2 monitors connected through DVI. Unity grabs both monitors for its desktop. How would I access these monitors? Is there any way to create a connection through /dev/*? Or do I have to do that in my Java program?

Socrates
  • 8,724
  • 25
  • 66
  • 113

1 Answers1

1

You can use GraphicsEnvironment to get a list of the GraphicsDevices attached to your system.

If you want to, you can generate a "virtual" desktop, combining all the devices areas together, for example

Community
  • 1
  • 1
MadProgrammer
  • 343,457
  • 22
  • 230
  • 366