Author Topic: Task Bar Icons For Programs Launched Via The Shell  (Read 3745 times)

JohnKiniston

  • Full Member
  • ***
  • Posts: 213
    • View Profile
    • http://
Task Bar Icons For Programs Launched Via The Shell
« on: March 28, 2005, 11:01:50 pm »
I just started to use QuackNews on my 5500 and its great but when it launches my web browser (opera) it doesnt create a icon in the taskbar.

This seems to be a similar behavour as when I run a app via the shell or via SSH.

What makes the icons show up in the taskbar? Is it a launcher?

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Task Bar Icons For Programs Launched Via The Shell
« Reply #1 on: March 29, 2005, 03:57:33 am »
It's a handshaking procedure w/ QPEApplication. The launcher waits for a QPEApplication registering under the same name as found in the .desktop file.
Cheers,

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

Mongoosefred

  • Newbie
  • *
  • Posts: 31
    • View Profile
    • http://www.xlevel.org.uk
Task Bar Icons For Programs Launched Via The Shell
« Reply #2 on: March 29, 2005, 06:50:55 am »
Quote
I just started to use QuackNews on my 5500 and its great but when it launches my web browser (opera) it doesnt create a icon in the taskbar.

This seems to be a similar behavour as when I run a app via the shell or via SSH.

What makes the icons show up in the taskbar? Is it a launcher?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=72598\"][{POST_SNAPBACK}][/a][/div]

I'm glad your finding QuackNews of use, any bug/feature request please contact me.

Currently QuackNews just uses an Runtime.exec to launch the browser command line.  This is probably why the browser does not appear on the taskbar. This was just a quick hack I did to give the user the ability to view the output from within the app.  Number one on my list of things to do once I've got the basic app working is to add an internal HTML viewer, but this is alot of work and there isn't one that's functional enough and compatable with the license that I can find at the moment.

Please continue to spread the word....  
[span style=\'font-size:8pt;line-height:100%\']
QuackNews RSS Reader
----------
Zaurus SL-5600 (Watapon ROM 1.6)
Zaurus SL-5500 (On load to a friend)
512 MB SD-Card
PNY 64MB CF-Card
VIKING 256MB CF-Card
Sharp Digital Camera (On load to a friend)
NL-2511CF WiFi Card
[/font][/span]

Moonshadow

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • http://
Task Bar Icons For Programs Launched Via The Shell
« Reply #3 on: March 31, 2005, 04:16:25 am »
Quote
I just started to use QuackNews on my 5500 and its great but when it launches my web browser (opera) it doesnt create a icon in the taskbar.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=72598\"][{POST_SNAPBACK}][/a][/div]

My Cacko rom doesnt create an Icon for QuackNews,
I've spoken to  Mongoosefred and he's looking in to it.

tovarish

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Task Bar Icons For Programs Launched Via The Shell
« Reply #4 on: March 31, 2005, 04:35:51 am »
actually none of the java apps that I have (except for the sharp applets) show an icon in the taskbar. They disappear whenever I put any other program in the foreground. The shift+menu (like alt-tab in windows) view shows the java app but when i select it the zaurus changes the display to magnified (320x240) mode but still doesnt show the app properly. I can quit the app however by pressing the cancel button.

tovarish

Moonshadow

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • http://
Task Bar Icons For Programs Launched Via The Shell
« Reply #5 on: April 01, 2005, 04:33:00 am »
Quote
actually none of the java apps that I have (except for the sharp applets) show an icon in the taskbar. They disappear whenever I put any other program in the foreground. The shift+menu (like alt-tab in windows) view shows the java app but when i select it the zaurus changes the display to magnified (320x240) mode but still doesnt show the app properly. I can quit the app however by pressing the cancel button.

tovarish
[div align=\"right\"][a href=\"index.php?act=findpost&pid=72927\"][{POST_SNAPBACK}][/a][/div]

I think Mongoosefred has a fix for Quacknews (well it worked on mine) and it may work on other Java apps as well.
Look out for an update..

Mongoosefred

  • Newbie
  • *
  • Posts: 31
    • View Profile
    • http://www.xlevel.org.uk
Task Bar Icons For Programs Launched Via The Shell
« Reply #6 on: April 01, 2005, 04:47:43 am »
Quote
Quote
actually none of the java apps that I have (except for the sharp applets) show an icon in the taskbar. They disappear whenever I put any other program in the foreground. The shift+menu (like alt-tab in windows) view shows the java app but when i select it the zaurus changes the display to magnified (320x240) mode but still doesnt show the app properly. I can quit the app however by pressing the cancel button.

tovarish
[div align=\"right\"][a href=\"index.php?act=findpost&pid=72927\"][{POST_SNAPBACK}][/a][/div]

I think Mongoosefred has a fix for Quacknews (well it worked on mine) and it may work on other Java apps as well.
Look out for an update..
[div align=\"right\"][a href=\"index.php?act=findpost&pid=73099\"][{POST_SNAPBACK}][/a][/div]

If your having the missing QuackNews taskbar icon issue then try replacing the command line in the runQuackNews script:
Code: [Select]
$QPEDIR/bin/evm -cp $QPEDIR/java/QuackNews.jar uk.org.xlevel.quackNews.quackNews /opt/Qtopia
with
Code: [Select]
$QPEDIR/bin/evm -Xprogress:2900 -XappName=$0 -cp $QPEDIR/java/QuackNews.jar uk.org.xlevel.quackNews.quackNews /opt/Qtopia
Hope this helps.
-MF
[span style=\'font-size:8pt;line-height:100%\']
QuackNews RSS Reader
----------
Zaurus SL-5600 (Watapon ROM 1.6)
Zaurus SL-5500 (On load to a friend)
512 MB SD-Card
PNY 64MB CF-Card
VIKING 256MB CF-Card
Sharp Digital Camera (On load to a friend)
NL-2511CF WiFi Card
[/font][/span]

silvio

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://www.iaccarino.de/silvio
Task Bar Icons For Programs Launched Via The Shell
« Reply #7 on: April 01, 2005, 04:57:29 am »
Quote
It's a handshaking procedure w/ QPEApplication. The launcher waits for a QPEApplication registering under the same name as found in the .desktop file.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=72622\"][{POST_SNAPBACK}][/a][/div]
I have a complete reverse problem:

Maybe you know how to get rid of a taskbar application icon without a running application behind?

If I leave Quake, the taskbar application icon persists. Whenever I click on this "ghost" icon, Quake restarts.

regards,
Silvio
SL-C860, Cacko 1.22 lite and many toys.
My Zaurus stuff

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Task Bar Icons For Programs Launched Via The Shell
« Reply #8 on: April 01, 2005, 07:12:30 am »
No idea offhand, I'll take a look at the mechanism and get back to you.
Cheers,

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