You are not logged in.
Hello #!ers,
any new windows are appearing somewhere on the screen. I want to force them to open centered. Center new windows is checked in the Openbox GUI config tool.
btw: I'm using a second extended monitor.
Thanks in advance. :)
Offline
Hello again,
another thing is, that iceweasel isn't focused using the keyboard shortcut.
<focusNew>yes</focusNew>as well as
<startupnotify><enabled>true</enabled><name>Web Browser</name></startupnotify>are set in the rc.xml.
Due to the certain program maybe it is a iceweasel related bug (or feature? ^^)!?
Appreciate any kind of help. 
Last edited by poldebi (2012-08-16 01:18:26)
Offline
Any new window is placed with: smart (random) or under mouse. Default is top left, center new window in smart mode means first is centered and any new depends of free space available - if it is not available random goes.
To force all windows goes centered any new, you can use per app setings and make something like this and put it in your the end of your rc.xml (between <applications></applications> see example there
):
<application class="*" type="normal">
<position force="yes">
<x>center</x>
<y>center</y>
</position>
</application>Or use obapps gui utility for that purpose.
Last edited by smoki (2012-08-19 00:28:15)
Offline
Any new window is placed with: smart (random) or under mouse. Default is top left, center new window in smart mode means first is centered and any new depends of free space available - if it is not available random goes.
That is nice to know. Thanks for teaching me there. 
To force all windows goes centered any new, you can use per app setings and make something like this and put it in your the end of your rc.xml
It seems to work how it supposed to be. Due to the fact it forces all windows to be centered, my notifications are also centered.
How should the code look like to add an exception for the notification daemon (on waldorf)?
Thanks in advance! 
Last edited by poldebi (2012-08-19 15:52:08)
Offline
<application class="Xfce4-notifyd" name="xfce4-notifyd" type="normal"><position force="no"><x>1600</x><y>50</y><monitor>default</monitor></position></application>Something like that for top right, x and y postion depends on your screen resolution:). Or fairly better - non resolution dependant:
<application class="Xfce4-notifyd" name="xfce4-notifyd" type="normal"><position force="no"><x>-50</x><y>50</y><monitor>default</monitor></position></application>Last edited by smoki (2012-08-19 18:34:47)
Offline
You're awesome! Works like a charm. 
Now I have to find out how i can handle the Skype contact window, so it is in the bottom right corner.
respects
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.