Skip navigation.

Open a filer window with a particular style, size, position

How can I open a filer window with a particular style, size, position, etc?

You can use the OpenDir SOAP method to set the style of the window directly (see the SOAP section of the filer's manual). You can also use use this to set the WM_CLASS, so that your window manager can be set to treat the window

Matthew Weier O'Phinney writes:

"I now have an XML file entitled appsDir.xml containing the following:

<env:Envelope xmlns:env="">
  <env:Body xmlns:ns="">



In addition, I have installed httpbbappconf.

In addition, I have applied a patch (link is now broken; is the bug fixed now?) that makes the program behave when in an iconic or withdrawn (read: dockapp) state, as well as allowing for certain "geometry" type tags.

I run bbappconf as 'bbappconf -i &' in my .xinitrc file.

bbappconf looks for the WM_CLASS name and class. The Class defined in the SOAP RPC xml file above is the WM_CLASS name; class remains "ROX-Filer". Based on the combination of class and name, it applies the settings specified in a configuration file to the window in question when it appears.

In my ~/.bbtools/ file, I have a series of applications for which I want to control either geometry, stickiness, starting workspace, or toggling decor. I have the following entry now, corresponding to the
above SOAP RPC xml file:

bbappconf.3.classHint.class:    ROX-Filer     AppsDir
bbappconf.3.positionX:          698
bbappconf.3.positionY:          0
bbappconf.3.width:              324
bbappconf.3.height:             200
bbappconf.3.Stick:              true

This places a window 324x200 in the upper right corner of my desktop and makes it sticky.

bbappconf, while originally developed as a blackbox tool, can be used without blackbox. A file entitled bbappconf.nobb contains settings that should be used if not using blackbox.

Also, the positionX, positionY, width, and height attributes are undocumented. They are a part of the patch to bbappconf detailed above -- this is why I include a sample configuration in here."

Syndicate content