Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: Markis145 on November 18, 2018, 10:48:14 AM
-
Hello! I'm new to Tiny Core and I want to add a icon to the wbar that calls a script which requires user interaction (basically the script asks for a user and password) by terminal before it launches freerdp2.0 with the username and password introduced, so it's easy for the final user to use it.
I've followed this page on the wiki http://wiki.tinycorelinux.net/wiki:creating_custom_command_icons_in_wbar and it doesn't work for me. The icon is added to the wbar but when I click it, nothing happens.
If I use the script normally in the terminal, it works fine.
-
Hi Markis145
For interactive shell scripts
#!/bin/sh
xterm -e "/path/to/your/script"
xterm is a symbolic link to the currently installed terminal emulator. aterm by default.
-
It worked! Thank you so much.