Skip to main content
30 votes
Accepted

On Linux why should one choose Lucid over Gtk gui for emacs?

Reasons to use Lucid over GTK Stability Examples from etc/PROBLEMS: ** When Emacs is compiled with Gtk+, closing a display kills Emacs. ... *** Emacs built with GTK+ toolkit produces corrupted ...
npostavs's user avatar
  • 9,213
11 votes

Is there an X11-free build of Emacs that can run on Wayland (not going through XWayland)

As of early 2021, the previously accepted answer is no longer the case. Emacs can now be ran in Wayland without XWayland. Core Emacs code has been (quite labouriously!) updated to use pure GTK, and ...
Colin Woodbury's user avatar
9 votes

On Linux why should one choose Lucid over Gtk gui for emacs?

Lucid Emacs uses the older lucid widget toolkit for XWindows. It looks older and greyer and I see no compelling reason to use it on a modern X desktop. Unless of course you have specific reasons to ...
Peter Tillemans's user avatar
7 votes

On Linux why should one choose Lucid over Gtk gui for emacs?

If you forward X11 you need Lucid emacs, because gtk emacs may crash if the ssh connection is lost and X server crashes. Note the error message when trying to run emacs --daemon with gtk emacs $ emacs ...
KhalfaniW's user avatar
  • 357
7 votes

How can I send Super from my Mac to my Emacs instance?

You can apply a super modifier with C-x @ s. So to type Super+z, you woule press C-x @ s z. If you find the C-x @ s combo too cumbersome, then you can bind it to something easier to type. Here is ...
nispio's user avatar
  • 8,245
6 votes

Emacs 26.1 RC1 display issues over SSH/X11 with xming/vcxsrv

Emacs 26 by default switches on double buffering for X servers when it finds the Xdbe header on the build machine. (See Emacs 26 release notes at the GitHub mirror.) Some X servers don’t support this. ...
halloleo's user avatar
  • 1,345
4 votes

On Linux why should one choose Lucid over Gtk gui for emacs?

Daemon mode is THE preferred way of running emacs (numerous benefits), but the almost certain crash in the event of disconnect from the display is weighing in favour of the Lucid toolkit instead of ...
gagrilli's user avatar
4 votes

How to install emacs29 with X11 support?

When you compile Emacs you have options for specifying which windowing system to use, if any. In current versions of Emacs, the options are: --with-x use the X Window System --with-pgtk use ...
phils's user avatar
  • 51.7k
3 votes
Accepted

Is there an X11-free build of Emacs that can run on Wayland (not going through XWayland)

There is no graphical Emacs build for Linux without X, no. As suggested in the commentary, you can use textual Emacs instead and customize the parts interacting with the clipboard to use wl-clipboard ...
wasamasa's user avatar
  • 22.2k
3 votes

emacs in --deamon mode dies when X display socket closes. How to prevent this?

The answer to the question is to use the Lucid version of emacs. With Ubuntu, the package is called emacs25-lucid. From comments in the code and it also pops out on stderr if you can managed to get ...
pedz's user avatar
  • 375
3 votes

How to make fonts show anti-aliased on Linux/X11?

