![]() Registered Member ![]()
|
Window rules are not working with gimp, e.g:
the layers toolbox: Window Class: gimp Window role: gimp-dock Window Types: normal Window Title: Layers Position Forced Size Forced Desktop Forced Shaded Forced Keep Above Forced When i press apply in the window specific rules dialogue everything is placed correctly, but when i close and restart gimp the rules do not work. Is there a way to manually send the command to apply window rules again? instruct kwin to do the same action it does when i press apply? i could just wrap the gimp script which waits a bit and executes this command to correctly arrange gimp's interface. |
![]() KDE Developer ![]()
|
Chances are there is one little part of the rule that is preventing it from being applied. Have a look at it again and check everything--it's easy to overlook something like a window title in the "window extra" settings.
Also can you please attach your ~/.kde4/share/config/kwinrulesrc please. |
![]() Registered Member ![]()
|
Found the problem, apply initially doesn't work if the window name is specified in the window rule (for gimp, works fine for synaptic). For gimp i was using a combination of these, and thats why it was breaking. I created an additional general rule (21) which applied shading initially and used separate title specific window rules for the rest.
The relevent rules:
|
![]() Registered Member ![]()
|
To be more specific i think the window might be changing the name after its started, this would cause apply initially rules to fail, unfortunately there is no way to tell kwin to reapply rules to windows when the name changes.
|
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell