help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: launch a frame on a specified virtual desktop


From: Kai Großjohann
Subject: Re: launch a frame on a specified virtual desktop
Date: Wed, 11 Jun 2003 08:09:10 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

jean-daniel.browne@parexel.com (Jean Daniel Browne) writes:

> I am working on a project made of four files. Every times I start my
> computer I will lauch a terminal on the first virtual desktop and then
> I will launch emacs on virtual desktop #2 and open three others frame
> that I will move to virtual desktop #3, #4 and #5.

It depends on the window manager (desktop environment) how this
works.  KDE, for example, has a directory ~/.kde/Autostart where you
can put programs that will be run, well, on startup.  That way, you
can start the terminal and Emacs.  See the kstart program for making
sure that a certain window always lands on a certain desktop.  From
your ~/.emacs file, you can execute the make-frame function.  This
will not move the new frames to different desktops, though.  So my
suggestion is that you run kstart from your .emacs file with a dummy
command in the background, and then you execute the make-frame
function.  Then kstart will pick up the new window, thinking it
started the program itself.  Then kstart will move the window to a
new desktop.

Another possibility would be to give the frames different names and
to configure your window manager to put windows with certain names
onto certain desktops.

But like I said, it all depends on the window manager you use.
-- 
This line is not blank.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]