Howto set metadata (wm_class) for x11 application?

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
chefniko
In need of some credit
In need of some credit
Posts: 1
Joined: Fri May 07, 2021 1:27 am

Howto set metadata (wm_class) for x11 application?

Post by chefniko » Fri May 07, 2021 1:35 am

I'm trying to get an application made with wxWidgets to play nicely with X11 (KDE/Wayland), but I'm not having much luck. It looks like a lot of the metadata which KDE looks for is not populated in a usable way. Specifically WM2DesktopFileName and WM_CLASS.

WM_CLASS is populated, but not in a way that can be reliably used. So, how would I go about getting this metadata updated? It would be great if there was a simple answer like a config option, as it isn't my application, but if the only answer available is more in-depth, I'll take that too.

Thanks in advance.

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 5154
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Howto set metadata (wm_class) for x11 application?

Post by ONEEYEMAN » Fri May 07, 2021 4:55 pm

Hi,
How did you build wxWidgets?
.Did you actually use wxUniversal (AKAX11) port of the library?

Thank you.

Post Reply