Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

absentbird, to foss in Pride System Icon
@absentbird@lemm.ee avatar

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.

absentbird, to foss in Pride System Icon
@absentbird@lemm.ee avatar

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

absentbird, to foss in Pride System Icon
@absentbird@lemm.ee avatar

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

absentbird, to opensource in Pride System Icon
@absentbird@lemm.ee avatar

Thank you!

I just added a feature where you can select whichever icon you want by editing the text file in .config/prideicon/lastselected

Just make it one line of text with the absolute path to the icon (.png on Linux, .ico on Windows) then restart the program.

absentbird, to foss in Pride System Icon
@absentbird@lemm.ee avatar

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.

absentbird, to opensource in Pride System Icon
@absentbird@lemm.ee avatar

Done. Thanks for reminding me.

absentbird, to foss in Pride System Icon
@absentbird@lemm.ee avatar

What if you want it in your system tray?

absentbird, to foss in Pride System Icon
@absentbird@lemm.ee avatar

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.

absentbird, to foss in Pride System Icon
@absentbird@lemm.ee avatar

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.

absentbird, to opensource in Pride System Icon
@absentbird@lemm.ee avatar

I wasn’t sure where to post it. It looked like this community had a decent number of posts showing off open source projects, so I figured it would fit in.

absentbird, to opensource in Pride System Icon
@absentbird@lemm.ee avatar

It seemed like other people were sharing their open source projects here. If it’s against the rules I can post it somewhere else.

absentbird, to opensource in Pride System Icon
@absentbird@lemm.ee avatar

People in the Linux community were just having a laugh at Windows users who were unable to remove an icon, then some people were saying how they actually wanted a pride icon on their panel, so 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 I decided to polish up the project and share it again. I’m not expecting it to change the world, I just thought some people out there might enjoy it.

EDIT: it’s not a random executable, the source code is right there, you can compile it yourself if you like.

absentbird, to opensource in Pride System Icon
@absentbird@lemm.ee avatar

It’s an open source project.

absentbird, to opensource in Pride System Icon
@absentbird@lemm.ee avatar

You’re free to pick whichever one you prefer.

The progress flag is part of the creative commons, it isn’t exactly ‘closed source’: progress.gay/pages/terms-of-use

absentbird, to lemmyshitpost in To all you outside of the US...
@absentbird@lemm.ee avatar

Fair enough, but the backlash from 8 years was already beyond the pale.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • fightinggames
  • All magazines