LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Deepin
User Name
Password
Linux Deepin This forum is for the discussion of Linux Deepin.

Notices


Reply
  Search this Thread
Old 01-25-2018, 07:19 AM   #1
desperion
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Rep: Reputation: 0
Problem with Display coding in Deepin


Hi, Despite being a realtively newbie, I decided to plumb the depths of terminal and coding.I am trying to blank the monitor on my HP Notebook (ePD) whilst having my external display ( HDMI-0 ) operative.

I found and adapted some code which should enable me to do this and ended up with the following:

laudate_dominum@HPNotebook-PC:~$ xrandr | grep $HDMI-0 | grep " connected "
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
laudate_dominum@HPNotebook-PC:~$ if [ $? -eq 0 ];
> then
> xrandr --output $eDP --auto --output $eDP --auto $HDMI-0
> # (sleep 2; xrandr --output $eDP --auto --output $HDMI-0 --auto $eDP) &
> else
> xrandr --output $eDP --auto --output $HDMI-0 --off
> fi
warning: output --auto not found; ignoring
warning: output -0 not found; ignoring
laudate_dominum@HPNotebook-PC:~$



Can anyone help please.

Thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
deepin error ssh : Length of display PrimaryRect is not 4 freebeart Linux Deepin 1 05-06-2016 10:56 AM
[SOLVED] Latest Deepin 2014 RC update disabled Deepin SW Center Nieuwkoop-75 Linux Deepin 13 01-04-2015 10:51 PM
What's going on, I can no longer access the Deepin forum website? Is Deepin defunct? ellisf Linux Deepin 2 08-26-2014 04:21 AM
Incorrect display filenames of different char coding scng Linux - Newbie 1 09-05-2004 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Deepin

All times are GMT -5. The time now is 02:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration