You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, May 4th 2004, 7:09pm

kstart and geometry

Trying to start Konqueror(or other app) with a certain size, but I just can't get kstart/kwin to work correctly.

Trying with
[code:1]
kstart -geometry 800x400+600+100 --window "blat1.png - KSnapshot" ksnapshot
[/code:1]
but that doesn't work, have tried with kedit, konqueror as well but it just won't work.
I use xwininfo to get the names of the windows.[/code]

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Tuesday, May 4th 2004, 7:29pm

--geometry does not work because kstart does not have a window

you need --geometry as part of the target programs options

Cheers,
_
Qt/KDE Developer
Debian User

3

Tuesday, May 4th 2004, 8:25pm

Thanks a lot, that did the trick=)

edit: another question, can I control other windows that doesn't have --geometry as option? Through kwin/kstart/dcop or similar.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Thursday, May 6th 2004, 7:12pm

Hmm, I don't know. Maybe KWin offers resize via DCOP.

But most X11 applications have such an option, it might be called differently though.

Cheers,
_
Qt/KDE Developer
Debian User