Trying fo find a command to toggle the kde task swicher

Hello Garuda users.

I'm trying to get the kde task view to toggle on and of from the command line,
so i can use the keyboard task switch button (it presses alt+ctrl+tab).
My solution is to use a custum script that wold work by opening the the task view and press the down button if the script is allredy runnig.
All I'm missing for this is a way to open task view from the cmd.

At the end i have included the output of garuda-inxi but i dont think it will by lots of of use for this question

╰─λ garuda-inxi
System:
Kernel: 6.2.10-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=e9b3e735-9912-4dc5-9799-2693a5674a1d rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.4 tk: Qt v: 5.15.9 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Convertible System: LENOVO product: 82BG v: Yoga 9 14ITL5
serial: <superuser required> Chassis: type: 31 v: Yoga 9 14ITL5
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0T76461WIN
serial: <superuser required> UEFI: LENOVO v: EHCN65WW date: 07/01/2021
Battery:
ID-1: BAT0 charge: 18.3 Wh (30.5%) condition: 60.0/60.0 Wh (100.0%)
volts: 7.9 min: 7.7 model: SMP BASE-BAT type: Li-poly serial: <filter>
status: charging cycles: 37
Device-1: wacom_battery_0 model: Wacom HID 523B serial: N/A charge: 0%
rechargeable: yes status: N/A
CPU:
Info: model: 11th Gen Intel Core i7-1185G7 bits: 64 type: MT MCP
arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
microcode: 0xA6
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB
L3: 12 MiB desc: 1x12 MiB
Speed (MHz): avg: 1077 high: 3000 min/max: 400/4800 scaling:
driver: intel_pstate governor: powersave cores: 1: 516 2: 401 3: 924 4: 3000
5: 958 6: 1058 7: 1001 8: 764 bogomips: 47923
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 00:02.0
chip-ID: 8086:9a49 class-ID: 0300
Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
bus-ID: 2-6:4 chip-ID: 04f2:b61e class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
compositor: kwin_x11 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.00x22.48")
s-diag: 1165mm (45.88")
Monitor-1: eDP-1 model: BOE Display 0x097e built: 2020 res: 3840x2160
hz: 60 dpi: 316 gamma: 1.2 size: 309x174mm (12.17x6.85") diag: 355mm (14")
ratio: 16:9 modes: 3840x2160
API: OpenGL v: 4.6 Mesa 23.0.2 renderer: Mesa Intel Xe Graphics (TGL GT2)
direct-render: Yes
Audio:
Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Lenovo
driver: sof-audio-pci-intel-tgl
alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
chip-ID: 8086:a0c8 class-ID: 0401
API: ALSA v: k6.2.10-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 0.3.68 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 00:14.3
chip-ID: 8086:a0f0 class-ID: 0280
IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 2-10:5 chip-ID: 8087:0026 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
Local Storage: total: 953.87 GiB used: 63.49 GiB (6.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: MZVLB1T0HBLR-000L2 size: 953.87 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 3L1QEXF7 temp: 44.9 C scheme: GPT
Partition:
ID-1: / raw-size: 195.31 GiB size: 195.31 GiB (100.00%)
used: 25.75 GiB (13.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 551 MiB size: 549.9 MiB (99.80%)
used: 748 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p4 maj-min: 259:4
ID-3: /home raw-size: 750.57 GiB size: 737.72 GiB (98.29%)
used: 37.75 GiB (5.1%) fs: ext4 dev: /dev/nvme0n1p1 maj-min: 259:1
ID-4: /var/log raw-size: 195.31 GiB size: 195.31 GiB (100.00%)
used: 25.75 GiB (13.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 195.31 GiB size: 195.31 GiB (100.00%)
used: 25.75 GiB (13.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.21 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 7.45 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
System Temperatures: cpu: 50.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 276 Uptime: 2h 12m wakeups: 32785 Memory: 15.21 GiB
used: 6.05 GiB (39.8%) Init: systemd v: 253 default: graphical
tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: 1650
pm: pacman pkgs: 1645 libs: 418 tools: octopi,pamac,paru,yay pm: flatpak
pkgs: 5 Shell: fish v: 3.6.1 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.26
Garuda (2.6.16-1):
System install date:     2022-09-17
Last full system update: 2023-04-13
Is partially upgraded:   No
Relevant software:       snapper NetworkManager mkinitcpio
Windows dual boot:       Probably (Run as root to verify)
Failed units:

A smal update, so solve this problem i made my own task swicher that runs in the the cli if anyone has a problem like this and this cli solution sonds good i have uploded that script to codeberg marvin1099/LinuxCmdTaskSwicher: This is a simple script i use with xbindkeys to swich between tasks with one keykombination that just swiches to the next task based on time that i was opened - LinuxCmdTaskSwicher - Codeberg.org but i still take a solution that opens the kde task swicher that way i could see that window is selected and not just get notified with the window title.

2 Likes

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