Im tired that everytime my dock (i use docky) crash i have to manual reopen it.
There is a way for auto restart docky everytime it crash?
I mean something that can auto reopen the app when it crash...
ps i'm a newby non english on xubuntu
Im tired that everytime my dock (i use docky) crash i have to manual reopen it.
There is a way for auto restart docky everytime it crash?
I mean something that can auto reopen the app when it crash...
ps i'm a newby non english on xubuntu
Open your terminal and type as
gedit autostart.sh
then paste this code as it as
#!/bin/bash
while true
do
if [ ! `pgrep docky` ] ; then
/usr/bin/autorestart1.sh
fi
sleep 30
done
save it & close.
Then again in the terminal type as
sudo gedit /usr/bin/autostart1.sh
and paste
cd /usr/bin/
docky
save & close.
thats it now onwards. your application will be autostart after the crash,:)
Credit goes to Ubuntuforums