Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to know if the hdmi monitor is off or on trough terminal

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
matteoraggi
Posts: 2
Joined: 2016-12-07 00:48

How to know if the hdmi monitor is off or on trough terminal

#1 Post by matteoraggi »

How to know if the hdmi monitor is off or on trough terminal commands?

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: How to know if the hdmi monitor is off or on trough term

#2 Post by phenest »

ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: How to know if the hdmi monitor is off or on trough term

#3 Post by dasein »

I don't have HDMI, so I can't vouch that this will work, but

Code: Select all

xset -q |grep Monitor
is certainly worth a try.

reinob
Posts: 1195
Joined: 2014-06-30 11:42
Has thanked: 99 times
Been thanked: 47 times

Re: How to know if the hdmi monitor is off or on trough term

#4 Post by reinob »

with xrandr:

Code: Select all

$ xrandr | grep HDMI
HDMI1 disconnected (normal left inverted right x axis y axis)

Post Reply