118
submitted 6 months ago* (last edited 6 months ago) by fushuan@lemm.ee to c/linux@lemmy.ml

Thanks to /u/azvasKvklenko@sh.itjust.works for mentioning KDE window rules. In KDE, we can add rules for windows so that they behave in specific ways. One rule that can be added is the position: remember rule, and it's possible to make that rule apply to all windows by removing the match field. This way, closing and reopening windows keeps them where they were.

This is a very typical complaint about wayland that a lot of people have, something that apparently worked natively with X11 and annoyed me to no end since I had to position all the windows every day when logging into my desktop. No more! I hope this helps :)

https://imgur.com/a/zrvbRPI

you are viewing a single comment's thread
view the rest of the comments
[-] boredsquirrel@slrpnk.net 6 points 6 months ago* (last edited 6 months ago)

Yes and that is known. Programs are not able to see the screen, as this can be fingerprintable or other issues. So they cannot place themselves.

So this is the obvious solution!

[-] ReversalHatchery@beehaw.org 1 points 6 months ago

They don't shouldn't need to see the screen just to position themselves on it. Or do you mean the screen size?

[-] boredsquirrel@slrpnk.net 1 points 6 months ago

Yes they need to know screen size, layout, DPI, arrangements

this post was submitted on 26 Apr 2024
118 points (98.4% liked)

Linux

48186 readers
943 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS