I'm sure this is a simple thing but have been working for a while to find an answer....
Linux Mint 17, mate
I have a shell script that runs each time the system is booted up. Of coarse there is no terminal window that shows me this is happening which is ok - dont want one but I do send a zenity --notification to let me know it worked.
I would like this script to present a terminal window so i can enter a smbpasswd command since I can not find a way to pass text into the smbpasswd command. I can do this IF I already have a terminal window up or running a script inside a terminal window.
The command I have in the start up script is
mate-terminal -e sudo smbpasswd -a client
but it fails to bring up a terminal window.
I would even just like a terminal window from this script if possible.
Does anyone know how to bring up a terminal window inside a non-interactive script?
Thanks in advance - Linux should be outlawed, its just to much fun!