I made a bash script which takes an input form the user:
#!/bin/bash # mnthere - mounts virtual box share in current working directory echo Enter the source share name: readline NAME sudo -- mount -t vboxsf -o rw,uid=1000,gid=1000 $NAME $0
But when I double-click it, nothing happens. It executes in background probably failing with an error. I need to configure it to show that window, how do I do that? Is that related to XFCE4 desktop environment I am using?