eneshecan / whatsapp-for-linux

An unofficial WhatsApp desktop application for Linux.
GNU General Public License v3.0
971 stars 101 forks source link

Autostart does not work. #379

Open JanBath opened 3 months ago

JanBath commented 3 months ago

When i toggle autostart on in the settings, it does not work. The switch in the settings allways jumps back to autostart off with closing the App.

Can´t find the settings.conf in the location depicted in the wiki to tinker with manual settings. $HOME/.config/whatsapp-for-linux/settings.conf

Tried to allow backgroundactivity and notifications with Flatseal but that did not change anything.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Settings'
  2. Click on 'Autostart' On
  3. Close the App or restart the System
  4. Autostart is Off

Expected behavior I wanted to get notifications if someone writes me, without opening the App everytime i boot my PC.

Environment Fresh install of Fedora 40 with all the standards like Gnome latest Flathub version of Whatsapp-for-linux

douglasilvadev commented 2 months ago

When i toggle autostart on in the settings, it does not work. The switch in the settings allways jumps back to autostart off with closing the App.

Can´t find the settings.conf in the location depicted in the wiki to tinker with manual settings. $HOME/.config/whatsapp-for-linux/settings.conf

Tried to allow backgroundactivity and notifications with Flatseal but that did not change anything.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Settings'
  2. Click on 'Autostart' On
  3. Close the App or restart the System
  4. Autostart is Off

Expected behavior I wanted to get notifications if someone writes me, without opening the App everytime i boot my PC.

Environment Fresh install of Fedora 40 with all the standards like Gnome latest Flathub version of Whatsapp-for-linux

If you are using this app in flatpak format, the correct path to configure it is:

$HOME/.var/app/com.github.eneshecan.WhatsAppForLinux/config/whatsapp-for-linux/settings.conf

🔧 Settings.conf

[general]
notification-sounds=true
close-to-tray=true
start-in-tray=true
start-minimized=false

[web]
hw-accel=1
allow-permissions=true

[appearance]
prefer-dark-theme=true

To set this app to Autostart using Gnome 46, you can use Gnome Tweaks. First, install and open Gnome Tweaks, navigate to the 'Startup Applications' section, then add Whatsapp-for-linux app to ensure it starts automatically when your distro boot up