You are not logged in.

#1 2023-03-01 03:20:06

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

[solved] Plasma/i3wm desktop issue after Plasma upgrade 5.27.2

I use Plasma with i3. After the latest plasma update, I get an odd behavior.

I have used

kwriteconfig5 --file startkderc --group General --key systemdBoot false

to disable the systemd kwin startup. I have a custom desktop entry at
/usr/share/xsessions/Plasma-i3.desktop

[Desktop Entry]
Type=Xsession
Exec=/usr/local/bin/plasma-i3
Name=P1azm@
Comment=KDE Plasma with i3wm

/usr/local/bin/plasma-i3
contains

#!/bin/bash
export KDEWM=/usr/bin/i3
/usr/bin/startplasma-x11

My relevant Plasma tweaks in i3.config are

# Plasma compatibility improvements
for_window [window_role="pop-up"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [class="yakuake"] floating enable
for_window [class="systemsettings"] fullscreen enable
for_window [class="plasmashell"] floating enable
for_window [class="Plasma"] floating enable; border none
for_window [title="plasma-desktop"] floating enable; border none
#for_window [title="win7"] floating enable; border none
for_window [class="krunner"] floating enable; border none
for_window [class="Kmix"] floating enable; border none
for_window [class="Klipper"] floating enable; border none
for_window [class="Plasmoidviewer"] floating enable; border none
for_window [class="(?i)*nextcloud*"] floating disable
for_window [class="plasmashell" window_type="notification"] border none; move postiion 1450px 20px
#for_window [class="plasmashell" window_type="notification"] border none; move right 700px; move down 450px
no_focus [class="plasmashell" window_type="notification"]
for_window [title="Desktop — Plasma"] kill; floating enable; border none
for_window [title="Save File — KDialog"] floating disable
for_window [class="kinfocenter"] floating enable
for_window [instance="_scratchpad"] floating enable
for_window [window_type="menu"] floating enable
for_window [window_type="dialog"] floating enable
for_window [window_role="Preferences"] floating enable
for_window [window_role="About"] floating enable
for_window [window_role="bubble"] floating enable
for_window [class="plasmashell" window_type="applet"] move up 30 px
# end plasma

The issue is that when I start the session from SDDM, there is a plasma-desktop window on workspace 1 that I have to kill manually. What can I do to prevent this?

Last edited by shoelesshunter (2023-03-01 11:03:30)

Offline

#2 2023-03-01 09:17:08

ZappaBoy
Member
Registered: 2018-08-27
Posts: 5

Re: [solved] Plasma/i3wm desktop issue after Plasma upgrade 5.27.2

Same here after updated KDE to version 5.27.2.

I fixed adding the following to the ~/.config/i3/config

# Kill KDE desktop windows opened from version 5.27.2
for_window [title="Desktop @ QRect"] kill; floating enable; border none

[title="Desktop @ QRect"] identify all the "desktop window" created by KDE on startup.

Hope this can help.

Offline

#3 2023-03-01 11:02:11

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

Re: [solved] Plasma/i3wm desktop issue after Plasma upgrade 5.27.2

thanks a bunch. it did the trick.

Offline

Board footer

Powered by FluxBB