[OpenIndiana-discuss] Using xrandr to automatically change display resolution?
John D Groenveld
groenveld at acm.org
Tue Jul 8 01:27:18 UTC 2025
In message <CAG9BPSWVE58wO5HzzUY1CiOYvy7qZd5QWZiqhmm52738Q7NYUw at mail.gmail.com>
, Nick writes:
>I noticed some of the other GUI environments and WMs do this when the
>screen is resized specifically with VMWare and/or VirtualBox. I tried
>the following expecting it to automatically change display resolution,
>but it does nothing:
>
> $ xrandr --output default --gamma 1 --auto
>
>I'm using a simple `~/.xsessionrc` with `xterm &; exec /usr/bin/twm`,
>not sure if someone can point me to the code doing this (dbus?).
Under VBox, one needs to run VBoxClient-all for auto resizing (and
shared clipboard.)
Possibly under VMWare, you should add vmware-user to your .xsession:
<URL:https://pkg.openindiana.org/hipster/manifest/0/system%2Fvirtualization%2Fopen-vm-tools-desktop@11.0.5%2C5.11-2020.0.1.1%3A20200330T162025Z>
John
groenveld at acm.org
More information about the openindiana-discuss
mailing list