WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: .desktop file content doubt ???  (Read 1492 times)

Offline vishrut_n_shah

  • WikiUser
  • *
  • Posts: 26
.desktop file content doubt ???
« on: October 04, 2010, 11:58:46 AM »

Can any one explain what is Exec = name ???

Where "name" is located ????

for example : root@jhaveri:~# cat /tiny_usr/share/app/tinycore-appsaudit.desktop

Code: [Select]

[Desktop Entry]
Name=Appsaudit
Exec=appsaudit
Icon=logo
X-FullPathIcon=/usr/share/pixmaps/tc/logo.png
Type=Application
Categories=System;



Where executable "appsaudit" is located ???? ???

Pls reply

thanks..
There is never a wrong time to do right things !!

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: .desktop file content doubt ???
« Reply #1 on: October 04, 2010, 12:19:03 PM »
It must be fully qualified, or found in your PATH.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: .desktop file content doubt ???
« Reply #2 on: October 04, 2010, 12:25:12 PM »
Code: [Select]
which [COMMAND...]
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline vishrut_n_shah

  • WikiUser
  • *
  • Posts: 26
Re: .desktop file content doubt ???
« Reply #3 on: October 07, 2010, 09:34:09 AM »

Code: [Select]
Exec=appsaudit

 ...... here where appsaudit is present ???

this is one of the line in this file...

/usr/share/applications/tinycore-appsaudit.desktop
There is never a wrong time to do right things !!

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: .desktop file content doubt ???
« Reply #4 on: October 07, 2010, 09:52:59 AM »
What exactly is not clear to you?

And what is your aim?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 10195
Re: .desktop file content doubt ???
« Reply #5 on: October 07, 2010, 11:06:03 AM »
Code: [Select]
$ which appsaudit
/usr/bin/appsaudit

Offline jhaveri_hiral

  • WikiUser
  • *
  • Posts: 7
Re: .desktop file content doubt ???
« Reply #6 on: October 07, 2010, 11:35:52 AM »
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

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

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: .desktop file content doubt ???
« Reply #7 on: October 07, 2010, 11:44:04 AM »
Do not hijack threads.