Skip to content

Set application desktop filename#376

Open
visW00tze wants to merge 1 commit intovinifmor:masterfrom
visW00tze:set-application-desktop-filename
Open

Set application desktop filename#376
visW00tze wants to merge 1 commit intovinifmor:masterfrom
visW00tze:set-application-desktop-filename

Conversation

@visW00tze
Copy link
Copy Markdown

In Gnome 47.1 with Dash to Dock extension and Wayland, in the dock the bauh icon was the standard unknown application cogwheel icon.

By inspecting the window with Looking Glass, one can see that the class was indeed "python3".

Simply modifying context.py new_qt_application and setting explicitly the application desktop filename seems to resolve my issue: Looking Glass shows now: bauh | wmclass: bauh | app: bauh.desktop.

I am using __app_name__ as the desktop application filename assuming that if the app name changes, then the desktop filename would change as well.

Related issue: #372

@scott-dft
Copy link
Copy Markdown

This is also a great fix for KDE Plasma Wayland mess, that saw, for me, the app window being reported as Vorta (or for others presumably some other random Python app that was on their system). Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants