You are not logged in.
Pages: 1
Running xubuntu xfce 4.20
I have a test.sh script on my desktoip:
#! /bin/bash
echo " Begin"
echo ls -al
sleep 5
echo " Finished"
Is it possible to execute this script directly (either by clicking on the file or right click "execute" via thunar) and have the script output show on my display?
Last edited by makitso (2025-06-19 19:40:59)
Offline
You mean something like this?
#! /bin/bash
cat << EOF > /tmp/script
#!/bin/bash
echo " Begin"
ls -al
sleep 1
echo " Finished"
EOF
chmod +x /tmp/script
xfce4-terminal -H -T "Script Output" -x /tmp/script
exit 0
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Well kinda.
I suspect xfce / thunar won't allow me to do what I want unless I either use a launcher or something like your script.
The xfce4-terminal -H -T "Script Output" -x /tmp/script is the clue that I was missing. So, I will mark this topic solved.
Thanks
P.S. How do you marked this topic [Solved] ?
Last edited by makitso (2025-06-19 11:59:35)
Offline
P.S. How do you marked this topic [Solved] ?
Edit your original post in this thread and in the subject line, prepend "[SOLVED]".
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
P.S. How do you marked this topic [Solved] ?
Edit your original post title and add [Solved] to the beginning.
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline
Pages: 1
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 553.41 KiB (Peak: 554.26 KiB) ]