Skip to content

Question : After updating 2 weeks ago, Monitor hotplug is not possible.

Hi, since updating my archlinux install some week ago, hot plugging monitors became impossible. By that, I don't mean that I need to run an xrandr command manually. In fact, running an xrandr command doesn't change anything and rebooting xorg doesn't change anything either. My only way to output to a monitor is to boot with the monitor hooked up and then I can run an xrandr command to have it display something. I have tried to google this but I always end up on posts about "automatic hot plug not working" but it is not really related to my problem. Thank you in advance for your help ! I tried my best to provide a decent English text but don't hesitate to point out if something isn't clear.

Otherwise, i'm running I3 as a WM but it should not be related.

10 points8 comments
Open on Reddit
About this post
Posted
Archived
Score
10 · 100% up
Kind
Text
ID
8jfjay

Author

2
posts
14
comments
1
media
View profile

8 comments

  1. What graphics card?
  2. What graphics drivers?
  3. What monitor connection (HDMI, DisplayPort, etc)?
6 points
  1. Intel HD on a i5 5200u
  2. default one but If will look into the details when I get access to my computer
  3. vga and display port at least thank you !
4 points

Intel only has one driver, no worries there.

Personally I wouldn’t hot-swap VGA. It might be okay on some hardware, but the connector was not designed for it. There is a small risk to damage your video card or monitor.

DisplayPort should be hot-swappable though. Hopefully someone can help.

5 points

even more strange, I juste noticed that the screen shows as connected in xrandr but I can't output to it without rebooting

1 points

Take a look at this. I had what seems to me a realted problem a couple of weeks ago, and these scripts worked for me. You just need to change the connector names according to your system of course.

Baically the problem is that the change event is not registered, so you hava to keep track of the status by yourself.

https://gist.github.com/mhersson/2b4698887196cb3c210ce036e17d0ff4

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.