Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/proc Internal and External display info
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
williamg
n00b
n00b


Joined: 02 Apr 2005
Posts: 61

PostPosted: Mon Sep 05, 2005 11:39 am    Post subject: /proc Internal and External display info Reply with quote

Good day gentoo users. I have a laptop running gentoo. I just wanted to ask if there is a way of using /proc to determine if there is a vga cable plugged into my laptop.

I can check if the lid is opened or closed using.

Code:

[Mon Sep 05 12:31:38][vetruvius@valium /]> $ cat /proc/acpi/button/lid/LID/state
state:      open
[Mon Sep 05 12:31:38][vetruvius@valium /]> $


I can use that to check if the lid is opened or closed. Just need some way of determining if I there is a vga cable (external monitor cable) plugged into the back of my laptop.

Thanks in Advance.
:D :) :( :o 8O :?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum