Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong StartupWMClass #33

Open
felixlberg opened this issue Feb 11, 2020 · 3 comments
Open

Wrong StartupWMClass #33

felixlberg opened this issue Feb 11, 2020 · 3 comments

Comments

@felixlberg
Copy link

felixlberg commented Feb 11, 2020

Hello

There is a problem with the latest debian .deb version (3.21.6) and StartupWMClass in the .desktop file which is created under /usr/share/applications/micropad.desktop.

The app starts with the class: µPad not µPad so you are getting a problem similar to this (double icons in launcher). I was able to workaround this by adding StartupWMClass=µPad to the desktop file but I think the wrong name gets generated by electron in build process...

@NickGeek
Copy link
Member

Ah, interesting. I'll have a look at https://github.com/Zettlr/Zettlr/blob/829b2254da9779e3331d692bc8cd1ee3c1d76e7c/scripts/build-app.js to see if I can re-use their fix.

@felixlberg
Copy link
Author

I think this happens by the special character µ

If you use xprop WM_CLASS to show the actual generated WMClass you get different letters \302\265pad this seems to me like some wrong encoded binary values. Here some example.

@gushev
Copy link

gushev commented Dec 30, 2020

I've experienced the same issue. The workaround worked well. Thanks @felixlberg!

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

No branches or pull requests

3 participants