75
Pride System Icon (gitlab.com)
submitted 2 months ago by absentbird@lemm.ee to c/foss@beehaw.org

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
[-] syd@lemy.lol 20 points 2 months ago

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

[-] absentbird@lemm.ee 51 points 2 months 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.

[-] Maddier1993@programming.dev 13 points 2 months ago

Rare Microsoft Win...

[-] Hedlosa@lemmy.blahaj.zone 25 points 2 months ago

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

[-] syd@lemy.lol 14 points 2 months ago

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

[-] AVincentInSpace@pawb.social 4 points 2 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

[-] unrushed233@lemmings.world 12 points 2 months 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.

[-] FlareHeart@lemmy.ca 54 points 2 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.

[-] absentbird@lemm.ee 44 points 2 months 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.

[-] jarfil@beehaw.org 2 points 2 months ago

Thank you for publishing it under a permissive license.

[-] megaman@discuss.tchncs.de 33 points 2 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

[-] Bitrot@lemmy.sdf.org 8 points 2 months ago

Do xsnow and xpenguins next!

[-] chloyster@beehaw.org 11 points 2 months ago

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

[-] absentbird@lemm.ee 4 points 2 months 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.

[-] chloyster@beehaw.org 4 points 2 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!

[-] jarfil@beehaw.org 2 points 2 months ago

Screenshot for reference?

Option to change it to any flag?

[-] absentbird@lemm.ee 4 points 2 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.

[-] wasabi@feddit.org 2 points 2 months ago

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

[-] absentbird@lemm.ee 10 points 2 months ago

What if you want it in your system tray?

[-] Lemongrab@lemmy.one 2 points 2 months ago

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

[-] absentbird@lemm.ee 5 points 2 months ago* (last edited 2 months 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

[-] Lemongrab@lemmy.one 1 points 2 months ago
[-] absentbird@lemm.ee 3 points 2 months 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

17766 readers
35 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