Re: Suggestions for better workspaces as independant tasks



Le mercredi 08 février 2012 à 15:17 +0000, Emmanuele Bassi a écrit :
> hi;
> 
> On 8 February 2012 15:10, Julien Olivier <julo42 gmail com> wrote:
> 
> > Well, what I really mean is that gnome-shell should *try* to start a new
> > instance. If the application is single-window, it will work as before:
> > the app will be presented to the user. So, for example, if you had skype
> > already running on another workspace, gnome-shell would execute the
> > "skyp" command, and skype would do what it already does: present the
> > existing window.
> 
> there is no programmatic way for an application to describe whether
> it's going to open a new window, a new tab, or create a new process,
> or what its default is.
> 

If the application wants to have only one window, it should use
something like LibUnique ( http://live.gnome.org/LibUnique ). AFAIK,
Rhythmbox already works this way for example. If it doesn't, then it's
the user's choice whether he wants to open a new window or not.

> plus, gnome-terminal is, strictly speaking, a single instance
> application. whenever you execute 'gnome-terminal', the currently
> running process (if any) will be contacted, and a new window or tab
> will be created. you actually have to use a specific command line
> incantation to get it to create a new process.
> 

That's not how it works on my PC: launching gnome-terminal twice
consecutively opens two terminals.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]