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

--- Comment #205 from Jacob <jacobsea...@gmail.com> ---
Guys, I think you are making this issue more complicated than it has to be.

Yes, we might not be able to fix the "architecture" — my skill level is
certainly below that. But, it is actually fairly easy to fix using a simple
script, as I proposed some ~2 years back.
How? Once the resolution is set, and has remained for a few seconds, you
record the entire Desktop layout. E.g.:

1. Record the Desktop Layout for the current monitor and resolution
combination, either automatically or on-demand via clicking a "save" button
2. When the monitor and resolution combination changes, do nothing if the
combination is not found in backups
3. When a previously known combination is used, restore the Desktop Layout
from a backup
4. Detect changes to the Desktop layout. Every change may require deleting
all backed up combinations; alternatively, user should manually save a
backup by clicking a "save" button

Again, you could probably create a simple .sh script for this. I already
made one, but I have not used it since, so do not know if it still works.

- Jacob

On Tue, Oct 19, 2021 at 1:09 PM Nick Stefanov <bugzilla_nore...@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=360478
>
> --- Comment #204 from Nick Stefanov <m...@abv.bg> ---
> (In reply to postix from comment #200)
> > (In reply to Nick Stefanov from comment #199)
> > > Bharadwaj Raju, I don't know why, I replace the file with yours, it's a
> > > simple task, but it's not working...
> >
> > Here's how I did it:
> >
> > ```
> > wget "https://bugsfiles.kde.org/attachment.cgi?id=142613"; -o
> > "~/Downloads/FolderViewLayer.qml"
> >
> > sudo mv
> > /usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/
> > FolderViewLayer.qml
> > /usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/
> > FolderViewLayer.qml.bak
> >
> > sudo cp ~/Downloads/FolderViewLayer.qml
> > /usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/
> > FolderViewLayer.qml
> >
> > plasmashell --replace
> > ```
>
> Thanks, I do it the same way
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to