Setting up windows on virtual-desktops on Fedora-KDE-44

Post text as text not screen shots or images so it is searchable please.

“Setting up windows on virtual desktops with Fedora-KDE-44” VIBET

It is easy to set windows on virtual desktops with Fedora 44 because
a simple autostart operation can do the job.

The first step to do this consists to define the N-Virtual-Desktops
which you would use on the machine (N=1,2…20). This operation can
be done via the KDE Fast-Settings facility, or with the help of
the wmcrl program. Next a script shell ~/Konsoles–N.sh
must be designed, which combines /usr/bin/konsole calls and
qdbus actions. Its first and end lines are:

#!/bin/bash

sleep 6s # delay-time to adjust

Konsole #1

DISPLAY=:0 /usr/bin/konsole --profile=Prof1 -p ‘LocalTabTitleFormat=Konsole 1’ &#
sleep .7s

Konsole #2

qdbus org.kde.KWin /KWin nextDesktop
DISPLAY=:0 /usr/bin/konsole --profile=Prof2 -p ‘LocalTabTitleFormat=Konsole 2’ &#
sleep .7s

Switch to Desktop #1

qdbus org.kde.KWin /KWin nextDesktop
exit 0

where the profiles as ‘Prof1.profile’… must be designed manually for each
window before to start. Finally, Fedora 44 is able to launch the above
script automatically after the login-in via the autostart program
~/.config/autostart/Afterboot.desktop

#!
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=‘/home/username/Konsoles–N.sh’
Name=Afterboot.desktop

Use the absolute path for the file ‘Konsoles–N.sh’. Then, a reboot is required.

Someone replied to your post.

| barryascott
August 19 |

  • | - |

Post text as text not screen shots or images so it is searchable please.