WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline vishrut_n_shah

  • Newbie
  • *
  • Posts: 26
.desktop file content doubt ???
« on: October 04, 2010, 02:58:46 PM »

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, 03: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, 03: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

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

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, 12:52:59 PM »
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)

Offline Juanito

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

Offline jhaveri_hiral

  • Newbie
  • *
  • Posts: 7
Re: .desktop file content doubt ???
« Reply #6 on: October 07, 2010, 02:35:52 PM »
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, 02:44:04 PM »
Do not hijack threads.