this post was submitted on 30 Jun 2024
73 points (97.4% liked)

Free and Open Source Software

18015 readers
17 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

Just a little system tray icon to show support for the LGBTQ+ community.

Originally created last year as a simple one-off project in response to Windows 11 users getting mad about a pride icon appearing on their task bar.

This year I remade it in Go, added support for Windows (7 and up), and improved compatibility with a variety of Linux environments.

Let me know what you think, or don’t, just please be nice about it.

top 23 comments
sorted by: hot top controversial new old
[–] [email protected] 20 points 5 months ago (3 children)

Why would I need a pride icon in my taskbar though?

[–] [email protected] 50 points 5 months ago (1 children)

Nobody needs it, but some people like it.

Last year Windows added a pride icon to the taskbar of some Windows 11 users, and people in the Linux community were having a laugh over the angry reactions, but some Linux-enjoyers mentioned that they'd actually like the option of adding a pride icon. I wrote a simple python script and shared it.

Over the past year multiple people have said they liked the little icon in my system tray, so this year I decided to spruce up the project and make it compatible with Windows. It's just a silly little aesthetic option for anyone who wants it.

[–] Maddier1993 13 points 5 months ago

Rare Microsoft Win...

[–] [email protected] 25 points 5 months ago (1 children)

You may not need it, but some of us want it as an option :)

[–] [email protected] 14 points 5 months ago

I like having options even if I don’t need it too :) 👍

[–] [email protected] 2 points 5 months ago

OBS adds a system tray icon to let you know it's recording

This program adds a system tray icon to let you know you're gay

[–] [email protected] 10 points 5 months ago (1 children)

So many people asking what the point is while I'm over here enjoying my new system icon. Thanks for the post!!! 🏳️‍🌈🏳️‍⚧️

[–] [email protected] 4 points 5 months ago (1 children)

Glad to hear it!

I'm not sure if your name is a reference to the god of Red Dwarf or the yonic pokemon, but either way, cheers.

[–] [email protected] 4 points 5 months ago

Hahaha, it's a play on my name and the Pokemon yeah. But I am also a red dwarf fan so perhaps it has 3 meanings!

[–] [email protected] 7 points 5 months ago (4 children)

Sorry, but this is really useless. I support the cause, but there is absolutely no need for this software. I think this community is meant for software that actually has a use.

[–] [email protected] 53 points 5 months ago

I wasn't aware that we all had to adhere to YOUR standards of which softwares are useful/needed.

Sometimes people just want something. Maybe it doesn't align with what you want, but that doesn't make it wrong.

[–] [email protected] 42 points 5 months ago (1 children)

It's free and it's open source software. It can be discussed here.

Some software is more about looking nice than serving a utility.

I learned a lot about the system tray writing it. I think it stands as a decent example for how to add an icon to the system tray.

[–] [email protected] 2 points 5 months ago

Thank you for publishing it under a permissive license.

[–] [email protected] 33 points 5 months ago

Your comment is really useless. I support the cause of free speech, but there is absolutely no need for what you said. I think this community is meant for discussions that are meaningful

[–] [email protected] 8 points 5 months ago

Do xsnow and xpenguins next!

[–] [email protected] 2 points 5 months ago (1 children)

What's the point? Just pick a pride flag as your start menu icon or desktop background image.

[–] [email protected] 10 points 5 months ago

What if you want it in your system tray?

[–] [email protected] 2 points 5 months ago (1 children)

How do I compile from source? I would like to see that in the readme

[–] [email protected] 5 points 5 months ago* (last edited 5 months ago) (1 children)

It uses a makefile, you can just type make while in the pride-system-icon directory.

On Windows you may need to install GNU make first.

You'll need to have Go installed, I've added a vendor directory to make it easier. The compiled files will be placed in dist/windows/prideicon.exe and dist/linux/prideicon

Here are the commands to compile without using make:

go build -mod vendor -tags linux -o prideicon
go build -mod vendor -tags windows -ldflags -H=windowsgui -o prideicon.exe

[–] [email protected] 1 points 5 months ago (1 children)
[–] [email protected] 3 points 5 months ago

I also added a section to the project readme, thanks for the suggestion.

[–] [email protected] 2 points 5 months ago (1 children)

Screenshot for reference?

Option to change it to any flag?

[–] [email protected] 3 points 5 months ago

You can change it to any flag by modifying .config/prideicon/lastselected so the first line is the absolute path to the image you want (png on Linux, ico on Windows).

I considered adding a menu option to open a prompt to select a custom icon, but I wasn't sure how many people would want to use it, so I just left it as a configuration file option for now.

Screenshots are a good idea.