I know how to add a command to the Unity Launcher
, but don't know how to have automatically opened terminal for the command.
Especially needed when sudo
command needs password or command result should be seen.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityYou have two options to open a terminal or uxterm with already running a command:
uxterm -e <command>
Or
gnome-terminal -x <command>
For multiple commands to be already run:
gnome-terminal -x bash -c "<command1>; <command2>; <command3>"
gnome-terminal -e "command"
works for me. How can I keep the terminal open after execution of command(s) without changing the profile
?
exec $SHELL
as the last command
Terminal=true
?