Vadoola / Tomotroid

Simple Pomodoro Timer made with Rust + Slint. Design shamelessly ripped from Pomotroid
MIT License
38 stars 8 forks source link

App Icon on Linux #21

Open Vadoola opened 1 year ago

Vadoola commented 1 year ago

I have an app icon working on Windows through the RC file...how do I get the app to have an icon on Linux

Vadoola commented 1 year ago

So I still can't get the icon to show up in Gnome with a tray icon extension. I've tried a handful of extensions, and tried running under Wayland and X11.

I also tried it under X11 with XFCE and Mate. With XFCE a space for a tray icon appeared, but it was empty, just a space in the app indicator area, I could however hover over it and get the tool tip, and click and get the menu. The Quit option on the menu seems to work fine but the Minimize/Restore doesn't (that is being tracked in Issue #22)

In Mate an icon shows up, but it has a bright yellow background and what looks like white noise overlayed on it. Perhaps my reading the PNG is incorrect.

I haven't not been able to test this in Wayland with KDE as I'm having troubles getting KDE installed on my VM at the moment.

Vadoola commented 8 months ago

Could I add some extra functionality using the desktop file to allow for starting, pausing, resetting timer etc from dock icon, similar to this GTG issue?: https://github.com/getting-things-gnome/gtg/issues/1047

Vadoola commented 8 months ago

So it looks like in regards to what was linked in the GTG Issue I'm looking for the actions section of the .desktop file spec: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#extra-actions