summarylogtreecommitdiffstats
path: root/enpass-bin.install
blob: 496b33989ce3350f63cef28c99a9b67774458fae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
post_upgrade() {
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

    This will NOT fix scaling if you run enpass from
    your commandline!
EOF
}