On 31/12/2016 22:27, Albin Otterhäll wrote:

> When I write about "automatically detect" I mean if LXQt automatically
> creates an event when connecting or disconnecting external monitors and
> act on this information. E.g. start the laptop screen when disconnecting
> the laptop from the monitors, and vice versa.

Hello Albin,

I'm using LXDE and I've posted the same question here a couple of months 
ago. LXDE does not have a tool that automatically provides monitor 
switching:
https://sourceforge.net/p/lxde/mailman/message/35115552/

I don't know whether LxQt provides such a tool, though.

However, Just as a FIY, I did some research and I did find that one can 
hack a solution based on:
1) polling the kernel events when a monitor is (un)plugged
2) launching a UDEV event when a monitor is (un)plugged and trigger a 
script to switch configuration

I prefer 2) because it is more elegant. I've hacked a tutorial with my 
findings:
https://github.com/apiraino/autorandr

There's still some issues as it does not always work, but that's a 
start. Feel free to contribute.

Cheers,
Antonio

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to