sudo dnf install openssl openssl-devel
sudo ln -s /usr/lib64/libssl.so.10 /opt/viber/lib/libssl.so
see: https://bytefreaks.net/applications/viber-desktop-on-fedora-27-64bit-viber-cannot-connect-to-the-internet-openssl-error
sudo dnf install openssl openssl-devel
sudo ln -s /usr/lib64/libssl.so.10 /opt/viber/lib/libssl.so
see: https://bytefreaks.net/applications/viber-desktop-on-fedora-27-64bit-viber-cannot-connect-to-the-internet-openssl-error
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Created symlink /etc/systemd/system/sleep.target → /dev/null.
Created symlink /etc/systemd/system/suspend.target → /dev/null.
Created symlink /etc/systemd/system/hibernate.target → /dev/null.
Created symlink /etc/systemd/system/hybrid-sleep.target → /dev/null
Restart sudo systemctl restart systemd-logind.service or just restart your laptop
Check status
systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target all must be in (dead stage)
re-enable
sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
Removed /etc/systemd/system/sleep.target.
Removed /etc/systemd/system/suspend.target.
Removed /etc/systemd/system/hibernate.target.
Removed /etc/systemd/system/hybrid-sleep.target.
Restart sudo systemctl restart systemd-logind.service or just restart your laptop
Even lid down don't want to go suspend mode
sudo nano /etc/systemd/logind.conf
[Login] HandleLidSwitch=ignore