General TC > General TC Talk

Which Files for Desktop icons????

(1/2) > >>

jhaveri_hiral:
Hello ,,

When I start my Tiny Core Linux from Live USB, there appears 4 icons at the centre-bottom of the Desktop. these are for Exit, ATerm, App and Panel..

I want to that when I click on these icons, what are the commands that run in the Background???

Which files are getting executed and where are these located???

Thank You!! :)

Juanito:
Look at the files in /home/tc/.wmx, eg:
--- Code: ---$ cat /home/tc/.wmx/Appbrowser
#!/bin/sh
exec appbrowser

--- End code ---

jhaveri_hiral:
Thanks for the reply..  :) :)

I already got these files, but I want to know from where does "appbrowser" gets executed in the following code :

--- Code: ---#!/bin/sh
exec appbrowser

--- End code ---

Even if we type appbrowser at the Terminal, it gets executed. So from where is this command located  ??? ??? ???

jls:

--- Code: ---which appbrowser
--- End code ---

Juanito:

--- Quote from: jhaveri_hiral on October 07, 2010, 11:33:42 AM ---Even if we type appbrowser at the Terminal, it gets executed. So from where is this command located  ??? ??? ???

--- End quote ---

If you enter:
--- Code: ---$ echo $PATH
--- End code ---
..this will show you where tc looks for applications to execute if the full path to the application is not specified.

If you enter
--- Code: ---$ which appbrowser
--- End code ---
..this will show you the full path of the first instance of "appbrowser" found in $PATH

Navigation

[0] Message Index

[#] Next page

Go to full version