qTile and Plank doesn't work well together

Hi people,

I just installed Garuda qTile. It is my first time trying a tiling window manager.

I am having some problems with Plank. It is becoming behind the applications making it impossible to use.

Also, I noticed a weird border around it. I tried edit .config/picom/picom-blur.conf and add plank to the shadow-exclude but it didn't work.

Does anyone had the same issue?

garuda-inxi
System:
  Kernel: 5.17.9-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=b8403481-0f10-494e-bf60-430c95843faf rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3
  Desktop: Qtile v: 0.21.0 wm: LG3D vt: 1 dm: SDDM Distro: Garuda Linux
    base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: Z390 M GAMING v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: Z390 M GAMING-CF v: x.x
    serial: <superuser required> UEFI: American Megatrends v: F8
    date: 10/15/2019
Battery:
  Device-1: hidpp_battery_0 model: Logitech MX Ergo Multi-Device Trackball
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: Intel Core i9-9900K bits: 64 type: MT MCP arch: Coffee Lake
    family: 6 model-id: 0x9E (158) stepping: 0xD (13) microcode: 0xF0
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 4966 high: 5005 min/max: 800/5000 scaling:
    driver: intel_pstate governor: performance cores: 1: 5003 2: 5003 3: 5001
    4: 5003 5: 4949 6: 4979 7: 4991 8: 4951 9: 4892 10: 4903 11: 4872
    12: 4983 13: 5000 14: 5005 15: 4971 16: 4951 bogomips: 115200
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
    mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
  Type: srbds mitigation: TSX disabled
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: Gigabyte driver: amdgpu v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 16 ports: active: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 01:00.0
    chip-ID: 1002:67df class-ID: 0300
  Device-2: Xiongmai web camera type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-4.3.1:6 chip-ID: 23c5:1478 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.3 compositor: Picom v: git-c4107
    driver: X: loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1080 s-dpi: 96 s-size: 677x285mm (26.65x11.22")
    s-diag: 735mm (28.92")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: LG (GoldStar) HDR WFHD
    serial: <filter> built: 2018 res: 2560x1080 hz: 60 dpi: 81 gamma: 1.2
    size: 798x334mm (31.42x13.15") diag: 869mm (34.2") modes: max: 2560x1080
    min: 640x480
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Gigabyte driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:a348 class-ID: 0403
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aaf0 class-ID: 0403
  Device-3: Xiongmai web camera type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-4.3.1:6 chip-ID: 23c5:1478 class-ID: 0102 serial: <filter>
  Device-4: Jieli MK-01 type: USB driver: snd-usb-audio bus-ID: 1-4.3.3:8
    chip-ID: 4c4a:4155 class-ID: 0102 serial: <filter>
  Sound Server-1: ALSA v: k5.17.9-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: Gigabyte driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bc class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Realtek RTL8188EUS 802.11n Wireless Network Adapter type: USB
    driver: r8188eu bus-ID: 1-11:3 chip-ID: 0bda:8179 class-ID: 0000
    serial: <filter>
  IF: wlp0s20f0u11 state: down mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-12:5 chip-ID: 0bda:8771 class-ID: e001 serial: <filter>
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
RAID:
  Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0
    port: 4020 bus-ID: 00:17.0 chip-ID: 8086:2822 rev: N/A class-ID: 0104
Drives:
  Local Storage: total: 2.6 TiB used: 12.42 GiB (0.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WDS500G3X0C-00SJG0 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 102000WD temp: 48.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM014-1EJ164
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
    speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: DEMA
    scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST1000DX001-1CM162
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
    speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: CC43
    scheme: GPT
  ID-4: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 840 EVO 120GB
    size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: BB6Q scheme: GPT
  ID-5: /dev/sdd maj-min: 8:48 vendor: Western Digital
    model: WDS240G2G0A-00JH30 size: 223.58 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 0000
    scheme: GPT
Partition:
  ID-1: / raw-size: 111.15 GiB size: 111.15 GiB (100.00%)
    used: 11.98 GiB (10.8%) fs: btrfs dev: /dev/sdd3 maj-min: 8:51
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 449.4 MiB (87.9%) fs: vfat dev: /dev/sdd2 maj-min: 8:50
  ID-3: /home raw-size: 111.15 GiB size: 111.15 GiB (100.00%)
    used: 11.98 GiB (10.8%) fs: btrfs dev: /dev/sdd3 maj-min: 8:51
  ID-4: /var/log raw-size: 111.15 GiB size: 111.15 GiB (100.00%)
    used: 11.98 GiB (10.8%) fs: btrfs dev: /dev/sdd3 maj-min: 8:51
  ID-5: /var/tmp raw-size: 111.15 GiB size: 111.15 GiB (100.00%)
    used: 11.98 GiB (10.8%) fs: btrfs dev: /dev/sdd3 maj-min: 8:51
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.56 GiB used: 2 MiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 27.8 C pch: 55.0 C mobo: 16.8 C gpu: amdgpu
    temp: 48.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 818
Info:
  Processes: 365 Uptime: 22m wakeups: 2 Memory: 15.56 GiB
  used: 2.23 GiB (14.3%) Init: systemd v: 251 tool: systemctl Compilers:
  gcc: 12.1.0 Packages: pacman: 1379 lib: 331 Shell: fish v: 3.4.1
  default: Zsh v: 5.9 running-in: alacritty inxi: 3.3.16
 [1;34mGaruda (2.6.3-2): [0m
 [1;34m  System install date: [0m     2022-05-27
 [1;34m  Last full system update: [0m 2022-05-27
 [1;34m  Is partially upgraded:   [0m No
 [1;34m  Relevant software:       [0m NetworkManager
 [1;34m  Windows dual boot:       [0m Probably (Run as root to verify)
 [1;34m  Snapshots:               [0m Snapper
 [1;34m  Failed units:            [0m

Hi there, welcome to the forums!
Try to give a look at this one, still open but with a possible workaround at the end:

2 Likes

Hey @filo, thank for your reply.

I tried the workaround you suggested but I got the same result. The applications and run after running plank become in the top covering the plank icons. Also there is this weird translucent border.

The screenshot will explain better:

I see. I tried...
I've no experience with both qtile and plank...
The fact that the issue is open since 5 years is not a good sign in my opinion.
I wish you good luck, someone will know better hopefully!

2 Likes

I figure out how to make them work together using the script you suggested.

I added the script to my .local/bin directory and named plank-launcher:

$ cd ~/.local/bin
$ wget https://raw.githubusercontent.com/ntcarlson/dotfiles/tablet_test/i3/scripts/tablet_mode/launcher --output-document=plank-launcher
$ chmod _+x plank-launcher

Then I added this to my .config/qtile/config.py:

@hook.subscribe.startup_once
def plank_start():
    subprocess.Popen([home + "/.local/bin/plank-launcher", "start"])

@hook.subscribe.client_new
def plank_reload(_window):
    subprocess.Popen([home + "/.local/bin/plank-launcher", "show"])

This way, the plank will load on startup and every time a window is created, plank will be reloaded to become in front of all windows.

Also, to fix the weird translucent border, I added this to my .config/picom/picom-blur.conf:

blur-background-exclude = [
  (...)
  "class_g = 'Plank'",
  (...)
];

Now it is working.

5 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.