75
Pride System Icon (gitlab.com)
submitted 1 year ago by [email protected] to c/[email protected]

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 new old
[-] [email protected] 20 points 1 year ago

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

[-] [email protected] 51 points 1 year ago

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.

[-] [email protected] 13 points 1 year ago

Rare Microsoft Win...

[-] [email protected] 26 points 1 year ago

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

[-] [email protected] 14 points 1 year ago

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

[-] [email protected] 4 points 1 year 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] 12 points 1 year ago

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] 54 points 1 year 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] 44 points 1 year ago

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 1 year ago

Thank you for publishing it under a permissive license.

[-] [email protected] 33 points 1 year 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 1 year ago

Do xsnow and xpenguins next!

[-] [email protected] 11 points 1 year ago

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 1 year ago

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 1 year 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] 2 points 1 year ago

Screenshot for reference?

Option to change it to any flag?

[-] [email protected] 4 points 1 year 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.

[-] [email protected] 2 points 1 year ago

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

[-] [email protected] 10 points 1 year ago

What if you want it in your system tray?

[-] [email protected] 2 points 1 year ago

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

[-] [email protected] 5 points 1 year ago* (last edited 1 year ago)

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 1 year ago
[-] [email protected] 3 points 1 year ago

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

this post was submitted on 30 Jun 2024
75 points (100.0% liked)

Free and Open Source Software

19377 readers
5 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