useidel / signal-desktop-fedora

fedora SPEC file for signal-desktop RPMs
GNU Affero General Public License v3.0
5 stars 2 forks source link

Wayland support #3

Closed lnicola closed 1 year ago

lnicola commented 1 year ago

Electron doesn't enable Wayland by default. Just in case anyone is wondering, at this moment enable it by adding --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations to the command line.

I haven't tested, but --ozone-platform-hint=auto should also work with X11, but --enable-features=WaylandWindowDecorations might cause double decorations on DEs wih SSD support like KDE.

To get this, copy /usr/share/applications/signal-desktop.desktop to ~/.local/share/applications/, edit the file to add the missing parameters, and run update-desktop-database. It looks like the window class is different on Wayland, so you can also set StartupWMClass=signal (instead of Signal) to make the icon and startup notification work.