diff options
author | Tadly | 2016-04-29 10:13:39 +0200 |
---|---|---|
committer | Tadly | 2016-04-29 10:13:39 +0200 |
commit | 07953708654f34f5f1dba1db0e8128c4adfbc88b (patch) | |
tree | 15423456e60ac08fe7bad746aff13a46ebf7770c /enpass-bin.install | |
parent | 9df6e0d10178dacd44bf1595701ec430188cec61 (diff) | |
download | aur-07953708654f34f5f1dba1db0e8128c4adfbc88b.tar.gz |
update to 5.2.0
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 } |