Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use a simple taskbar to organize X11 windows' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use a simple taskbar to organize X11 windows
Authored by: semios on Jul 28, '03 05:02:38PM
Great stuff. It got me thinking of another solution to this problem that doesn't involve using a foreign dock. Imagine having a thin little Cocoa application that was tied to its X counter-part application (probably by the pid). You click it, the X app activates. You kill it, the X app dies. Very simple but gives you that nice application presence without a foreign dock. Here's how I imagine the script would work:

#!/bin/bash
# gimp.sh
#
# starts X11 gimp app with a gimp icon in the dock

gimp_pid=$$
gimp_icon=gimp.icns

# start the X11 wrapper
/Applications/Xwrapper.app/Contents/MacOS/X11 $gimp_pid $gimp_icon &
exec gimp; # start the actual gimp application
Note: the Xwrapper application doesn't exist yet; that's the hard part.

[ Reply to This | # ]
Use a simple taskbar to organize X11 windows
Authored by: GaelicWizard on Jul 29, '03 08:30:24PM

Dude, I'm sure that a lot of people would love to have this kind of functionality. I'd be more than happy to help debug it if you decide to write it, but I'm prob not much help in the actual writing. (I'm not so great at C)

Good luck, keep us posted as to your progress! (if you do it...?)

JP

---
Pell



[ Reply to This | # ]