Hey everyone!
I’m running Kicad and as it sits, I can do what I need to for windowing but here’s the thing,
When the base app is opened (much like when you open the base app of Libre Office) and I pick an option (in this case, its a schematic editor) so think of it as opening Writer from the Libre main app.
That being said, xprop shows this:
WM_CLASS(STRING) = “kicad”, “Kicad”
WM_ICON_NAME(COMPOUND_TEXT) = “Eeschema — FA-1 [/] — /home/chris/KiCad/FA-1/FA-1”
_NET_WM_ICON_NAME(UTF8_STRING) = “Eeschema — FA-1 [/] — /home/chris/KiCad/FA-1/FA-1”
WM_NAME(COMPOUND_TEXT) = “Eeschema — FA-1 [/] — /home/chris/KiCad/FA-1/FA-1”
_NET_WM_NAME(UTF8_STRING) = “Eeschema — FA-1 [/] — /home/chris/KiCad/FA-1/FA-1”
What I’m trying to do is somehow wild card the “Eeschema — FA-1 [/] — /home/chris/KiCad/FA-1/FA-1” part to just key on “Eeschema” so that it will open a floating window.
In short, I don’t know how to have it just use what I mentioned as each schematic will be different.
It’s obvious I cant use wm_class (since I already do for the main application) - So really, I need to be able to float the sub programs is what I’m saying.
I really could use some advise since I tried both * and $ after the Eeschema and that didn’t work. Maybe what I’m doing can’t be done?
Oh, I forgat that I am actually using this syntax (title):
for_window [title=“Eeschema”] floating enable
UPDATE:
What’s odd, if I call Eeschema on it’s own bypassing the main Kicad app, the “^Eeschema$” works just fine. From what I have investigated, the ^ and the $ sorta act as wildcards. But it still fails to run as expected from the main app. Unfortunately, I do believe that is what is required since the whole PCB process flows from the main app. Arrrgghh!!!
Still would like to get this to work.
TIA
Cheers
Chris