Package Details: threema-desktop-beta 2.0_beta52-1

Git Clone URL: https://aur.archlinux.org/threema-desktop-beta.git (read-only, click to copy)
Package Base: threema-desktop-beta
Description: Threema Desktop 2.0 Beta.
Upstream URL: https://github.com/threema-ch/threema-desktop
Licenses: AGPL-3.0-only
Submitter: dbrgn
Maintainer: dbrgn
Last Packager: dbrgn
Votes: 4
Popularity: 0.81
First Submitted: 2025-04-23 21:13 (UTC)
Last Updated: 2025-07-08 07:57 (UTC)

Pinned Comments

dbrgn commented on 2025-05-13 14:58 (UTC) (edited on 2025-07-08 08:01 (UTC) by dbrgn)

[Pinned comment]

  • Known issue: Saving the password does not work when launching from a window manager like Sway. If you use gnome-keyring but not GNOME, set XDG_CURRENT_DESKTOP=GNOME env variable (potentially by copying the .desktop file to ~/.local/share/applications/ and adjusting it).

Latest Comments

1 2 Next › Last »

dbrgn commented on 2025-07-08 23:06 (UTC) (edited on 2025-07-08 23:06 (UTC) by dbrgn)

@thomasgassmann: Thanks for the comment, which leads to a little rabbithole.

When starting Threema under Xorg (by directly launching /opt/threema-desktop-beta/ThreemaDesktopLauncher), the WM_CLASS of the window is set to the app name, which is "Threema Beta". In this case, the desktop file is correct.

But when starting Threema under Wayland (i.e. you're using the wrapper script at /usr/bin/threema-beta and have Wayland set up), there is no WM_CLASS because that's an Xorg thing. Instead, there's the app_id, and that is currently set to just Threema. That is also the case for Threema Work, meaning that under Wayland you cannot differentiate between the two windows, and the dock icons may misbehave.

I'll have to investigate how the Wayland app_id can be set from Electron. It seems that it is set here:

https://github.com/electron/electron/blob/712262597dd621285bad2bc98fc9bfe105cf15f8/shell/browser/native_window_views.cc#L293

Which uses this function:

https://github.com/electron/electron/blob/712262597dd621285bad2bc98fc9bfe105cf15f8/shell/common/platform_util_linux.cc#L431

...which looks like it should just use the base name of the .desktop file... However, that would be "ch.threema.threema-desktop", so I'm not sure where things go wrong.

Pointers welcome.

thomasgassmann commented on 2025-07-08 11:30 (UTC)

Is it just me or is StartupWMClass set incorrectly? Having StartupWMClass=Threema Beta causes Gnome to display no icon in the dock. Shouldn't it be StartupWMClass=Threema?

dbrgn commented on 2025-05-13 14:58 (UTC) (edited on 2025-07-08 08:01 (UTC) by dbrgn)

[Pinned comment]

  • Known issue: Saving the password does not work when launching from a window manager like Sway. If you use gnome-keyring but not GNOME, set XDG_CURRENT_DESKTOP=GNOME env variable (potentially by copying the .desktop file to ~/.local/share/applications/ and adjusting it).

baby-void commented on 2025-05-08 21:22 (UTC)

@dbrgn: Thanks for the answer! I have made a request there, hopefully they will add it somewhere down the line

dbrgn commented on 2025-05-07 21:04 (UTC)

@baby-void: This is not supported by the application right now. For Threema questions, please contact support: https://threema.com/en/support-request

baby-void commented on 2025-05-06 13:31 (UTC) (edited on 2025-05-06 13:33 (UTC) by baby-void)

I know this is not a place for this type of question but I have no idea where to place as there is no issue tracker I can find on threema github so I apologize up front.

Is there any way to place threema-desktop-beta in system tray? Not just taskbar.

I want it to be open in background and as it is now, it just stays in taskbar and I can minimize it or close it

Any patch to force it in tray?

I'm on Plasma/KDE

Dwa30v commented on 2025-04-25 14:36 (UTC)

@dbrgn // thanks for the tip! i am now a j4-dmenu-desktop user myself as well.

dbrgn commented on 2025-04-25 08:40 (UTC)

@Dwa30v: I use SwayWM myself, and use https://github.com/enkore/j4-dmenu-desktop for launching desktop applications directly through dmenu/bemenu. Should work on i3wm as well.

Dwa30v commented on 2025-04-25 01:31 (UTC)

@dbrgn - thank you for adding threema-beta! perfect in my case, as i am using i3wm. and, thank you for submitting this package. i appreciate it. perfect as the threema v6 for android just dropped.

dbrgn commented on 2025-04-24 23:26 (UTC) (edited on 2025-04-24 23:27 (UTC) by dbrgn)

@Dwa30v: Thanks to the packaged .desktop file, a typical app launcher should automatically pick up the program, and you can launch it with "Threema Beta".

However, you are right that a commandline launcher would be practical as well. I updated the package, you can launch with threema-beta in /usr/bin.