[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OOo startup



On Thu, Mar 10, 2005 at 06:38:50PM -0500, Rob Bochan wrote:
> On Thursday 10 March 2005 05:31 pm, Ralph Katz wrote:
> 
> > In my .xsession file, I have  xrandr -s 1  to launch X with 12 X 10
> > instead of the monitor's default 1600 X 1200 resolution.  I suppose you
> > could put an appropriately similar command in your .xinitrc file.  Just
> > an idea, I'm not an expert.
> 
> I see what you're referring to now. I just tried setting up a .xsession file 
> with:
> xrandr -s 1024x768 &&
> exec ooffice
> 
> which left me with the same effect as before. If I set the -s switch to 
> 800x600, that still leaves me with a ton of screen real estate unused, since 
> the lcd on that machine doesn't do 800x600. The fonts are godawful in that 
> mode too. 
> 
> It's a shame OOo has left this functionality up to the wm.

Maybe you could start a wm, then start openoffice, and then kill the wm?

If you choose a lightweight wm that supports setting window size in a
configuration file, that should work.

(.xinitrc would be something like:
mywm &
wmpid=$!
openoffice &
oopid=$!
sleep 30 # or whatever time openoffice needs to start on your system.
         # there is probably also a way to check if the correct window
	 # exists, using some tool to list windows.
kill $wmpid
wait $oopid
)

Frank

> 
> -- 
> 
> ...Rob
> Return address is obfuscated.
> You can reach me via robslaptop (at) gmail dot com
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan



Reply to: