Code: Select all
#!/bin/bash
xfce4-terminal
sudo add-apt-repository ppa:Repository
sudo apt-get update
sudo apt-get install package
Code: Select all
#!/bin/bash
xfce4-terminal
sudo add-apt-repository ppa:Repository
sudo apt-get update
sudo apt-get install package
Code: Select all
wmctrl -l
Code: Select all
for x in $(wmctrl -l|tr " " 0:);do if [ ${x:11:2} -gt -1 ];then sleep 2s;wmctrl -ia ${x:0:10};fi;done
Yes I did. When I click on it it runs asks for the password then goes on to the repostitory and closes without doing apt-get updateDistro-Don wrote:Did you make it executable?
Good idea jimallyn. Thank you.jimallyn wrote:Gary, you can probably have multiple words in the name, if you don't use spaces between them. Use CamelCase, or separate_with_underscores.