LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-13-2014, 11:17 PM   #1
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
Quickly enable/disable monitor disconnect/reconnect detection


My main setup is an Ubuntu laptop with a built-in screen and a second monitor. Whenever the second monitor turns off, or goes to standby/powersave the laptop detects it as a screen disconnect. This re-positions all my windows and makes a big mess. I am a developer, so I have lots of open windows, and I would like them to stay put.

That said detecting when a screen is disconnected is actually useful when I have to take my laptop places.

Is there a simple command I can use to turn detection on and off? I would like to turn it off when the laptop is sitting on my desk (I can type the command), then turn detection back on when I am mobile.
 
Old 05-14-2014, 12:36 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by exodist View Post
powersave the laptop detects it as a screen disconnect. This re-positions all my windows and makes a big mess.
this sounds weird.
are you using the normal DE that comes with ubuntu these days (gnome, unity, whatever)?
probably an issue with that.

or are you using some sort of exotic monitor?
 
Old 05-14-2014, 09:01 AM   #3
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Original Poster
Rep: Reputation: 47
The problem is definitely monitor specific. Other monitors connected to the laptop do not have the same problem. The monitor is a Seiki 39" 4k TV. It is awesome for everything except this disconnect on standby issue. It also only started doing this after a firmware update, but going back to the old firmware is not an option right now.
 
Old 05-14-2014, 01:02 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
so, your system gets confused while interpreting your "monitor's" signals.
i guess the best thing would be to tell your system to not attempt to auto-dis/connect this monitor or in any way try to integrate it into the system.
so everytime you need to use it, you'd launch some script.
but since i'm using neither gnome nor seiki tv's, i can only help in a very general manner.
 
Old 05-14-2014, 01:15 PM   #5
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Original Poster
Rep: Reputation: 47
right, thats the kind of thing I am looking for.
 
  


Reply

Tags
detect, display, dpms, xrandr


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
disconnect and reconnect wireless after ubuntu 11 update. taste Linux - Newbie 2 08-29-2011 07:22 AM
No network packets sent immediately after quick physical disconnect and reconnect miracles Linux - Newbie 10 03-09-2011 11:48 PM
How do i make linux-ppp reconnect on disconnect? (pptp) Timtastic Linux - Networking 1 11-29-2010 02:32 PM
How do I manually disconnect/reconnect DHCP DSL internet connection? chaz_bro1972 Linux - Networking 34 06-06-2008 01:17 AM
Mount / unmount / ejecting CD/DVD makes LAN disconnect & reconnect...! GrapefruiTgirl Slackware 9 03-06-2007 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:37 PM.

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
Open Source Consulting | Domain Registration