Results 1 to 3 of 3

Thread: Shell Script - How To??

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    25

    Shell Script - How To??

    How do I create a shell script to run the needed directory commands for ShowEQ 4.0 to funtion properly (the export QTDIR=/usr.......)

    I hate having to type it in every time I want to use it but I am still new to linux - in fact, ShowEQ is the reason I am trying to learn it.

    Thanks for the help and please don't flame a newbie.

    Fuqjak

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    5
    I just created a file named runseq.sh and threw it in my /usr/local/share/showeq directory.

    Just create the file using the editor and throw this inside of it:

    ---------------

    export QTDIR=/usr/local/qt-2.3.2
    export PATH=$QTDIR/bin:$PATH
    export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH

    /usr/local/share/showeq/showeq

    ----------------

    I am at work right now.. so I can't really make sure this is totally correct. I then created a shortcut for my task bar that does the following.

    sh /usr/local/share/showeq/runseq.sh

    (And I chose the option to run it in a command window)

    Someone that is a little more unix literate could probably come up with something better but this works fine for me.

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    25
    After messing around with it a little I was able to add a favorite to my menu and it works great.

    Thanks for the tip!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On