Screen size not persisted across reboot
iamludal opened this issue · comments
I'm reopening the issue #1 because it doesn't seem to work with me.
Even after unlocking the pad, changing the resolution and applying the new settings, this doesn't work.
Also, I noticed that the following command:
sudo vmware-resolutionSet <width> <height>
works but doesn't keep the resolution after a reboot.
Sorry for the late reply.
I am not able to help you out. I am calling this exact same tool behind the scene.
It order for it to persist across boot, it must run elevated.
Sorry I cannot help you out.
Don't worry. That's just strange, because I ran this command elevated...
EDIT: Here's a workaround for this issue.
- Create a new file named
Resolution.cmd
wherever you want, with the following content :
#!/bin/bash
sleep 5
/Library/Application\ Support/VMware\ Tools/vmware-resolutionSet 1920 1080
Change 1920 and 1080 by your desired resolution.
- In a terminal, type
crontab -e
and add the following content :
@reboot path/to/Resolution.cmd
- Reboot, and now it should work!
NB: Without sleep 5
, you will encounter the Unable to find the service.
, probably because it is not loaded yet at this moment — hence this arbitrary delay of 5 seconds.