[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [plasmashell] [Bug 341143] Wallpaper on every desktop is gone.
From:       <bugzilla_noreply () kde ! org>
Date:       2018-05-28 22:30:55
Message-ID: bug-341143-17878-JjirEsgGX5 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

--- Comment #271 from loop.rw@gmail.com ---
Created attachment 112934
  --> https://bugs.kde.org/attachment.cgi?id=112934&action=edit
kwin script js to map desktops to activities. CHANGE activity ids to those you
get at step 3)

Finally succumbed to system updates and had to upgrade to kde 5*. As immagined,
this bug, which is among the most followed ones on this bug tracker, is still
here.

I managed somehow to emulate essentially the whole kde4 behavior, save for a
minor visual glitch while switching desktops. This is what I did:

-------

Scope and features:
-Multiple virtual desktops with separate widgets and backgrounds
-Use of standard virtual desktops pager
-Moving windows to other virtual desktops through screen border, pager and key
shortcuts

How it works:
-there is a 1 to 1 mapping of activities an desktops
-each time a desktop changes, a kwin script changes the activity automatically
-windows are set to be in all activities, so a window can be moved while the
underlying activity changes

Issues:
-when switching desktops, especially first time in a session, there is a short
switch time between activities

How to do it:

1) Create the number of desktops you want
2) create the same number of activities
3) Get the ids of the created activities:
   $ qdbus org.kde.ActivityManager /ActivityManager/Activities ListActivities
4) Create a kwin script that changes the activity of each desktop to a
different activity id. Check the attachment for an example. To learn how to
create a kwin script from a js file, check:
https://techbase.kde.org/Development/Tutorials/KWin/Scripting#Packaging_KWin_Scripts
5) Add the script in systemsettings->Window Management->Kwin Scripts
6) In systemsettings->Window Management->Window rules, add a new rule for all
windows, and in "Size&Position" set "Activity" to "Apply Initially" and "All
activities"
-) Now you can setup each desktop as desired.

Todo:
Create an actual kwin script an upload it on the official website. I may do
this in a few days after some deadlines.

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic