peterfajdiga / karousel

Scrollable tiling Kwin script
GNU General Public License v3.0
253 stars 5 forks source link

Karousel not starting properly on boot. #10

Closed Riebeck-one closed 1 year ago

Riebeck-one commented 1 year ago

When I log into my session, Karousel doesn't work initially, even though the script is activated in KDE settings (the little tick is there). To get it to function, I have to untick the script, apply the changes, then tick it again and apply once more.

As a workaround, I created a script that runs when the session connects, using the following:

#!/bin/zsh

kwriteconfig5 --file kwinrc --group Plugins --key karouselEnabled false
qdbus org.kde.KWin /KWin reconfigure

sleep 1

kwriteconfig5 --file kwinrc --group Plugins --key karouselEnabled true
qdbus org.kde.KWin /KWin reconfigure

However, this is not an ideal solution.

peterfajdiga commented 1 year ago

Hi, thanks for the report! Are you using any other scripts and does this problem also happen when they're disabled? Can you give me the logs obtained with journalctl -t kwin_x11 -g '^qml:|^file://.*karousel' | tail -n 200 (feel free to change the 200 to a sensible number of lines) immediately after session start? Thank you.

Riebeck-one commented 1 year ago

Hmm, I just disabled my auto-restart script, and it appears to be functioning correctly now. I'm using Arch, and there have been some system updates in the last few days, along with kde plasma updates; perhaps that fixed the issue. I'm sorry for the inconvenience. I should have retried by myself before opening an issue.

peterfajdiga commented 1 year ago

No problem at all, thank you for reporting! I'll close this issue for now, but please re-open it, if it happens again.