all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@wilkesley.net>
To: help-gnu-emacs@gnu.org
Subject: Re: getting gnu emacs to run in gui mode
Date: Wed, 21 Mar 2012 19:13:15 +0000	[thread overview]
Message-ID: <4F6A284B.1080807@wilkesley.net> (raw)
In-Reply-To: <CADyDFdReCSdt9sLUZpAfhouPJBJyCOQV=irSRbBBys5LQmX-aA@mail.gmail.com>

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.



  parent reply	other threads:[~2012-03-21 19:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21 12:45 getting gnu emacs to run in gui mode Kevin Patrick Barry
2012-03-21 16:16 ` Alberto Luaces
2012-03-21 17:47 ` Peter Dyballa
2012-03-21 19:13 ` Ian Barton [this message]
2012-03-21 19:40 ` suvayu ali
2012-03-21 19:41   ` suvayu ali
2012-03-21 19:45     ` suvayu ali

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F6A284B.1080807@wilkesley.net \
    --to=lists@wilkesley.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ian@manor-farm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.