I have a display with a native resolution of 1024X600. I set it to 1024X724, because some window can't be display in the native resolution. I have to use the mouse to do the panning. But for the majority of windows, the native resolution is enough.
1 Is there a way to set all windows be displayed in the upper 1024X600 region of the display?
2 For some applications, I want to specify the exact position and size.
I tried this for emacs, both position and size don't work. Any ideas?
<application name="emacs24" class="Emacs" type="normal">
<position force="yes">
<x>0</x>
<y>0</y>
</position>
<height>600</height>
<width>1024</width>
<decor>no</decor>
<maximized>no</maximized>
</application>
The output of obxprop is:
_OB_APP_TYPE(UTF8_STRING) = "normal"
_OB_APP_CLASS(UTF8_STRING) = "Emacs"
_OB_APP_NAME(UTF8_STRING) = "emacs24"
Best Answer
Try
The
<height>
and<width>
need to be in the<size>
tag.From the example configuration of Openbox