Found a solution, neither of these fonts define themselves as mono-spaced, the solution is to force this. This can be done in fonts.conf or through the font specifier. Cascadia Code-13:spacing=90 (...
ideasman42's user avatar
  • 8,846
3 votes

Hide mouse pointer while typing

You can use the mouse-avoidance-mode, see here for documentation. To test it simply enter M-x mouse-avoidance-mode and then select an option (see documentation link above) To have it permanently use ...
jue's user avatar
  • 4,596
3 votes
Accepted

connect to remote emacs session via ssh

Since this is running on X, it might be possible to use a program like xdotool , xdo, or wmctrl All these programs allow you to list windows, select one, and simulate typing on them. Another ...
icarus's user avatar
  • 1,924
2 votes

Copy and paste between Emacs in an X terminal and other X applications

Gilles's solution actually exists as a package, called xclip available from GNU ELPA. I.e. install it from M-x list-packages and then enable it with M-x xclip-mode RET. See also Clipboard manager ...
Stefan's user avatar
  • 26.5k
2 votes

Emacs cursor color is different in daemon and non-daemon modes

The hypothesis The problem should come from Xressources. The Xressources are set via xrdb calls. The user-space place to store Xressources settings is ~/.Xressources (that usually are read and ...
Tormen's user avatar
  • 21
2 votes

Using tramp and ESS-mode, how can I get the R interpreter to execute locally?

I've fixed my ssh -X problem. Using tramp, in the remote R interpreter launched by ESS > View(tibble) with a 3,722-row tibble is not responsive with my 200 Mbps download speed. But using sshfs ...
cfgauss's user avatar
  • 53
2 votes
Accepted

Getting R to Display Graphs in Emacs Window

That’s not what that sentence means. Emacs is not an X server. This sentence means that if you have an X server available, and DISPLAY is set to the right value, then R will connect to the X server ...
db48x's user avatar
  • 18.4k
2 votes

How to install emacs29 with X11 support?

As stated in the other answer you may consider to install Emacs 29 from source. I have installed Emacs 29 from source with X-support on Linux Mint 21 Cinnamon two days ago. (framep(selected-frame)) ...
oOosys's user avatar
  • 475
1 vote
Accepted

Run Emacs in GUI mode without X over SSH

Emacs will start "in GUI mode" automatically when possible. There are basically 2 conditions that need to be satisfied: You must use an Emacs built with GUI support. There must be an Xserver it can ...
Stefan's user avatar
  • 26.5k
1 vote

Running Emacs through X2Go, the bidirectional clipboard does not work, even though it works for other programs

In my case, the cause was having started Emacs as a tab of GNU Screen and connecting to it by emacsclient. After restarting Emacs from within the X2Go session, the bidirectional clipboard started ...
kdb's user avatar
  • 1,571
1 vote

Tramp x11 on Mac os (local) , centos (remote)

I managed to kind of fix this by running "echo $DISPLAY" in a normal terminal and copying the value of that into the emacs terminal with "export DISPLAY=localhost:12.0" the value does change some ...
user27815's user avatar
  • 249
1 vote

Tramp and X11 forwarding when changing user (su)

Workaround (?), before a more straightforward (i.e. "automated") solution, based on this answer: open a terminal as group and do: xauth list Copy the last line from the list and, in another terminal ...
Denis's user avatar
  • 93
1 vote

emacs --daemon crashes when parent ssh session dies

Maybe too heavy-duty to count as an answer, but since I never see this issue I'm wondering if the reason is that I use GNU Screen on all hosts I connect to and from using SSH. I invoke emacsclient on ...
Phil Hudson's user avatar
  • 1,796
1 vote
Accepted

Emacs 26 build on RHEL6 has blank window frame

Emacs 26 by default switches on double buffering for X servers when it finds the Xdbe header on the build machine. (See Emacs 26 release notes at the GitHub mirror.) Some X servers like MobaXTerm don’...
halloleo's user avatar
  • 1,345
1 vote
Accepted

Mapping AltGr+t key as a Ctrl+x (How to use AltGr key effectively in Emacs)

First check what emacs gets when you hit AltGr+t. You can do so by invoking C-h c AltGr+t. With my keyboard configuration, this is ŧ (a character). You can then (global-set-key (kbd "ŧ") ctl-x-map). ...
YoungFrog's user avatar
  • 3,526
1 vote

Hide mouse pointer while typing

You can use (setq make-pointer-invisible t)
yPhil's user avatar
  • 983
1 vote
Accepted

Hide mouse pointer while typing

As pointed out in the Emacs manual, by default “Emacs hides the mouse pointer each time you type a self-inserting character” (emphasis mine). If hiding only on self-inserting characters is not enough,...
1 vote

Second meta key

Partial solution: ESC key is equivalent to M-key, so you can type Escape key instead of Alt+key if that's more convenient. If you don't use Menu for anything in Emacs, you can make it an alternate ESC....
Gilles 'SO- stop being evil''s user avatar
1 vote

On Linux why should one choose Lucid over Gtk gui for emacs?

Note that NixOs also recently changed the default GUI to Lucid due to, notably, an increase of stability in the daemon mode (it was actually a debate). Note that the gtk build is still available with ...
tobiasBora's user avatar
1 vote

connect to remote emacs session via ssh

Not answering the direct question, but I suggest the following in your init file to prevent this from happening in future. ;; Start server (but don't restart). (require 'server) (unless (server-...
phils's user avatar
  • 51.7k

Only top scored, non community-wiki answers of a minimum length are eligible