Lost some file content-- Please Help!

Discussion in 'Modding and Customization' started by zk2008, Jul 23, 2008.

  1. zk2008

    zk2008

    Joined:
    Jul 11, 2008
    Messages:
    40
    Likes Received:
    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
     
    zk2008, Jul 23, 2008
    #1
  2. zk2008

    jeromlenz

    Joined:
    Jul 17, 2008
    Messages:
    82
    Likes Received:
    0
    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
     
    jeromlenz, Jul 24, 2008
    #2
  3. zk2008

    zk2008

    Joined:
    Jul 11, 2008
    Messages:
    40
    Likes Received:
    0
    Thanks! :D
     
    zk2008, Jul 24, 2008
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.