Skip to content

Instantly share code, notes, and snippets.

@maz-1
Last active August 21, 2018 18:25
Show Gist options
  • Save maz-1/51e938aec45acc3928e6685d28d42d19 to your computer and use it in GitHub Desktop.
Save maz-1/51e938aec45acc3928e6685d28d42d19 to your computer and use it in GitHub Desktop.
launch wps for linux while hidpi is enabled
#!/bin/sh
me=`basename "$0"`
sed -i 's/WindowIsMaximized=true/WindowIsMaximized=false/g' ~/.config/Kingsoft/Office.conf
export WPS_NO_KDE_NATIVE_DIALOG=1
exec run_scaled /usr/bin/$me "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment