Bug 147094 - The "--geometry" option does not work for Konsole
Summary: The "--geometry" option does not work for Konsole
Status: CONFIRMED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.9.1
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 175399 212462 213474 266291 279542 (view as bug list)
Depends on: 165355
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-22 16:31 UTC by Krisztian Toth
Modified: 2019-03-12 14:36 UTC (History)
18 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krisztian Toth 2007-06-22 16:31:08 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

I just downloaded the KDE 4 Live image to test the current state of the KDE4 from the following location:

http://home.kde.org/~binner/kde-four-live/KDE-Four-Live.i686-0.1.1.iso

I tried konsole, because this application is frequently used by  myself. I see a lot of changes and I have to say I liked what I saw. However I have a comment about it:

It will be possible to determine the starting terminal size (80x24, 100x50, ...)  in the future? I didn't find this option in the konsole for KDE4 current implementation.

Best Regards,
Krisztian Toth
Comment 1 Robert Knight 2008-01-16 02:16:01 UTC
Relates to http://bugs.kde.org/show_bug.cgi?id=155603
Comment 2 Robert Knight 2008-01-16 02:20:29 UTC
Relates to http://bugs.kde.org/show_bug.cgi?id=153433
Comment 3 FiNeX 2008-11-17 15:31:10 UTC
It is available a --geometry option, but it doesn't work: see bug #175399.
Comment 4 FiNeX 2008-11-17 15:31:37 UTC
*** Bug 175399 has been marked as a duplicate of this bug. ***
Comment 5 Nicolas 2009-08-17 12:00:05 UTC
This bug is a duplicate of bug 165355.
Comment 6 Juergen Harms 2009-08-17 16:33:21 UTC
Nice to see that this bug still has activity and, so far, has not been strangulated by its beard - probably the number of supporting votes has saved it. I do not understand why 4.3 has come out without dealing with such an easy-to-tackle problem.
Comment 7 Jonathan Marten 2010-01-25 18:53:19 UTC
*** Bug 212462 has been marked as a duplicate of this bug. ***
Comment 8 Jonathan Marten 2010-01-25 18:53:43 UTC
*** Bug 213474 has been marked as a duplicate of this bug. ***
Comment 9 Jekyll Wu 2011-08-01 17:14:18 UTC
*** Bug 266291 has been marked as a duplicate of this bug. ***
Comment 10 Jekyll Wu 2011-08-06 18:19:46 UTC
*** Bug 279542 has been marked as a duplicate of this bug. ***
Comment 11 Kurt 2012-01-26 07:41:53 UTC
Up to KDE 4.8 (4.5 years!) and this problem still hasn't been addressed.
Comment 12 Domenico Andreoli 2012-08-28 09:42:21 UTC
Unfortunately the same applies here:

$ konsole -v
Qt: 4.8.2
KDE Development Platform: 4.8.4 (4.8.4)
Konsole: 2.8.4

This is preventing my complete transition from rxvt.
Comment 13 Jekyll Wu 2012-08-30 12:04:40 UTC
So what is this report is really about ?

1). the "--geometry" option ?  That broken option is provided by kdelibs, see bug 165355.  Even if that bug is fixed, "--geometry" works in the unit of pixel , while I think emulators users only care about columns and rows (in the unit of character).

2). the "--vt_sz" option from the KDE3 konsole?  I guess so.  Unfortunately, the KDE4 way of remembering the previous size implicitly does not work well that kind of explicit overriding from command line . See bug 152385 comment #84 for the current status for KDE SC 4.9+ .  

So this report is just not specific enough, and not that useful. There will not be any progress in this specific bug report, even if there will be progress in the real problem.  Choose a more specific bug report and watch for it.
Comment 14 Kurt 2012-08-30 17:29:14 UTC
You've closed bugs as duplicates of this one that DO provide very specific information.  Maybe your method for closing bugs as duplicates should include copying useful information into the ticket you consider to be the "main" ticket (like this one).

I realize a lot of the KDE developers consider this ticket to be a nag and dislike having to have the functionality requested.  It appears a lot of users DO consider ability to specify a --geometry to be useful.

As I've discussed elsewhere I'm asking for the ability to start up a mix of applications such as konsole and other utilities I've written in a given layout from something such as a shell script.  There have been suggestions about using the pre placement capabilities where I can specify a few things for a single app.  These typically can't be edited by hand to configure the window locations and are hard to adjust/transfer to other machines.  I used the --geometry functionality to do this -- starting with the X window systems I was using on Sun 2 and Sun 3 boxes 25 years ago.
Comment 15 Kurt 2012-08-30 17:38:17 UTC
I'm interested in #1 (--geometry).  I do realize it is specified in pixels.  I'm looking for that ability.  To specify both the width in pixels and the upper left corner.

