Originally Posted by
garyzw
Yes i read what others wrote and also tried that it again in a script and it did not work. It opens the Termnial I enter the password then the Terminal closes--no pressing enter to add ppa
Did you try with an additional bash command? It works for me.
Code:
xterm -hold -e bash -c "sudo add-apt-repository ppa:bhdouglass/indicator-remindor && apt-get update && apt-get install indicator-remindor"
From
Code:
-c string
If the -c option is present, then commands are read from string. If there are argu‐
ments after the string, they are assigned to the positional parameters, starting with
$0.
Bookmarks