Re: mozilla-xremote-client with profiles not working?
Paul Wellner Bou <[email protected]> Sat, 11 Jun 2005 13:23:56 +0200
| Newsgroups | gmane.comp.mozilla.devel.unix |
|---|---|
| Message-ID | <[email protected]> |
Hi Brian, [email protected] wrote: > I have an application built on top of firefox that I need running in > addition to my standard firefox browser. I use mozilla-xremote-client > to open up links from thunderbird (and others). My problem is that I > often get a new tab in my application rather than the main firefox > window. You can change this in the preferences of firefox. There is an option where you can define if links from outside should be opened in a new tab, a new window or in the actual tab. But this works here: mozilla-xremote-client -a firefox "openUrl(http://slashdot.org, new-window)" You can use new-tab instead of new-window if you want the url to open in a new tab. > My application runs with a different profile than the main window, so I > thought > "mozilla-xremote-client -p appprofile" would work, but no such luck. It > always > says that it "Failed to find a running server." Mh. You're right. If you give a profile with the remote-client he is not able to find a running instance, even if I have a window with this profile running. With Mozilla it works. With firefox it doesn't. > I looked at the source > a little bit, and it seems that iot is looking for a window with the > specified value in the _MOZILLA_PROFILE property, but it doesn't seem > to be set. In fact, I can't find this property being set by firefox at > all. It seems quite odd that mozilla-xremote-client would check for a > property that firefox does not set. > > Any help would be appreciated. The remote controls of mozilla/firefox are sp insufficient. It's a pity, I think. It would be great to be able to open mails, tabs, browser windows, whatever from other applications. No idea how you can solve this. Perhaps creating a new profile for your application so you don't have to connect to a started instance? Regards Paul.