You are not logged in.

#1 2015-05-24 04:18:51

axelectrik
Member
Registered: 2012-01-25
Posts: 126

Xfce won't detect display after unplugging

Ok, I have 2 monitors at home, unfortunately 1 of the ports in my graphic card won't work.

For certain reasons, I need to use 1st display during the day, and the 2nd during the night.

But, if I just unplugg the cable from 1st display and plug it in the 2nd the screen just won't come on.

When this happens, I can access to tty2 and tty2 detects screen and displays image, restarting lightdm also displays image in display (but somehow this breaks pulseaudio leaving me with no sound :S ).

Any idea?

PS. Of course I have selected the option "Detect new screenwhen plugged" on Xfce Display Settings.

Thank you

Offline

#2 2015-05-24 12:51:11

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: Xfce won't detect display after unplugging

Display settings can be configured in Applications -> Settings -> Display. For each display that you want to use, you need to tick the "Use this display" option.

With regards to Pulseaudio, you probably need to change the sound profile. Install pavucontrol and under "Configuration" choose the appropriate profile. For instance, if you're using a HDMI cable then you want to choose the Digital Stereo (HDMI) output profile.

Offline

#3 2015-05-25 20:15:15

axelectrik
Member
Registered: 2012-01-25
Posts: 126

Re: Xfce won't detect display after unplugging

I know about Dsiplay settings, thing is, I only have 1 HDMI input, so when I uplugg 1st display and the plugg 2nd display the screen goes black, so I can't access to any settings.

About pulseaudio, I'm using motherboards audio, that's the only profile available since I have the HDMI  one turned off, I don't have a screen with speakers, any of them.

Offline

#4 2015-05-26 09:06:17

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: Xfce won't detect display after unplugging

axelectrik wrote:

I know about Dsiplay settings, thing is, I only have 1 HDMI input, so when I uplugg 1st display and the plugg 2nd display the screen goes black, so I can't access to any settings.

Ah I see. So what you want to do is start xfce4-settings-editor, make sure you're on the displays tab and then for both sets of display settings, ensure that the 'Active' option is ticked. That should ensure that both displays will be used when detected.

Offline

#5 2015-05-31 23:43:36

axelectrik
Member
Registered: 2012-01-25
Posts: 126

Re: Xfce won't detect display after unplugging

NO
This is what want:

1. Startup computer using Monitor A
2. Unplugg HDMI cord from Monitor A and connect it in Monitor B
(After this, Monitor B goes black on tty1 (used by lightdm) and I can only have tty2, tty3 and all others available)
3. Keep picture in Monitor B when plugged, without the need of restarting lightdm or the whole computer

Until now the only workaround is this:
1. Startuo using Monitor A
2. Suspend system
3. Plugg Monitor B
4. Resume system

THanks and sorry for not being that active wink

Offline

#6 2015-06-01 10:31:07

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: Xfce won't detect display after unplugging

Oh OK. Sorry for misunderstanding you. I don't have multiple monitors which is probably why I'm a bit slow on this! Sorry I couldn't be of more help here. One thing though, have you read the following wiki page? - https://wiki.archlinux.org/index.php/Multihead
There might be something in there for your use case.

Offline

#7 2015-06-02 23:28:23

axelectrik
Member
Registered: 2012-01-25
Posts: 126

Re: Xfce won't detect display after unplugging

Don't worry, thank you anyway wink
I'll check thatr article, maybe something could be useful.

Offline

Board footer

Powered by FluxBB