Re: Advice for embeding an application in Firefox
Kevin DeKorte <[email protected]> Fri, 18 Jul 2008 11:22:32 -0600
| Newsgroups | gmane.comp.mozilla.mplayerplug-in |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter Marquardt wrote: | | Am 17.07.2008 um 17:00 schrieb Kevin DeKorte: |> Peter, | |> Even with Xembed you can't do what you want to do. Your best option |> would be to use a remote X term via ssh. | |> Here is what a plugin could do. | |> 1. You could specify a specific mimetype (application/x-term) |> 2. put an embed tag on your web page like | |> <embed mimetype='application/x-term' host='myhost.com' width=400 |> height=300> | |> 3. Write a plugin that handles the mimetype |> 4. Have the plugin read the host variable and then open an ssh |> connection to myhost.com |> 5. The plugin would need to grab the window that is opened and |> embed it |> via Xembed into the browser window, or just leave it floating on your |> desktop. | |> I think the mozilla sample plugin is much easier to follow in this |> case. | |> But really a shell script would be easier to maintain and easier to |> deploy. | |> Kevin | | | | Kevin, | | that's exactly what i had in mind... I still can't figure, why | Christophe-Marie would want to do this. | I only skimmed the xembed docs, but they sound enthusiastic about | being able to embed nearly any applications output into nearly any | other app, so i thought this might be possible. | | regards, | Peter Marquardt Another problem he may run into if he does this, is that firefox likes to grab the keyboard and not give it to embedded applications. So that might be a problem as well. Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkiA0VgACgkQ6w2kMH0L1dGMIQCfS5asw7nbS5WY//NnKQsJX8Ts HrAAn22t2cUr0HGnepDBQFT7KBdCcczk =DCPi -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/