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

Remember window position - global setting?

Tags: None
(comma "," separated)
SkyHiRider
Registered Member
Posts
26
Karma
0
OS
Am new to KDE 4.6 - is there a setting somewhere that will make all windows remember their position when closed? I know I can set this for each app but I want to set it globally once, and not have to apply it each time I use a new app (not user friendly). Any tips welcome, cheers!
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Just curious, how do you set this for each application? If you use window rules, can't you just make it apply to all windows?


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
SkyHiRider
Registered Member
Posts
26
Karma
0
OS
By each application I meant each application window. As I said I'm new to KDE and just trying stuff now. There probably an easy solution to this but there are too many settings to look through.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
I'm just curious how you achieve that since I'm not sure how to do that. :)
If you use a window rule, you can change the settings in the "Window" and "Window Extra" tabs to make the rule apply for all windows instead of for a specific application.


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
SkyHiRider
Registered Member
Posts
26
Karma
0
OS
I tried playing with the settings now and I broke something :( The KDE start menu has twice the width now and whenever I try to open Dolphin it's opened on the top left side of the screen with the size of a small icon.
SkyHiRider
Registered Member
Posts
26
Karma
0
OS
How can I add a custom action when I touch one of the screen edges? Workspace Behavior - Screen Edges only has a few presets available and I want to open the Start menu (Application launcher?) when I move my mouse to the bottom left edge of the screen, would save me a single click each time.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Please make new topics for new issues. Short answers:
- If you use the default application launcher, you can resize it by dragging the corner (usually top-right).
- You can't add a custom screen edge action, as far as I know. For your case, you might want to try Lancelot which can open on hover.

For your initial question, you still haven't told me how you have set it up currently to remember window sizes for individual applications, so I can't help you.


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
SkyHiRider
Registered Member
Posts
26
Karma
0
OS
I've set it up in each app by right clicking on the edge and going Advanced -> Special Window Settings, then the Geometry tab - position,size - remember. Did this for a few apps and it worked.

Too bad the edges can't be configured to do a custom action, a big surprise as most of the things in KDE so far seemed to be customizable (which is nice).

Thanks for the pointer to Lancelot, will try it.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
SkyHiRider wrote:I've set it up in each app by right clicking on the edge and going Advanced -> Special Window Settings, then the Geometry tab - position,size - remember. Did this for a few apps and it worked.


OK, so that's what I suspected. Go to Advanced -> Special Window Settings and do it like normal (set Position and Size to Remember), then click on the Window tab:
Description - Whatever you like, e.g. "Remember window size and position"
Window class - set to Unimportant
Window role - Unimportant

Then click on Window Extra tab:
Window types - You probably want something like Normal Window and Dialog Window
Window title - Unimportant
Extra role - Unimportant

This will match pretty much all windows. If you want to override these settings for one window, you can create a window rule for it.

I haven't tried this so I can't guarantee that it'll work, but it's worth a try.


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
SkyHiRider
Registered Member
Posts
26
Karma
0
OS
Thanks for the reply - I tried a similar solution and ended up with my Application menu opening on the other side of the screen. Will have to try it again and see what I manage to break this time :P
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
I had something similar applying to all windows (maximize all windows) on my Netbook and had trouble with Plasma "windows". Try to make a new window rule with:

Window
Window class - Exact Match, Plasma-desktop
Window role - Unimportant

Geometry
Position - Do Not Affect
Size - Do Not Affect


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
SkyHiRider
Registered Member
Posts
26
Karma
0
OS
Tried what you said, made two settings - All (for all windows remember position) and Plasma-desktop (unimportant). Plasma Desktop was ranked above All so it should take precedence where it can, but when I popped up Lancelot it opened where I had the last window opened.

Really wish there was some kind of checkbox that would say "Remember position of all windows except Plasminds" that would do this, would be a lot more painless that having to figure it out by trial and error for several minutes if not hours. Very bad for a potential new user.
User avatar
Oceanwatcher
Registered Member
Posts
246
Karma
0
OS
In Kubuntu 11.04 - KDE 4.6.3:

I used the tip from Hans, but got too many strange behaviours, so I deleted the rules again.

BUT - to mee, the most logical thing would be to have a setting for this. In the System Settings I find an interesting setting under Window Behaviour>Window Behaviour>Advanced and under the Window Tabbing section, there is a setting called Placement. This one is set to "Smart" with Maximizing, Cascade, Random, Centered and Zero-Cornerered as alternatives.

The only one missing here is the one that for me is the obvious choice: Remember. I don't understand why this has been left out? Is this something that should be entered as an idea in the brainstorming section?


Regards,

Oceanwatcher
Kubuntu 11.04 - KDE 4.6.3 - Intel dual core 2.0 GHz - 2GB RAM - nVidia GeForce GO 7400
hypertyper
Registered Member
Posts
6
Karma
0
OS
Oceanwatcher wrote:In Kubuntu 11.04 - KDE 4.6.3:

I used the tip from Hans, but got too many strange behaviours, so I deleted the rules again.

BUT - to mee, the most logical thing would be to have a setting for this. In the System Settings I find an interesting setting under Window Behaviour>Window Behaviour>Advanced and under the Window Tabbing section, there is a setting called Placement. This one is set to "Smart" with Maximizing, Cascade, Random, Centered and Zero-Cornerered as alternatives.

The only one missing here is the one that for me is the obvious choice: Remember. I don't understand why this has been left out? Is this something that should be entered as an idea in the brainstorming section?


I couldn't agree more! Sorry for digging up an old thread but those are my thoughts exactly!

There is a similar thread here: viewtopic.php?f=66&t=33466&p=207179#p207179

I don't know which one is more useful but the central issue is the same.

Any thoughts?
hayalci
Registered Member
Posts
2
Karma
0
Hi,

I tried to achieve globally remembered window properties, but thought I could not find the relevant setting and did not insist.

In the meantime I wrote some window rules and was happy with my life. Increasingly the window size & placement issues bothered me, and I found this bug, which was entered to bugzilla in year 2000.

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

I advise you to go and vote for the bug (but please do not crowd the discussion with "me too" comments).


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]