From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Barton Newsgroups: gmane.emacs.help Subject: Re: getting gnu emacs to run in gui mode Date: Wed, 21 Mar 2012 19:13:15 +0000 Message-ID: <4F6A284B.1080807@wilkesley.net> References: Reply-To: ian@manor-farm.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1332357228 2392 80.91.229.3 (21 Mar 2012 19:13:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2012 19:13:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 21 20:13:47 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SAQyg-00006F-KY for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2012 20:13:46 +0100 Original-Received: from localhost ([::1]:41545 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAQyf-0003LV-U1 for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2012 15:13:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAQyX-0003KJ-8H for help-gnu-emacs@gnu.org; Wed, 21 Mar 2012 15:13:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAQyR-0005Ni-PB for help-gnu-emacs@gnu.org; Wed, 21 Mar 2012 15:13:36 -0400 Original-Received: from mail2.wilkesley.net ([109.74.196.44]:54973 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAQyR-0005Ej-J5 for help-gnu-emacs@gnu.org; Wed, 21 Mar 2012 15:13:31 -0400 Original-Received: from [192.168.0.183] (unknown [217.146.125.41]) (Authenticated sender: lists@wilkesley.net) by li40-130.members.linode.com (Postfix) with ESMTPSA id 997BA333603 for ; Wed, 21 Mar 2012 19:13:16 +0000 (GMT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120314 Thunderbird/11.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 109.74.196.44 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84076 Archived-At: On 21/03/12 12:45, Kevin Patrick Barry wrote: > Dear List, > > I apologise in advance if there is an established solution to this > problem out there; an hour or so with manuals/google hasn't turned > anything up. > > I have installed gnu emacs 23.4 on my linux system (Lubuntu), and I can > run it just fine from my terminal, but I can't get it to load in gui > mode. Emacs has appeared in my desktop menus but clicking it does > nothing (no error messages, nothing at all, even though the command is > fine if I do it manually in the terminal). Clicking 'run' and typing > Emacs also gets nothing. I scoured the manual for an option to force > gui mode but there doesn't appear to be one, just an opposite for > forcing terminal mode (-nw). > > Perhaps this has something to do with the LXDE desktop environment? > (Googling various combinations of this and Lubuntu didn't turn anything > up.) Or perhaps I installed it from the wrong file? I used the file > `emacs-23.4.tar.gz' from http://ftp.gnu.org/pub/gnu/emacs/. > > I'm sure it would work if I installed it from the package manager, but > I'm doing this as something of an educational exercise in installing > applications manually. Therefore it isn't urgent, but any help would be > much appreciated. > Assuming you have all the required packages installed (try apt-get build-dep emacs) try the following: make distclean ./configure --prefix=/usr/local --sysconfdir=/etc --libexecdir=/usr/lib \ --with-x-toolkit=gtk --with-xft make make install I haven't built emacs on Ubuntu for a while, but this used to work for me (I am still using the same on Arch). Ian.