This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Why is "konsole --geometry" not being fixed?

Tags: None
(comma "," separated)
janpla
Registered Member
Posts
71
Karma
0
Perhaps this is not the right forum to ask, but we all have to start somewhere.

It used to be that you could set the initial size and position of konsole (and any other X application, really) from the command line; in konsole it would be something like:

konsole --geometry=80x25-0+0


to get 80 cols, 25 rows in the upper, right corner. This no longer works, and seems not to have worked for many years (I've seen posts about this from 2004). I know there are ways to get something like the same effect through the System Settings, but then all konsoles nd up in the same place. And apart from that, this is a bit like saying "You can no longer arrange the flowers in your front garden just like that, you now have to go to the high court, take out an injunction against thre neighbors, then complain to the Highway Commission, get a licence from the Water Board and pay three electricians, ..." In a word, it is idiotically complex.

And to be honest, being a developer myself, I find it strange that this is just left to fester for so long; I can't see that it should be a complex issue to fix. I might even do it myself, if only I could find the source code.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Are you sure anyone actually knows it's broken? I mean, is there a bug report?

That being said, it's not a feature I've seen anyone use in the last five years, so it doesn't really surprise me it's not being fixed -- which doesn't mean it shouldn't be, of course.

Cheers,
Sven


I'm working on the KDevelop IDE.
User avatar
google01103
Manager
Posts
6668
Karma
25
try using the --nofork option and note that the size parameters are pixels and not characters

also geometry seems to work fine in some other KDE apps fine, did not for Konversation

there are bug reports:
https://bugs.kde.org/show_bug.cgi?id=165355
https://bugs.kde.org/show_bug.cgi?id=147094


OpenSuse Leap 42.1 x64, Plasma 5.x

janpla
Registered Member
Posts
71
Karma
0
scummos: I think it is known and has been for a long time; I have found people complaining about it from long back. Seeing that KDE is a well managed project, I am confused why a simple error like this could go unnoticed in the first place. Especially since KDE4 seems to come with things like session-restore turned on by default (I certainly had to turn it off when I installed Debian 7) - one can hardly avoid noticing how the restored applications open up all over the place.

It would have been nice too, if it was possible to specify which desktop to place a window on.

google01103: --nofork seems to have no effect when I test it from the command line - which perhaps isn't so surprising. It seems that konsole accepts --geometry, but ignores it.
User avatar
google01103
Manager
Posts
6668
Karma
25

Sun Sep 29, 2013 12:10 pm
all I can tell you is that it works for me

Code: Select all
konsole --nofork --geometry=280x325-0+220


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Does the --geometry argument only fail for the first window, or for all windows?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
janpla
Registered Member
Posts
71
Karma
0
Sorry guys - I have been out of action for a while, so I didn't your replies.

google01103: I have tried your command line and many others, and it makes no difference. Which version do you use - mine is 2.8.4, apparently (64 bit).

bcooksley: --geometry fails for all instances of konsole. I haven't tried with other applications, though, so I don't know if it is a global problem or just in konsole.
User avatar
google01103
Manager
Posts
6668
Karma
25
running 2.11.3 64bit


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please try with other applications, as this is a Qt level command line argument.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot]