Author Topic: non-gui application with .desktop file  (Read 3395 times)

tblumer

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://sdgsystems.com
non-gui application with .desktop file
« on: May 25, 2004, 05:23:03 pm »
I\'ve asked this question before, but in a different way - hoping someone can help. I want to have a non-gui application that is launched from the Application tab (i.e. has a .desktop file in apps/Applications). Does a way exist to tell Qtopia that the application has exited? As it is, the \"launch explosion\" remains for a long time.

boosalis

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
    • http://
non-gui application with .desktop file
« Reply #1 on: May 25, 2004, 06:03:11 pm »
Are you using QT at all.  If not can you put a QT wrapper around your exectuable and set the non-gui flag for your QApplication or QPEApplication class.
Zaurus 6000 with expansion jacket

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
non-gui application with .desktop file
« Reply #2 on: May 26, 2004, 05:18:53 am »
In my opinion it would make sense to add a NON-GUI flag to the AppLnk properties and have the launcher create a ShellScriptIcon for each of the scripts. Please file this feature wish to TrollTech. Submitting it to the Opie Bugtracker will probably make it an implementation more early though :-D
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
non-gui application with .desktop file
« Reply #3 on: May 26, 2004, 11:50:16 pm »
Quote
I\'ve asked this question before, but in a different way - hoping someone can help. I want to have a non-gui application that is launched from the Application tab (i.e. has a .desktop file in apps/Applications). Does a way exist to tell Qtopia that the application has exited? As it is, the \"launch explosion\" remains for a long time.


Console app? How are you launching it? Script or directly?


Bob W
Bob W - Miami FL
--------------------
"The legs of the duck are short and
 cannot be lengthened without distress
 to the duck.

The legs of the crane are long and
 cannot be shortened without distress
 to the crane."

Chuang-tzu

--------------------
C860 main - Sharp 1.40 JP ROM
Language conversion by hand

alts: Cacko 1.22 / OZ 3.5.1 / pdaXrom
512Mb SanDisk SD (x2) / 512Mb SanDisk CF (x2)
Lexar 1Gb CF / AmbiCom WL1100C-CF 802.11b WiFi

Out of Hp200LX, from HP100LX, via HP95LX
--------------------
Desktop MegaTower c/ twin DataPort HD racks;
12 removable HDs with multi OSs - no waiting.

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

tblumer

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://sdgsystems.com
non-gui application with .desktop file
« Reply #4 on: June 04, 2004, 01:52:56 pm »
I\'m lauching it from a keypress assignment. I tried doing the QApplication and specifying that it was non-GUI, but apparently you can\'t do QApplication. You must do QPEApplication. But, with QPEApplication there is no \"non-gui\" flag. I hope to get back to trying a couple other things this weekend, but still a no-go at the moment (for the most part, anyway).