Well, I know this, but what I'd really want is to be able to say the name of the program on the command line, not in .xinitrc. This way, I could compile apps, run them, close them, rewrite..


I won't really need any other windows than the ones from my own app.

Still looking..
-ak


16.1.2005 kello 02:50, Alexander K.Hansen kirjoitti:


On Jan 15, 2005, at 6:14 PM, Asko Kauppi wrote:


Hi, all.

I am trying to do some GTK+2 coding (tutorial examples, mainly) using as fink tools (but as few as possible).

- Which window manager should I use for GTK+2? The built-in is perhaps too simple :)
All that I found (fvwm, icewm, ..) were dependent on 'gtk+', isn't that the pre-2 gtk?



Yes.

- How, then, to start a simple X11/GTK+2 app from the Mac terminal?
'startx ./myapp' gives no decoration (although the app is nicely onscreen, though :)
'startx somewm ./myapp', perhaps, once I have that wm?



You can create your own X11 startup file (.xinitrc) where you do this:

http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc

e.g.

. /sw/bin/init.sh
exec <myapp> &
exec <somewm>

Thanks for any help, and sorry if this has been covered somewhere. I didn't find.

-ak


--
Alexander K. Hansen
Fink Documentarian
Day Job:  Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users




------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to