So now, how can we determine the window name from the process name in order to marry xlaunch with xraise?
In my case I only need it for a few specific apps: eg sylpheed-claws, kopi, kapi, pwmanager etc, so for me maybe hardcoding it would be the easiest way.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156387\"][{POST_SNAPBACK}][/a][/div]
xwininfo -root -tree |grep -i appname
some smart parsing of the results from the above and then pass the result to xraise
eventually, xlaunch will:
check if app is running or not
if running use xwininfo or other method to determine app window name and use that with xraise to bring it to foreground
if not running, start app. launch fancy looking splash/throbber window
use xresizewindow to maximize app using same info (xwininfo) as was used for xraise
optionally, xlaunch can also disable dpms and restore settings when finished
also optionally, xlaunch can stop the volume applet and restart it after app has finished in case the app needs the mixer