Friday, April 28, 2017

Viber Window Too Big on Gnome

After I updated my Viber to version 6.5.5.1481-2 on my Fedora box, it launched with a very big window interface! See below.


Looks like it's an auto-scaling issue on an application running on a high resolution screen.

Someone suggested to set QT_AUTO_SCREEN_SCALE_FACTOR to zero (0).

Now, I have my application launcher viber.desktop as so...

[Desktop Entry]
Name=Viber Comment=Viber VoIP and messenger 
Exec=bash -c 'QT_AUTO_SCREEN_SCALE_FACTOR=0 /opt/viber/Viber %u' Icon=/usr/share/pixmaps/viber.png Terminal=false Type=Application Categories=Network;InstantMessaging;P2P; MimeType=x-scheme-handler/viber;


Viber for normal vision, back.


Thanks, someone (mrreverendpain)!

(src. https://www.reddit.com/r/linuxquestions/comments/5rm8so/issue_with_viber_interface_scaling/)

3 comments:

  1. Setting it to zero (0) does it for me. Also works on Fedora 25, with Viber version 7.

    ReplyDelete
  2. Does not work on elementary OS 5.0 (Ubuntu 18.10)

    QApplication: invalid style override passed, ignoring it.

    ReplyDelete

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...