Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

getting emacs to use GUI mode

2,725 views
Skip to first unread message

Thr4wn

unread,
Jul 21, 2008, 6:30:03 PM7/21/08
to
Is there a way to force emacs to use the X display? I read that
setting DISPLAY env var will do that, but that does not seem to work
-- its value is already set to ":0.0", but emacs still runs in CLI
mode. There also isn't any kind of error or warning, it just simply
loads in CLI mode.

Would a greater understanding of X11 server/client system be required
to solve this problem, or am I still missing something else?

I am using...

Debian Etch
gnome-terminal
emacs 22.1.1


thanks,
-Thr4wn

Joost Diepenmaat

unread,
Jul 21, 2008, 6:40:03 PM7/21/08
to
Thr4wn <Seth....@gmail.com> writes:

Can you start other X programs using the same terminal? If so, you may
have installed the emacs22-nox package instead of the emacs22-gtk
package. emacs22-nox is the version without X support.

--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/

Thr4wn

unread,
Jul 23, 2008, 3:33:32 PM7/23/08
to
On Jul 21, 6:40 pm, Joost Diepenmaat <jo...@zeekat.nl> wrote:

I am able to start any x program (like iceweasel) from that psuedo-
terminal. Is there some way to determine if I have the nox version?

-Thr4wn

Kevin Rodgers

unread,
Jul 25, 2008, 12:45:29 AM7/25/08
to help-gn...@gnu.org

Check whether the emacs executable is linked with the X libraries
(sorry, I don't know how to do that on your platform).

--
Kevin Rodgers
Denver, Colorado, USA

Joost Diepenmaat

unread,
Jul 25, 2008, 3:54:45 AM7/25/08
to
Thr4wn <Seth....@gmail.com> writes:

> On Jul 21, 6:40 pm, Joost Diepenmaat <jo...@zeekat.nl> wrote:
>> Can you start other X programs using the same terminal? If so, you may
>> have installed the emacs22-nox package instead of the emacs22-gtk
>> package. emacs22-nox is the version without X support.
>

> I am able to start any x program (like iceweasel) from that psuedo-
> terminal. Is there some way to determine if I have the nox version?

Since you're on debian, try:

dpkg-query -s emacs22-nox

and

dpkg-query -s emacs22-gtk

The Status: output line of those commands should contain "installed"
for the package that's currently installed (only one of them may be
installed at the same time).

Alternatively, you can try to install emacs22-gtk, which will replace
the emacs22-nox package if that's currently installed:

apt-get update
apt-get install emacs22-gtk

J.

Richard G Riley

unread,
Jul 25, 2008, 5:13:35 AM7/25/08
to
Joost Diepenmaat <jo...@zeekat.nl> writes:

Another thing to consider is the alternatives facility in Debian.

Try

ls -l /etc/alternatives/emacs

And then look up update-alternatives. e.g. You might do this:

/usr/sbin/update-alternatives --display emacs

Thr4wn

unread,
Jul 25, 2008, 3:08:41 PM7/25/08
to
On Jul 25, 3:54 am, Joost Diepenmaat <jo...@zeekat.nl> wrote:

Thank you, that was the problem :)

-Thr4wn

0 new messages