Created
November 5, 2019 10:18
-
-
Save dgalli1/e74c41a40086f2827336a0c4fded5feb to your computer and use it in GitHub Desktop.
Change Virtual Desktop Size Dynamicly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#set the resolution | |
resolution=$(xdpyinfo | grep dimensions | awk '{print $2}') | |
echo $resolution | |
WINEPREFIX=PATH_TO_WINEPREFIX winetricks vd=$resolution | |
#run the application after the resolution was set | |
WINEPREFIX=PATH_TO_WINEPREFIX wine PATH_TO_EXECUTABLE | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment