Viber App Not Opening in Hyprland on Fedora 41

Viber App Not Opening in Hyprland on Fedora 41

I installed Fedora Workstation 41 (GNOME) and later set up the Hyprland environment using the scripts from JaKooLit/Fedora-Hyprland. Viber works fine in GNOME, but in Hyprland, it fails to open.

System Details

Distro:
Fedora Linux 41 (Workstation Edition)
Linux 6.13.6-200.fc41.x86_64

DE/WM:
Hyprland 0.47.2 (Wayland)

System:
Victus by HP Gaming Laptop 15-fa0xxx
12th Gen Intel(R) Core™ i7-12650H (16)
GeForce RTX 3050 Ti Mobile
UHD Graphics
16GB RAM

Issue Details

Running AppImage:

When I try to run ./viber.AppImage, I get the following errors:

qt.qml.typeregistration: Invalid QML element name "ViberAdsItem"; value type names should begin with a lowercase letter  
mv: /tmp/.mount_viber.tqAK2u/usr/lib/libselinux.so.1: no version information available (required by mv)  
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "stateChanged"  
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "connectivityChanged"  
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "deviceTypeChanged"  
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "meteredChanged"  
QQmlApplicationEngine failed to load component  
qrc:/Resources/QML/MainWindow.qml: module "org.hyprland.style" is not installed  
/tmp/.mount_viber.tqAK2u/AppRun.wrapped: line 10: 77703 Segmentation fault (core dumped) $APPDIR/usr/bin/Viber "$@"  

Running Flatpak Version:

When I try to run flatpak run com.viber.Viber, I get:

qt.qml.typeregistration: Invalid QML element name "ViberAdsItem"; value type names should begin with a lowercase letter  
sh: line 1: xdg-mime: command not found  
QQmlApplicationEngine failed to load component  
qrc:/Resources/QML/MainWindow.qml: module "org.hyprland.style" is not installed  

You need to know that Hyprland is not fedora packaged and no support at all.Best is if you check with maintainer of hyprland .

I understand that Hyprland is not officially packaged or supported by Fedora. However, I was hoping that someone here might still be able to help me troubleshoot the issue based on the logs and errors I encountered.

I encountered an issue with opening Viber in Fedora 41 with the Hyprland environment. Initially, I was unable to run Viber, whether from the AppImage or Flatpak versions. However, I found a solution.

Solution

  1. Download the Viber RPM file from the official Viber website:
    Viber RPM for Linux
  2. Install the RPM via the Software application center built into Fedora.
  3. After installation, I could open the Viber app by clicking the “Open” button in the Software application center.

Current Issue

Although Viber works after installation, I still cannot open it from the app launcher. I can only launch it through the Software application center.

Question:

Is there a way to fix the issue with the app launcher, so I can open Viber directly from there instead of using the Software application center?

I don’t use viber, but it generally is possible to create a .desktop file in ~/.local/share/applications to launch user installed apps.

The existing .desktop files either there or in /usr/share/applications provide many examples as to how the file should be structured. I do not know where the actual documentation for the structure of the .desktop files is located but have never needed more than the examples.