You are not logged in.
<application class="Pcmanfm">
<decor>no</decor>
<maximized>true</maximized>
<focus>yes</focus>
<layer>normal</layer>
<fullscreen>no</fullscreen>
</application>
I want to add more apps to this setup, how to do that?
I mean something like:
<application class="Pcmanfm" "Pale moon">
Offline
I think you need a new stanza for each application, here is the upstream documentation:
Offline
iirc, wildcards are supported, e.g.
<application class="P*">
would correspond to your example.
Offline
I see. I wanted to quickly add/remove apps to this template.
I've just noticed openbox doesn't detect dialog boxes so it's better to use TITLE instead of CLASS:
<application title="Navigator">
<decor>no</decor>
<maximized>true</maximized>
</application>
This way Pale Moon main window is maximised and undecorated but it's children windows ('Save as', Preferences or Bookmarks Library) are not affected.
Offline
iirc, wildcards are supported, e.g.
<application class="P*">
would correspond to your example.
LOL this would maximise all apps beginning with P!
Initially I wanted to use this wildcard:
<application class="*">
and then to 'whitelist' some apps but either way lot of copy/paste work
Offline
I see. I wanted to quickly add/remove apps to this template.
I've just noticed openbox doesn't detect dialog boxes so it's better to use TITLE instead of CLASS:
<application title="Navigator">
<decor>no</decor>
<maximized>true</maximized>
</application>This way Pale Moon main window is maximised and undecorated but it's children windows ('Save as', Preferences or Bookmarks Library) are not affected.
You can use name, class, role, title, and type in various combinations for finer control - read through the page haos linked.
You must unlearn what you have learned.
-- yoda
Offline
Oh, I meant NAME instead of CLASS, not TITLE.
Anyways:
I want all web browsers to be maximised and undecorated so I thought about ROLE:
<application role="browser">
<decor>no</decor>
<maximized>true</maximized>
</application>
but it turns out that Pale Moons is 'browser' but UZBL, Netsurf, Xombrero and Dillo are not, so it's useless :-/
in addition, uzbl needs two entries; for uzbl-core and uzbl-tabbed.
now you fully understand my problem from post #1.
Last edited by mt1234555 (2018-02-01 01:58:01)
Offline
ohnonot wrote:iirc, wildcards are supported, e.g.
<application class="P*">
would correspond to your example.LOL this would maximise all apps beginning with P!
good, you understood my example!
I've just noticed openbox doesn't detect dialog boxes
are you sure?
it does on my system.
are you familiar with the `obxprop` command?
Offline
without obxprop I wouldnt know what to put into rc.xml.
by not detecting I mean it maximises all windows so I have to use NAME= to manually select which windows to maximise (or not). Some dynamic window managers auto-detect dialog windows and prevent them from maximising.
Offline
Sorry for necroposting, but
>something like:
<application class="Pcmanfm" "Pale moon">
is _exactly_ what i need.
>class="P*"
is not an option, diff. names.
Roles diff. too.
Tried many kinds of separators, but failed.
Any ideas?
Thanks in advance.
Offline