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

fixed konsole window size on startup

Tags: konsole konsole konsole
(comma "," separated)
grabner
Registered Member
Posts
8
Karma
0
OS
Hi!

In KDE3, one could choose a fixed window size for newly opened konsole windows. However, this feature seems to have been dropped in KDE4 (latest check with Konsole Version 2.3 (using KDE 4.3.1 "release 163"). This has already been discussed earlier (viewtopic.php?f=16&t=13219), but no solution is given there (IMO, remembering the size of a previous konsole window is only useful for a single desktop and a single konsole window). So is there any way to choose a fixed window size (at application startup) for konsole in KDE4?

Thanks & kind regards,
Markus
User avatar
Ahmad Samir
Registered Member
Posts
127
Karma
0
OS
I think you can create a window rule, open a new konsole window and resize it to the size you want, then right click the title bar of a newly opened window> advanced>special window settings> geometry, check "size", and change it to "Apply Initially".
grabner
Registered Member
Posts
8
Karma
0
OS
medo3891 wrote:I think you can create a window rule, open a new konsole window and resize it to the size you want, then right click the title bar of a newly opened window> advanced>special window settings> geometry, check "size", and change it to "Apply Initially".

Wow, this is indeed advanced :-) Thanks a lot, this is almost exactly what I was looking for ("almost" because it won't display the same amount of text when the font size is changed, but this is not really an issue for me).

Kind regards,
Markus
Rubens
Registered Member
Posts
20
Karma
0
Doesn't work for me. I've tried to make it remember a static default, and sometimes it does, but often it doesn't. Seems to depend on how it was started or something.

This is insane. Why do windows have to remember the last used size? Why not just a "remember this size as default?" as you could do in konsole in KDE3?

I'm currently looking for a better replacement of both konsole and dolphin because of this extremely annoying "feature".

I've been waiting for a fix for several years now, but even now, at KDE 4.6, such a basic feature is still missing.
User avatar
annew
Manager
Posts
1155
Karma
11
OS
If it doesn't work for you there is something broken in your install.


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
Rubens
Registered Member
Posts
20
Karma
0
annew wrote:If it doesn't work for you there is something broken in your install.


I've tried it on two separate installations of Fedora 14. Won't work.
ozjd
Registered Member
Posts
38
Karma
0
OS
Rubens wrote:
annew wrote:If it doesn't work for you there is something broken in your install.


I've tried it on two separate installations of Fedora 14. Won't work.


Works for me in F14 with KDE 4.6 but I used "Remember" not "Apply Initially".
Rubens
Registered Member
Posts
20
Karma
0
ozjd wrote:
Rubens wrote:
annew wrote:If it doesn't work for you there is something broken in your install.


I've tried it on two separate installations of Fedora 14. Won't work.


Works for me in F14 with KDE 4.6 but I used "Remember" not "Apply Initially".


What does "Remember" do? It seems to remember the last position (looks the same as the default behaviour)?

I'm trying it again in KDE 4.6 now (using "Apply Initially"). Right now it seems to work, but we'll see.. When I've tried to use it in previous versions of KDE 4 I never got it to work 100%. It seemed to work for a few minutes, then suddenly a new konsole got the wrong size. After a while, almost all konsole windows got the wrong size..

I don't know if is because I open konsole in different ways. I could, however, never find a pattern in the madness.

I open konsole both with the right click menu, as well as with some desktop shortcuts for opening konsole with ssh to different hosts. That way, I can easily set up my work space after a reboot of the machine.

I use commands like "konsole -e ssh kryton.xx.yy.com" and so on.

I have eight virtual desktops, with maybe ten or more konsole windows open in each.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
It's worked for me as long as I remember. In the window rules dialog, check the "Window" and "Window Extra" tabs - there you have the conditions the windows have to match. For Dolphin I have

Window
Window class (application type): dolphin [Exact Match]
Window role: [Unimportant]

Window Extra
Window type: Normal Window
Window title: [Unimportant]
Extra role: [Unimportant]
Machine (hostname): [Unimportant]

I suspect that you have set "Exact Match" for a window title, and that's why some windows won't follow the rules.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
User avatar
ychaouche
Registered Member
Posts
33
Karma
0
OS
In KDE 4, you have to uncheck the "use current window size on next startup" box and specify the desired size in a profile, then launch konsole with the --profile switch. More explanations with screenshots here : http://ychaouche.informatick.net/kde


Bookmarks



Who is online

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