can't you make a .desktop file that executes the script in the terminal and run that sith terminal=t
can't you make a .desktop file that executes the script in the terminal and run that sith terminal=true

konsole -e function_namekonsole -e "bash -c $(comfyinit)" should work?$() is only used to get whatever something in bash prints to stdin#!/bin/bash
# activate the venv
source venv/bin/activate
# start comfyui
python3 main.py#!/bin/bash
exec konsole -e /path/to/script #!/bin/bash
comfyinit () {
# activate the venv
source venv/bin/activate
# start comfyui
python3 main.py
}
exec konsole -e $(comfyinit)sudo firewall-cmd --list-all
FedoraWorkstation (active)
target: default
icmp-block-inversion: no
interfaces: wlp2s0
sources:
services: dhcpv6-client samba-client ssh
ports: 1025-65535/udp 1025-65535/tcp
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules: