Lost some file content-- Please Help!

Joined
Jul 11, 2008
Messages
40
Reaction score
0
I made changes to the following files and now my search bar doesn't work... Would someone please help me by providing me with the text contained in each of the following files?


File 1: /etc/rc.d/session/xfdesktop.sh
File 2: /usr/share/search-bar/start-search_bar.sh

Thanks!

Zack
 
File1: killall -9 xfdesktop2
killall -9 acer-search-desktop
xfdesktop2 &
/usr/share/search-bar/start-search_bar.sh &

File2: #!/bin/sh
#resolution=`xrandr |grep \*|awk '{print $1}'`
resolution=`xrandr |grep current|awk -F"current" '{print $2}'|awk -F"," '{print $1}'|sed 's/\ //g'`

if [ $resolution = "1280x800" ];then
acer-search-desktop --x=650 --y=90 --width=490 --height=31
elif [ $resolution = "1024x600" ];then
acer-search-desktop --x=510 --y=65 --width=490 --height=31
else
acer-search-desktop
fi
 
Back
Top