Hello, everyone. Viber on Fedora 41 (Gnome, Wayland) looks weird: it has white border and has no icon:
I want to share the solution to the problems. I’ve fixed them via editing Viber’s desktop file located at /usr/share/applications/viber.desktop if you’ve installed their .rpm. Make the desktop file look like this:
[Desktop Entry]
Name=Viber
Comment=Viber VoIP and messenger
Exec=env QT_QPA_PLATFORM=xcb /opt/viber/Viber %u
Path=/opt/viber/
Icon=viber
Terminal=false
Type=Application
Categories=Network;InstantMessaging;P2P;
MimeType=x-scheme-handler/viber;
StartupWMClass=com.viber.Viber
I’ve added env QT_QPA_PLATFORM=xcb to fix the ugly border and StartupWMClass to fix the missing icon in taskbar