I use ViberIndicator to start Viber with correctly display tray icon on Ubuntu 15.10. Then I added viberIndiator to startups applications Viber start with displaying last dialog window.

How to start Viber minimized on system startup ?


Configure your linux startup commands (Properties - Startup - Viber) for Viber:

/opt/viber/Viber StartMinimized
  • Added details . – Zon Jun 18 '16 at 10:56
  • At least it is minimized as window. – Zon Jun 21 '16 at 9:03

Install wmctrl and use the following script to start viber:

/opt/viber/Viber &
sleep 3
wmctrl -c "Viber"

Adjust the sleep time if necessary.


I think you should combine @zon and @yavor-dobrev solutions with a bit of tricks.

I use this startup script:

set -e

/opt/viber/Viber StartMinimized &

while ! wmctrl -xc Viber.ViberPC; do
    sleep .5


  • export QT_AUTO_SCREEN_SCALE_FACTOR=0 to avoiding huge display on my XFCE4
  • Viber StartMinimized to starting Viber hidden as possible
  • wmctrl -xc Viber.ViberPC to closing the Viber window only avoid closing others
  • while ! wmctrl ... to close the windows as fast it can

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.