From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/7502 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.gnus.user Subject: Re: How many use eMacs and Gnus on daily basis? Date: Sat, 10 Jun 2006 19:17:02 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87irn9pdyp.fsf@tiger.rapttech.com.au> References: <87bqt5arue.fsf@comcast.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1149932423 4239 80.91.229.2 (10 Jun 2006 09:40:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 10 Jun 2006 09:40:23 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Jun 10 11:40:22 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fozx6-0003uC-Qs for gegu-info-gnus-english@m.gmane.org; Sat, 10 Jun 2006 11:40:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fozx6-0001Rb-86 for gegu-info-gnus-english@m.gmane.org; Sat, 10 Jun 2006 05:40:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!canoe.uoregon.edu!newshub.sdsu.edu!sn-xt-sjc-02!sn-xt-sjc-01!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:lbdBeSEm081Z7QSrVnDPdWXHl7I= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 53 Original-Xref: shelby.stanford.edu gnu.emacs.gnus:77685 Original-To: info-gnus-english@gnu.org X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:7502 Archived-At: Joe Bush writes: >>I don't even run a window manager. I just start emacs from my .xsession >>file. I am not saying that this will work for everyone. If you are >>used to point-clicky interfaces you might not like emacs. Manipulating >>graphics files is, I believe, a no-go, but viewing them works. > > Can you explain how this is done, or provide a link that describes the > steps? > > Thanks! > Speaking for Rob is not my intention, but if your asking how you can run emacs instead of a window manager and then emacs, its pretty easy. There are some variations between X setups according to what distribution you are using, but essentially, the following is the basic concept. 1. You have a display manager (e.g. xdm) running which provides the interface you use to login to X. 2. As part of the standard login process, the system looks for an initiation file which starts up various applications for the user, including a window manager. It may also do other things, like set the background colour, mouse cursor, ssh key agent etc. This is usually handled by what are called Xsession scripts by convention. 3. Most Linux distros have their own scheme for this, but they all generally allow for a user specific .xsession script to override everything. No $HOME/.xsession, do the system default thing. 4. Here is the key bit. The Users Xsession will exit once the scripts started by xdm exit. Normally what happens is that these xdm scripts call the system default or users xsession script and in those scripts the last thing called is the window manager. The window manager is usually called with an exec call, which will transfer execution of the script to the program called by exec (i.e. the window manager). So, when the window manager exits, the script exits and the uses X session exits. To have no window manager and just emacs running, you can create your own .xsession script and instead of doing an exec wm, you do an exec emacs. In effect, emacs will be your window manager replacement and when you exit emacs, your X session will exit. Is that as clear as mud? Tim -- tcross (at) rapttech dot com dot au