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

Enable/Disable KWin Desktop Effects during KDE Startup

Tags: kwin, desktopeffects, script, glideeffect, workaround kwin, desktopeffects, script, glideeffect, workaround kwin, desktopeffects, script, glideeffect, workaround
(comma "," separated)
Sepehr
Registered Member
Posts
2
Karma
0
Is it possible to use a shell or KWin script to automatically disable then enable a particular KWin desktop effect?

I'm using KDE Plasma 5.9.3 on my Manjaro installation, and there is a bug that prevent glide effect to perform when a window is being opened, but i found that if i disable glide effect, apply the setting and then enable it again it would work perfectly but the problem is that after each login same problem occurs, so i wanted to know if it is possible to perform this workaround automatically using a shell or KWin script?
Sepehr
Registered Member
Posts
2
Karma
0
After searching in QDbusViewer i found that there is a org.kde.kwin.Effects.unloadEffect and a org.kde.kwin.Effects.loadEffect service available, so i just wrote a simple sh script and set it to run at startup and it solved the problem perfectly.

Code: Select all
sleep 30
qdbus org.kde.KWin /Effects org.kde.kwin.Effects.unloadEffect glide
qdbus org.kde.KWin /Effects org.kde.kwin.Effects.loadEffect glide


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]