You are not logged in.

#1 2023-11-18 17:19:11

bernik
Member
Registered: 2023-06-06
Posts: 6

[KDE - i3wm] Floating mode forced on windows with ext. monitors

Kernel: 6.6.1-arch1-1
Theme: [Plasma], Breeze [GTK2/3]
plasmashell 5.27.9
i3 version 4.23 (2023-10-29) © 2009 Michael Stapelberg and contributors
CPU: AMD Ryzen 7 PRO 5850U with Radeon Graphics (16) @ 4.507GHz
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series

Whenever I connect or disconnect an external display the active window is getting forced to floating mode. I'm experiencing this with a minimal i3 configuration with only the needed Plasma-related settings:

exec --no-startup-id picom -fb

# Generals
hide_edge_borders both
default_border pixel 1
default_floating_border pixel 3
smart_borders on
focus_follows_mouse yes
# Switch to urgent workspace when clicking notification
focus_on_window_activation focus
gaps inner 10px

# Select which programs to open in floating mode by default
for_window [window_role="pop-up"] floating enable
for_window [window_role="bubble"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [window_role="Preferences"] floating enable
for_window [window_role="About"] floating enable
for_window [window_type="dialog"] floating enable
for_window [window_type="menu"] floating enable
for_window [window_role="Organizer"] floating enable
for_window [window_role="page-info"] floating enable
for_window [window_role="toolbox"] floating enable
for_window [window_role="webconsole"] floating enable
for_window [instance="__scratchpad"] floating enable

exec --no-startup-id /usr/lib/pam_kwallet_init
exec --no-startup-id wmctrl -c Plasma
for_window [title="Desktop @ QRect.*"] kill; floating enable; border none
for_window [class="ksplash"] kill
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="yakuake"] floating enable;
for_window [class="lattedock"] floating enable;
for_window [class="kruler"] 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="kscreen_osd_service"] floating enable, move position center
for_window [class="tastenbrett"] floating enable, move position center
for_window [class="Plasmoidviewer"] floating enable, border none
for_window [class="(?i)*nextcloud*"] floating disable
for_window [class="systemsettings"] floating enable, move position center
for_window [class="kcalc"] floating enable, move position center
for_window [class="plasma.emojier"] floating enable
for_window [class="plasmashell"] floating enable
for_window [class="plasmashell" window_type="notification"] floating enable, border none, move position center
no_focus [class="plasmashell" window_type="notification"]

bindsym XF86AudioRaiseVolume exec --no-startup-id qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "increase_volume"
bindsym XF86AudioLowerVolume exec --no-startup-id qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "decrease_volume"
bindsym XF86AudioMute exec --no-startup-id qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "mute"
bindsym XF86AudioMicMute exec --no-startup-id qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "mic_mute"

Could someone maybe try to reproduce this and if anything trying to solve with me the issue? Even helping debug this a bit deeper would mean a lot since I'm relative new to KDE/i3 and not fully aware where to look at exactly.


https://github.com/heckelson/i3-and-kde … 10e7bede97

Offline

Board footer

Powered by FluxBB