Jonas, On Wednesday 28 June 2006 09:50, Jonas Helgi Palsson wrote:
...
When you have tried afew times and have made it work, could you please post the final script?
Here's what I came up with. The script based on the dcop capabilities you showed me is: -==--==--==--==--==- goakregator -==--==--==--==--==--==- #!/bin/bash --norc if grep -q akregator <(dcop); then dcop akregator akregator_mainwindow setHidden false else akregator "$@" fi -==--==--==--==--==- goakregator -==--==--==--==--==--==- I had to change the desktop icon to disable the launch feedback, since for reasons I don't understand, when making a running (and trayed, presumably) instance visible (as opposed to launching a new instance when none is already running), the cursor animation is activated and a spurious taskbar tab created until the timeout, after which the animation terminates and the taskbar tab is removed. With launch feedback disabled, none of those spurious visual effects occur. The launch feedback checkbox is part of the "Advanced Options" dialog in the Application tab of the desktop icon's Properties dialog. Of course, the command name in the desktop icon must be changed from "akregator" to "goakregator" (the script shown above) and that script must be in $PATH.
... Jonas Helgi Palsson
Randall Schulz