OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: JohnKiniston on March 28, 2005, 11:01:50 pm

Title: Task Bar Icons For Programs Launched Via The Shell
Post by: JohnKiniston 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?
Title: Task Bar Icons For Programs Launched Via The Shell
Post by: Mickeyl 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.
Title: Task Bar Icons For Programs Launched Via The Shell
Post by: Mongoosefred 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....  
Title: Task Bar Icons For Programs Launched Via The Shell
Post by: Moonshadow 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.
Title: Task Bar Icons For Programs Launched Via The Shell
Post by: tovarish 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
Title: Task Bar Icons For Programs Launched Via The Shell
Post by: Moonshadow 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..
Title: Task Bar Icons For Programs Launched Via The Shell
Post by: Mongoosefred 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
Title: Task Bar Icons For Programs Launched Via The Shell
Post by: silvio 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
Title: Task Bar Icons For Programs Launched Via The Shell
Post by: Mickeyl on April 01, 2005, 07:12:30 am
No idea offhand, I'll take a look at the mechanism and get back to you.