Results 1 to 2 of 2

Thread: how to check if a monitor/tv is on or off with ubuntu core?

  1. #1
    Join Date
    Aug 2008
    Location
    italia
    Beans
    42

    how to check if a monitor/tv is on or off with ubuntu core?

    On Raspbian I am using tvservice to check if a tv or monitor is on or off, how can I check it with ubuntu core?
    some old notebooks with lubuntu 16.04
    preparing multiple raspberry pi3 model b (and some raspberry pi4) with ubuntu core 18.04 lts

  2. #2
    Join Date
    Mar 2017
    Location
    Gubertino
    Beans
    1,006
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: how to check if a monitor/tv is on or off with ubuntu core?

    Not sure what you need but you can use xrandr to check what connection you are using.
    Code:
    xrandr -q | awk '/ connected/{print $1}'

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •