O posicionamento de novas janelas de caixa aberta é controlado pela seção placement
na sua configuração de caixa aberta ( ~/.config/openbox/rc.xml
):
<placement>
<policy>Smart</policy>
<!-- 'Smart' or 'UnderMouse' -->
<center>yes</center>
<!-- whether to place windows in the center of the free area found or
the top left corner -->
<monitor>Primary</monitor>
<!-- with Smart placement on a multi-monitor system, try to place new windows
on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
the active window is, 'Primary' - only on the primary monitor -->
<primaryMonitor>1</primaryMonitor>
<!-- The monitor where Openbox should place popup dialogs such as the
focus cycling popup, or the desktop switch popup. It can be an index
from 1, specifying a particular monitor. Or it can be one of the
following: 'Mouse' - where the mouse is, or
'Active' - where the active window is -->
</placement>
Sugiro brincar com o valor primaryMonitor
em particular.
Fonte: link
No que diz respeito à segunda parte da sua pergunta: instruir a openbox a não obscurecer áreas de tela específicas e / ou janelas de aplicativos é mais complicado e provavelmente implicaria em definir um tipo de janela especial como dock
ou panel
. Na conky
documentação :
own_window_type
if own_window is yes, you may specify type normal, desktop, dock, panel or override (default: normal). Desktop windows are special windows that have no window decorations; are always visible on your desktop; do not appear in your pager or taskbar; and are sticky across all workspaces. Panel windows reserve space along a desktop edge, just like panels and taskbars, preventing maximized windows from overlapping them. The edge is chosen based on the alignment option. Override windows are not under the control of the window manager. Hints are ignored. This type of window can be useful for certain situations.
(destaque o meu)
Alternativamente, você pode tentar configurar as margens na sua configuração de caixa aberta.