Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Linux Deepin
User Name
Linux Deepin This forum is for the discussion of Linux Deepin.


  Search this Thread
Old 01-25-2018, 08:19 AM   #1
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

Can anyone help please.

Thank you


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 11:56 AM
[SOLVED] Latest Deepin 2014 RC update disabled Deepin SW Center Nieuwkoop-75 Linux Deepin 13 01-04-2015 11: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 05:21 AM
Incorrect display filenames of different char coding scng Linux - Newbie 1 09-05-2004 02:49 AM > Forums > Linux Forums > Linux - Distributions > Linux Deepin

All times are GMT -5. The time now is 11:02 PM.

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