Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tray usage for signal-desktop-bin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
setan
n00b
n00b


Joined: 21 Feb 2024
Posts: 65

PostPosted: Fri Mar 22, 2024 1:19 pm    Post subject: Tray usage for signal-desktop-bin Reply with quote

Hello,

When I was upgrading my signal-desktop-bin i have noticed that I can use the tray icon by using flags as --use-tray-icon or --start-in-tray.

I am using waybar with tray module so I would like to start signal with --use-tray-icon.
I am using wofi to launch my apps and just adding the flag to the dekstop file (/usr/share/applications/signal-desktop.desktop)
seems to work.

I think that it would be nice if we turned this on by default, or at least gave a flag for it.

What do you think about this?
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 163
Location: Gentoo forums

PostPosted: Fri Mar 22, 2024 2:16 pm    Post subject: Re: Tray usage for signal-desktop-bin Reply with quote

AwesomeWM user here. I avoid tray icons as much as I can for different reasons (visual inconsistency, useless with a tiling window manager since all apps are visible anyway). To each their own I guess.

It's nice that --use-tray-icon is there for users who want a tray icon, and it's also nice that it's not the default. My two cents...
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1542

PostPosted: Fri Mar 22, 2024 2:21 pm    Post subject: Reply with quote

Code:
cat /etc/portage/patches/net-im/signal-desktop-bin/use_tray_icon.patch
--- work/usr/share/applications/signal-desktop.desktop   2021-12-01 23:24:18.000000000 +0200
+++ work1/usr/share/applications/signal-desktop.desktop   2021-12-08 15:32:19.493909008 +0200
@@ -1,6 +1,6 @@
 [Desktop Entry]
 Name=Signal
-Exec=/opt/Signal/signal-desktop --no-sandbox %U
+Exec=/opt/Signal/signal-desktop --no-sandbox --use-tray-icon %U
 Terminal=false
 Type=Application
 Icon=signal-desktop


Enjoy!

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum