diff options
Diffstat (limited to 'enpass-bin.install')
-rw-r--r-- | enpass-bin.install | 41 |
1 files changed, 32 insertions, 9 deletions
diff --git a/enpass-bin.install b/enpass-bin.install index b5d2286c9f77..496b33989ce3 100644 --- a/enpass-bin.install +++ b/enpass-bin.install @@ -1,12 +1,35 @@ -post_install() { - update-desktop-database -q - gtk-update-icon-cache -f /usr/share/icons/hicolor -} - post_upgrade() { - post_install -} +cat << EOF + + If you encounter scaling issues try: + + export QT_AUTO_SCREEN_SCALE_FACTOR=0 + + before running enpass. + If this worked, you have 3 options: + + 1. Add the above line to your ".bashrc" + + 2. Add the above line to + /opt/Enpass/bin/runenpass.sh + + BEFORE the "exec" command. + Keep in mind that changes to runenpass.sh + will be overwritten upon the next update. + + 3. Create a copy of: + + /usr/share/applications/enpass.desktop + + to + + ~/.local/share/applications/enpass.desktop + + and replace the "Exec=" line with: + + Exec=env QT_AUTO_SCREEN_SCALE_FACTOR=0 /opt/Enpass/bin/runenpass.sh %U -post_remove() { - post_install + This will NOT fix scaling if you run enpass from + your commandline! +EOF } |