Automatic Dock position when switching monitor

26 views
Skip to first unread message

Joel Carnat

unread,
Mar 11, 2024, 8:35:42 AM3/11/24
to wmake...@googlegroups.com
Hello,

My laptop is generally connected to a 4K monitor and the dock is positioned on the far right side of the screen. The laptop screen is then turned off, using xrandr.

When I disconnect the external monitor and switch to using the laptop screen, using xrandr, the dock is not visible any more ; because the laptop screen size is (only) 1280px wide.

Is there a way to tell Windowmaker to automatically reposition the dock according to the new screen size?

Thanks,
Joel C.

Rodolfo Martin Baumler

unread,
Mar 12, 2024, 10:50:56 AM3/12/24
to wmake...@googlegroups.com
xrandr --auto

look at the man page

Joel Carnat

unread,
Mar 12, 2024, 3:04:54 PM3/12/24
to wmake...@googlegroups.com
Le 3/12/24 à 15:50, 'Rodolfo Martin Baumler' via Window Maker Users a
écrit :
> xrandr --auto
>
> look at the man page
>

That seems to only deal with automatic setting of screen resolution.
It doesn't help repositionning Windows or Dock when resolution changes.
Reply all
Reply to author
Forward
0 new messages