Bug 414433 - Allow different kinds of application rules for the same program
Summary: Allow different kinds of application rules for the same program
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: rules (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-23 20:10 UTC by manuelchaves
Modified: 2023-01-25 11:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description manuelchaves 2019-11-23 20:10:43 UTC
I have a Firefox instance that I set, with application rules, to always be in a certain place, with certain size, etc. I have another place where I want to fill it with another Firefox instance, with its own position, size, and all. I understand I can match application name "firefox" or title, but title would be dynamic based on the tabs I think. How should I do this? Right now what I do is just have Chromium as the other browser window, but it would be nicer to have the same browser.

There should be a way to do this somehow.
Comment 1 manuelchaves 2019-12-19 15:42:42 UTC
What I've been doing to get around this is have an extension on Firefox that lets me change and persist the title. That way I can use per-title rules on each window.
Comment 2 Vlad Zahorodnii 2023-01-25 11:38:07 UTC
You would need to somehow uniquely identify firefox instances. One way is to match the title, another option might be to specify other StartupWMClass or pass --name argument to firefox and then add a resource class match.