Nat:

Initially this property addition affected all new instances of konsole on the bash script command.

A bit more reading showed that I could localize on the pop-up profile and window created under the bash script and force the KDE windows to look for a specific window title, in my case "--Konsole" and make an exact match, to force the viritual Desktop #1 to be applied to this and only this new pop-up window.

Now all I need is to automate the particular desktop, say 1 --> 8 or use 0 to splash all desktops, by detecting which desktop I initiate the bash script in.

The best solution would be to add to the KDE konsole command the --desktop #n option, and I might ask that that be done.

Thanks for all your posts.

Randall

On 1/14/25 15:13, Nat Taylor wrote:
open up Konsole, right click on the title bar, select More Actions -
Configure Special Application Settings.
Then click Add Property, scroll down to Virtual Desktops, then click plu s,
then select Desktop 2 (or whichever you prefer)
Then click Apply
Now everytime you launch Konsole, be it from command line or icon, it will
appear on Desktop 2.
Now, perhaps there's a way to fine tune the Window Rules in System Settings
to make it just do it from your script, but that's beyond the scope of this
particular answer.
And I'm assuming you're using KDE as you're using Konsole (Dunno how that
would work in LXQT)

On Tue, Jan 14, 2025 at 12:27 PM American Citizen <[email protected]>
wrote:

Hello:

I am using the KDE "konsole" command to open a new terminal screen in my
bash program:

konsole --separate --profile "Pop Up" --workdir
/home/owner/math/Herons -e /bin/bash ./list-xpart.sh 2>/dev/null &
where -separate means new terminal screen, using the profile named "Pop
Up" with the working directory as specified, and executing the bash
script list-xpart.sh dumping the error to the /dev/null file.

Referring to the manual at
https://docs.kde.org/stable5/en/konsole/konsole/konsole.pdf does NOT
have anything on how to control which virtual desktop the new terminal
screen opens up in. To my annoyance, when running the script in the
background, the new screen pops up right in the active desktop blocking
what I am doing at the moment.

Does anyone know how to control which desktop the new terminal screen
will appear in? I have 8 virtual desktops on my OpenSuse Leap 15.5 linux
system.

Randall



Reply via email to