So being able to specify:
% konsole -geometry 500x500+100+100
Which sets a konsole window that is 500x500 pixels located at 100:100
Comment 16 dolgener 2012-08-31 15:59:00 UTC
That's exactly what I wanted to reply, too.
One purpose would be in scripts to open konsole windows in sizes and
positions as needed.

-------- Original-Nachricht --------
Betreff: 	[Bug 147094] konsole startup geometry in KDE4
Datum: 	Thu, 30 Aug 2012 17:38:17 +0000
Von: 	Kurt <kmahan@gmail.com>
Antwort an: 	bug-control@bugs.kde.org
An: 	Elmar Dolgener <Elmar.Dolgener@informatik.uni-erlangen.de>



https://bugs.kde.org/show_bug.cgi?id=147094

--- Comment #15 from Kurt <kmahan@gmail.com> ---
I'm interested in #1 (--geometry).  I do realize it is specified in pixels. 
I'm looking for that ability.  To specify both the width in pixels and the
upper left corner.

So being able to specify:
*% konsole -geometry 500x500+100+100
Which sets a konsole window that is 500x500 pixels located at 100:100
*
Comment 17 furue 2012-08-31 19:09:06 UTC
May I add that this feature (the -geometry option specifying the initial position and size in pixels) is supposed to work on ALL X11 applications that initially open a floating window.  We should consider the feature not working as a bug, rather than a feature request.
Comment 18 dolgener 2012-09-03 07:57:12 UTC
Yes, that would be okay! It was just this:

konsole --help-all | grep geom
  --geometry <geometry>     Legt die Geometrie des Hauptelements im
Client-Programm fest. Das Format für die Argumente finden Sie mit „man X“.
xport LANG=en_US-UTF-8 ; konsole --help-all | grep geom
  --geometry <geometry>     sets the client geometry of the main widget
- see man X for the argument format (usually WidthxHeight+XPos+YPos)

that made me feel having encountered a bug.

Greetings from Bavaria,
Elmar


Am 31.08.2012 21:09, schrieb furue@hawaii.edu:
> https://bugs.kde.org/show_bug.cgi?id=147094
>
> --- Comment #17 from furue@hawaii.edu ---
> May I add that this feature (the -geometry option specifying the initial
> position and size in pixels) is supposed to work on ALL X11 applications that
> initially open a floating window.  We should consider the feature not working
> as a bug, rather than a feature request.
>
Comment 19 Jekyll Wu 2012-09-14 05:31:49 UTC
Thanks for all your feedback. 

Now update this bug report to make it more specific, and mark bug 165355 as its blocker.
Comment 20 Juergen 2013-01-17 17:39:08 UTC
Does not work as described -- and that since many releases.

How can anybody still respect these KDE puppet theatre?
Comment 21 Louis Moureaux 2015-02-03 17:55:47 UTC
Still an issue with Frameworks 5.
Comment 22 Shawn Rutledge 2016-08-02 08:43:59 UTC
Still not fixed.  I also would like to switch from urxvt, due to having hidpi support in Qt applications, but I'm in the habit of using openbox menu entries which launch tiled configurations of multiple terminals for specific projects, so I need the geometry option to work.
Comment 23 George R. Goffe 2019-02-27 05:50:40 UTC
Hi,

I think I reported this "kind" of bug some time ago... I'm currently using konsole5-18.12.2-1.fc30.x86_64... a Fedora 30 (rawhide) system. It appears to work from the command line of another konsole instance. I thank Mr. Wu for pointing out that the unit of measure is PIXELS and not the "normal" X11 way of specifying geometry. Why would someone choose to implement geometry is beyond me. Sorry.

konsole -geometry 01210x610+011+011 produced a knosole near the top left side of the desktop (kde that is).

Does the above mean that geometry is supported?

George...
Comment 24 George R. Goffe 2019-02-27 09:00:54 UTC
Correction: "Why would someone choose to implement geometry is beyond me" should read "Why would someone choose to implement geometry this way is beyond me"
Comment 25 Christoph Feck 2019-03-12 11:20:51 UTC
Maybe you switched your Konsole configuration to "one process per window". In this case, the -geomtry option could work. Previous Konsole versions defaulted to creating a separate process for all windows, but failed to pass all command line options to the sub-process.
Comment 26 George R. Goffe 2019-03-12 14:36:16 UTC
Christoph,

I think part of the problem is described by comment 13 below.

I'll give your suggestion a try anyway.

George...