Re: [opensuse] Opening same application on different desktops



On Friday 09 May 2008 02:25, LLLActive@xxxxxxx wrote:
Hi all,

Opening the same application, like OpenOffice.org or Firefox on 4
different desktops causes confusion when a new link is started in
e.g. Firefox or a new document or spread*** is opened from
Konqueror.

When a new link is opened in a new window, sometimes it opens in one
of the other Desktops. I have to search all desktops to find the
newly opened window. Similarly, if a new document is opened with a
right click and the "Open with ..." is selected for the appropriate
application, it seems to open where the last active session of the
application was used. It is sometimes quite annoying when U forget
that it may be opened somewhere else, and U click a second time. Is
this normal behaviour to open files in other desktops than the one
the start is initiated?

I make little use of OOo, but I use Firefox extensively. You can
configure its response to a "remote" (from another application) request
to open a URL. The built-in options are:

- Replace content of current tab in the most recently viewed window
- Open a new tab in the most recently viewed windows (*)
- Open a new Window
(on the desktop of the most recently viewed window, I think)

(*) You have some control over the newly opened tabs:
- Active or not
- Adjacent to currently active tab
- At the right-hand side of the tab bar

Furthermore, the remote opening protocol offers some control to override
these user-configured defaults. I have a pair of scripts that I use to
open URLs from the command line. They're called "firetab"
and "firewin." I gather you can guess what each does.

To my knowledge, Firefox does not know about virtual desktops as such. I
think the only thing you might possibly take advantage of is the
ability to name a view (tab or window) and the ability to direct remote
links to a specific view (using a custom script akin to my firetab and
firewin scripts). You'd have to "pre-prime" these named views within
Firefox windows on the complement of desktops you like.


I have a vaguely similar situation to yours, though I've never found it
to be problematic enough to try to get more out of Firefox than I
outlined above. I almost always have several Firefox windows and many
tabs open (right now, it's 8 windows and 73 tabs). They're roughly
thematically organized and when I'm opening new browser link I first
bring the appropriate Firefox window to the front and then activate the
link in the application in which I encountered that link (KMail being
the principal case). I most often use firetab to open HTML files stored
locally (firetab and firewin distinguish http; / https: URLs from file:
URLs and plain old Unix path name URIs).


:-)

Al


I hope that's at least informative, if not entirely helpful. I've
attached my firetab and firewin scripts. They're very short and
self-contained.


Randall Schulz

Attachment: firetab
Description: application/shellscript

Attachment: firewin
Description: application/shellscript