<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title></title><meta http-equiv="Content-type" content="text/html; charset=UTF-8" /><style type="text/css">p { margin:0px; padding:0px; }</style></head><body style='background-color:rgb(255, 255, 255);background-image:none;background-repeat:repeat;background-position:0% 0%;font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;font-size:12px;margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;padding-top:5px;padding-bottom:5px;padding-left:5px;padding-right:5px;'><p style="font-family:Arial;"><font size="3">Thanks for the advice! I've managed to find the problem: it was within inkscape itself. There is an option for it's window in the </font><span></span></p><p id="__paragraph__1267808807000" style="font-family:Arial;"><br /><font size="3"><span></span></font></p><p id="__paragraph__1267808807000" style="font-family:Arial;"><font size="3"><span>File - Inkscape Preferences - Windows</span></font><span></span></p><p id="__paragraph__1267808857000" style="font-family:Arial;"><br /><font size="3"><span></span></font></p><p id="__paragraph__1267808857000" style="font-family:Arial;"><font size="3"><span>to set the use of the last opened window size. I'm kind of an apprentice on Linux (2 years of Ubuntu), but still I get the feeling that if X server manages windows to their core, the application shouldn't mess with these settings: then the configuration would be in one neat place and no additional daemons would be necessary, as the ones you've suggested. </span></font><span></span></p><p id="__paragraph__1267808952000" style="font-family:Arial;"><br /><font size="3"><span></span></font></p><p id="__paragraph__1267808952000" style="font-family:Arial;"><font size="3"><span>I'll look up the script and the devilspie and the .sh in case I need it for another app. Thank you both very much! </span></font><span></span></p><p id="__paragraph__1267808989000" style="font-family:Arial;"><br /><font size="3"><span></span></font></p><p id="__paragraph__1267808989000" style="font-family:Arial;"><font size="3"><span>Best, </span></font><span></span></p><p id="__paragraph__1267808991000" style="font-family:Arial;"><font size="3"><span>Tomislav<br /></span></font></p><p style="font-family:Arial;"><font size="3"><p> </p><p>----- Original Message -----</p><p>From: openbox-request@icculus.org</p><p>Sent: 03/05/10 06:00 PM</p><p>To: openbox@icculus.org</p><p>Subject: openbox Digest, Vol 13, Issue 5</p><p> </p><div><div><pre>Send openbox mailing list submissions to<br />openbox@icculus.org<br /><br />To subscribe or unsubscribe via the World Wide Web, visit<br />http://icculus.org/mailman/listinfo/openbox<br />or, via email, send a message with subject or body 'help' to<br />openbox-request@icculus.org<br /><br />You can reach the person managing the list at<br />openbox-owner@icculus.org<br /><br />When replying, please edit your Subject line so it is more specific<br />than "Re: Contents of openbox digest..."<br /><br /><br />Today's Topics:<br /><br /> 1. default window size for a specific application<br /> (tomislav_maric@gmx.com)<br /> 2. Re: default window size for a specific application (Johan Vromans)<br /> 3. Re: default window size for a specific application<br /> (Anthony Thyssen)<br /><br /><br />----------------------------------------------------------------------<br /><br />Message: 1<br />Date: Thu, 04 Mar 2010 18:34:25 +0100<br />From: "tomislav_maric@gmx.com" <tomislav.maric@gmx.com><br />Subject: [openbox] default window size for a specific application<br />To: openbox@icculus.org<br />Message-ID: <20100304173729.134300@gmx.com><br />Content-Type: text/plain; charset="us-ascii"<br /><br />Hi everyone, <br /><br />I'm trying to configure the inkscape application to start with a different window size from the default one: the default one is too small. I've defined the proper "class" and "name" for the app in the rc.conf and played around with the options: everything works fine. Big thanks to the developers of this fast and beautiful software. :) <br /><br />I've tried to use the settings:<br /><br />inkscape*geometry: 800x600+0+0<br /><br />in the ~/.Xdefaults file because I didn't find the window size option for a specific app in the rc.conf. Is there such a parameter? The applications seem to ignore the .Xdefaults (firefox and inkscape) and giving them "-geometry" option when calling them from the console does nothing (inkscape= warnings, firefox= plain ignoring). <br /><br />Inkscape is really small when it starts and that's why I'm trying to do this... I would be grateful for any advice .... <br /><br />Tomislav<br />-------------- next part --------------<br />An HTML attachment was scrubbed...<br />URL: <http://icculus.org/pipermail/openbox/attachments/20100304/350a1bb5/attachment.html><br /><br />------------------------------<br /><br />Message: 2<br />Date: 04 Mar 2010 20:57:33 +0100<br />From: Johan Vromans <jvromans@squirrel.nl><br />Subject: Re: [openbox] default window size for a specific application<br />To: openbox@icculus.org<br />Message-ID: <m2sk8fkggi.fsf@phoenix.squirrel.nl><br />Content-Type: text/plain; charset=us-ascii<br /><br />"tomislav_maric@gmx.com" <tomislav.maric@gmx.com> writes:<br /><br />> The applications seem to ignore the .Xdefaults (firefox and<br />> inkscape) and giving them "-geometry" option when calling them from<br />> the console does nothing (inkscape= warnings, firefox= plain<br />> ignoring).<br /><br />Yes. For some unknown reasons modern GTK based apps do not listen to<br />these reasonable commands...<br /><br />You may wish to take a look at devilspie.<br /><br />-- Johan<br /><br /><br />------------------------------<br /><br />Message: 3<br />Date: Fri, 5 Mar 2010 10:08:15 +1000<br />From: Anthony Thyssen <A.Thyssen@griffith.edu.au><br />Subject: Re: [openbox] default window size for a specific application<br />To: openbox@icculus.org<br />Message-ID: <20100305100815.37ea144a@wraith><br />Content-Type: text/plain; charset=US-ASCII<br /><br />On 04 Mar 2010 20:57:33 +0100<br />Johan Vromans <jvromans@squirrel.nl> wrote:<br /><br />| "tomislav_maric@gmx.com" <tomislav.maric@gmx.com> writes:<br />| <br />| > The applications seem to ignore the .Xdefaults (firefox and<br />| > inkscape) and giving them "-geometry" option when calling them from<br />| > the console does nothing (inkscape= warnings, firefox= plain<br />| > ignoring).<br />| <br />| Yes. For some unknown reasons modern GTK based apps do not listen to<br />| these reasonable commands...<br />| <br />| You may wish to take a look at devilspie.<br />| <br />The other way is to watch for the winodw to open then resize it using a<br />window manager helper program. I do this myself to reset my firefox<br />window on startup.<br /><br />Devilspie is one such program but it watches for new windows FOREVER!<br />that is every time a new winodw for a a watched application openes it<br />does the deed, not just for the first one.<br /><br />I did not what this for my own firefox resize. I only wanted the first<br />specific window opened a specific size. I also wanted it iconified<br />automatically which GTK application also do not provide options for.<br /><br />My solution was to first have an application script called "xwin_find"<br /><br />Download from <br /> http://hobbit.ict.griffith.edu.au/~anthony/software/xwin_find.sh<br /><br />It is a shell script that for a given period of time waits for a<br />given window to appear, and return its windowID so I can then<br />resize/iconify it.<br /><br />Here is what I do for firefox from by 'extra clients' session script<br /><br /> ( firefox -P default -geometry 820x1000+530+70 & ) &<br /> if id=`xwin_find 60 "Anthony .* Mozilla Firefox"`; then<br /> echo "Main firefox window found (id=$id)"<br /> # size, position, and iconify<br /> xwit -resize 820 1000 -move 530 70 -iconify -id $id<br /> fi<br /><br />The first line starts it.<br />the if waits for a window to appear with tne title specified<br />and notes its WindowID.<br />Then the 'xwit' program resizes and iconify's it.<br /><br />you could alos use wmctrl instead of xwit<br /><br /><br /><br /> Anthony Thyssen ( System Programmer ) <A.Thyssen@griffith.edu.au><br /> --------------------------------------------------------------------------<br /> If we forget to respect our Great Earth Mother,<br /> She will withhold Her blessings, and no longer provide for us.<br /> -- Jean M. Auel "The Mammoth Hunters"<br /> --------------------------------------------------------------------------<br /> Anthony's Castle http://hobbit.ict.griffith.edu.au/~anthony/<br /><br /><br />------------------------------<br /><br />_______________________________________________<br />openbox mailing list<br />openbox@icculus.org<br />http://icculus.org/mailman/listinfo/openbox<br /><br /><br />End of openbox Digest, Vol 13, Issue 5<br />**************************************</pre></div></div><p> </p></font></p></body></html>