Score:0

Automatically cycle Multiple Monitors on Ubuntu VM bootup

us flag

I'm using VMware Workstation 16 Pro.

HOST OS -> Windows 10.

GUEST OS -> Ubuntu 20.04 LTS (with open-vm-tools installed).

I have enabled 'entering full screen mode after powering on' for Ubuntu guest.

Coming to the core of the question.

I have dual monitors and every time I boot Ubuntu (it starts in full screen mode, as expected) I have to manually click on view->cycle multiple monitors or press ctrl+alt +m.

On Ubuntu I've found xdotool which lets you programatically (or manually) simulate keyboard input. I've appended to my ~/.profile the following line xdotool key ctrl+alt+m so that it's called at login, but the second monitor doesn't show up automatically.

It seems to me that it's not possible to simulate key inputs from guest to host.

Is there a way to reach my goal?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.