PDA

View Full Version : /dev/monitor



dragos240
May 10th, 2010, 04:05 PM
Where would that be? What device file is your first and second monitor in? I'm curious because I am still working on my portal program. One program will run in the first monitor as the text, the second will display ascii art. Help?

insane_alien
May 10th, 2010, 04:10 PM
do you really need to directly access the monitor? would it not be better to pass on the info to the X server and let it sort it out.

dragos240
May 10th, 2010, 04:12 PM
Sure. How can I set X up so that one monitor redirects to tty2 and another to tty3. Can X do this?

dragos240
May 11th, 2010, 11:57 PM
Bump....

dragos240
May 12th, 2010, 12:09 PM
....Bump....

tom66
May 12th, 2010, 12:18 PM
You want to directly access the frame-buffer of your monitors?

dragos240
May 12th, 2010, 08:25 PM
Yes. That would be nice.

schauerlich
May 12th, 2010, 08:34 PM
http://grab.by/grabs/77a4d0dd18ebe5b38ba998f040f92a4a.png
http://grab.by/grabs/675713dc6cf6c104f6dacd09f059bdec.png

Better get to work.

snova
May 12th, 2010, 08:35 PM
Where would that be? What device file is your first and second monitor in?

I don't think the system even has direct access to the monitor. What do you think it plugs into?


I'm curious because I am still working on my portal program. One program will run in the first monitor as the text, the second will display ascii art. Help?

This sounds like the wrong way to go about it, if there ever was one...

pwnst*r
May 12th, 2010, 08:42 PM
http://grab.by/grabs/77a4d0dd18ebe5b38ba998f040f92a4a.png
http://grab.by/grabs/675713dc6cf6c104f6dacd09f059bdec.png

Better get to work.

lol

Warpnow
May 12th, 2010, 10:50 PM
Ummm...your monitor isn't a piece of hardware like a hard drive or a cd drive, its a peripheral attached to your video card. I think accessing it directly is akin to asking where /dev/escape key is so you can access your escape key directly.