You are not logged in.
Hi people,
i've a "user" question concerning openbox.
My problem is simple: I would like to assign default window size to starting applications (e.g. when I start xterm, i would like it to have 800x600px).
I have found some options for setting default window position in the config file (rc.xml), but only for position...... I need to change _size_ of the window.
Does anybody know, how to do it?
Thanx for any constructive answers ![]()
Offline
You can set this for all window managers in ~/.Xdefaults:
# ~/.Xdefaults
XTerm*geometry: 90x28xterm, like most terminal programs, measures geometry in columns and rows rather than pixels.
Offline
How can I make openbox show the window size while resize it?
Use the Source, Luke!
Offline
I believe you can modify this section in ~/.config/openbox/rc.xml:
<resize>
<drawContents>yes</drawContents>
<popupShow>Nonpixel</popupShow>
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
<popupPosition>Center</popupPosition>
<!-- 'Center' or 'Top' -->
</resize>
Changing the popupShow value to Always will show a pop up for all applications, while Nonpixel only shows the popup for legacy apps that are based on columns & rows, such as xterm, urxvt, etc.
thayer williams ~ thayerwilliams.ca
Offline
heureka!:o
i must have be blind. i didn't realize i could use resources..... thank you very much ![]()
You can set this for all window managers in ~/.Xdefaults:
# ~/.Xdefaults XTerm*geometry: 90x28xterm, like most terminal programs, measures geometry in columns and rows rather than pixels.
Offline
When it comes to the geometry for pidgin, what do I define for the contact list window and the conversation window?
Use the Source, Luke!
Offline
I've searched some phorums and openbox documentation and found nothing ![]()
However, some guy recommended me to use devil's pie - window matching utility. So I'm going to test it tomorrow. I'm too tired for doing experiments today ![]()
When it comes to the geometry for pidgin, what do I define for the contact list window and the conversation window?
Offline
You could start urxvt with "urxvt -g 60x10+50+50"
the format is: (width, height in lines, gap X, gap Y)
Offline