Join Today
+ Reply to Thread
Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By puppetshow

Thread: Why do we need Linloader to load scripts

  1. #1
    Join Date
    Sep 2008
    Location
    India
    Posts
    15

    Question Why do we need Linloader to load scripts

    Hi,

    I bought new moto rokr E6 phone last week.. i found this forum to be very interesting and useful.. I downloaded the Linloader today and when i extracted the package and explored it, i found that Linloader itself was a shell script that just exec our script.

    I have two basic doubts.
    1) why doesn't our script file run if we simply click it? and why we need to open with Linloader?
    2) Since Linloader itself is a script, how does it get loaded and starts executing when our scripts are not able to be executed directly?

    I can see in Linloader.desktop file, that exec= points to Linloader.lin. If we point our desktop file to our .lin file, wont it run our script directly? or is there anything special in"open with" that causes the linloader to get executed?

  2. #2

    Default

    It's only because when you click on file, the UI doesn't "exec" it, but search it's registry for suitable application (for this extension). By packing and installing the linloader (with .desktop file) it will be registered as application and therefore can run.
    Ven likes this.

  3. #3
    Join Date
    Sep 2008
    Location
    India
    Posts
    15

    Default

    Thanks for your reply....

    Then if i create a .lin file and along with it i create a .desktop file corresponding to my .lin file and i point the "exec=" in that .desktop file to my .lin file, then will my .lin file also be registered as an application so that i can directly start my script without the need for linloader?

  4. #4

    Default

    Well, yeah, you'd need to pack that script, .desktop file and some icons into .pkg and install it, the script will be in the main menu. But it's just way easier to use linloader..


 
+ Reply to Thread

Similar Threads

  1. can't run scripts by linloader
    By Amir_6723 in forum Scripting
    Replies: 9
    Last Post: 12-03-2009, 05:09 PM
  2. Under which user permission does Linloader run scripts?
    By CLOVIS KKK in forum A1200 General Chat
    Replies: 5
    Last Post: 01-26-2007, 11:02 AM
  3. How to load .rar files?
    By allhitsnowords in forum A780 General Chat
    Replies: 1
    Last Post: 12-03-2006, 10:28 AM
  4. SD Card load first ?
    By Hwarang85 in forum E680i General Chat
    Replies: 0
    Last Post: 03-14-2006, 02:22 AM
  5. Linloader & Scripts for A768i
    By jerin in forum A768i/A760 General Chat
    Replies: 5
    Last Post: 02-08-2006, 07:38 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1