- cross-posted to:
- opensource@lemmy.ml
- cross-posted to:
- opensource@lemmy.ml
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.
Why would I need a pride icon in my taskbar though?
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.
Rare Microsoft Win…
You may not need it, but some of us want it as an option :)
I like having options even if I don’t need it too :) 👍
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
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.
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.
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.
Thank you for publishing it under a permissive license.
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
Do xsnow and xpenguins next!
So many people asking what the point is while I’m over here enjoying my new system icon. Thanks for the post!!! 🏳️🌈🏳️⚧️
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.
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!
How do I compile from source? I would like to see that in the readme
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 indist/windows/prideicon.exe
anddist/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
Thanks.
I also added a section to the project readme, thanks for the suggestion.
What’s the point? Just pick a pride flag as your start menu icon or desktop background image.
What if you want it in your system tray?
Screenshot for reference?
Option to change it to any flag?
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.