Questions tagged [x11]

55 questions
18
votes
5 answers

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

I run Ubuntu 16.04. On searching Ubuntu Software app for Emacs I am presented with two guis, Lucid and Gtk. Which one should I choose and why?
Harsh Vardhan
  • 404
  • 1
  • 3
  • 8
14
votes
2 answers

Make emacsclient create a frame only if there isn't one already

How can I make emacsclient -a '' -n create a new frame only if there isn't one already? The problem with the -c flag is that it creates a new frame every time. The problem without it is that if there is no frame open it will open in the command…
spelufo
  • 303
  • 1
  • 9
12
votes
2 answers

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

I am running Wayland on Ubuntu 18.04. According to the Wayland FAX, one of it's advantages, compared to X11, is that Wayland allows better isolation between processes: one window cannot access resources from, or inject keystrokes into, another…
Craig Hicks
  • 304
  • 2
  • 9
11
votes
2 answers

Prevent mouse click in inactive frames from reposistioning point

I want to prevent the "first" click on a frame in an inactive X window from having any effect, other than to make the frame active. Specifically, I don't want it to reposition point. The problem is that I can't seem to detect that he frame was…
edam
  • 311
  • 1
  • 6
8
votes
4 answers

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

I run emacs in two ways: One as a Mac OS X executable, built from source, and the other as a Linux executable using the Lucid toolkit, in daemon mode, connected to using a graphical emacscient using XQuartz on my mac laptop. My base configuration is…
Chris R
  • 200
  • 2
  • 6
8
votes
4 answers

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

There's some weird stuff I encounter when running Emacs under KDE. Here's how it looks when I run it normally, via the emacs command: If I run it as a daemon, here's what I see: And if I run customize-face cursor in the emacsclient, here's what I…
art-solopov
  • 235
  • 1
  • 11
7
votes
1 answer

What is the difference between `-Q` and `-q --no-init-file --nosplash`

I have started seeing some strange X related behaviour in emacs. I have not been able to pin it down. It goes away when I run emacs -Q, but is still present when running emacs -q --no-init-file --nosplash. The man page says: -Q, --quick …
Daniel Mahler
  • 267
  • 1
  • 12
6
votes
1 answer

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

I can compile Emacs 26.1 RC1 ok, and use it locally on the host fine. However, when attempting to ssh -X to host via PuTTY 0.70 and launch the Emacs gui, emacs is not displaying correctly. See screenshot below - no default welcome screen, and…
bscipio
  • 181
  • 5
5
votes
1 answer

X11 -- Why is the Emacs logo image missing on the Welcome screen?

I'm working on developing a new Emacs feature for all three Window systems supported by Emacs, and would like a complete working installation of Emacs built --with-x --with-x-toolkit=no. The welcome screen is not displaying the Emacs logo image…
lawlist
  • 18,826
  • 5
  • 37
  • 118
4
votes
2 answers

Why does Emacs swap Backspace and Delete on this one machine?

One of my key bindings is not working on one particular machine and I don't understand why. On Ubuntu 14.04, with the emacs24 package version 24.3+1-2ubuntu1, I start emacs -Q (under X) and run (global-set-key [(meta backspace)] 'undo) then press…
4
votes
2 answers

emacsclient can't open display :0

My problem is very similar to this one from Unix & Linux Exchange. I use systemd to start emacs --daemon as my user account. Recently I have had the following problem when trying to open a new frame of my emacs process. $ emacsclient -c Waiting for…
imperfectgrist
  • 225
  • 3
  • 6
4
votes
2 answers

How can init file tell if running under X11?

Is there a good way (e.g. examining the value of some variable or the existence of some function) for Elisp code to determine whether the current Emacs instance is running as an X11 application?
kjo
  • 3,145
  • 14
  • 42
4
votes
2 answers

Prevent TTY fallback when X fails

I frequently forget to start my X server before I fire up emacs. Obviously emacs will attempt to open an X window and fail. In older versions of emacs (I forget when this changed) the behavior was an error message and emacs would exit. In current…
ericx
  • 283
  • 1
  • 6
4
votes
2 answers

What's the best API to use to interrogate the size of the underlying window system?

I'm currently working on using the crouton xiwi X windows target to run an Emacs session on a Chromebook. I've done this by starting Emacs as the last entry in .xinitrc making it effectively the window manager for the session. Despite having the…
stsquad
  • 4,626
  • 28
  • 45
4
votes
0 answers

byte-compile much slower in X (vs. -nw)

Setup Windows 10 host with X server (VcXsrv) Linux guest (Arch) in virtual machine (VMware) Benchmark (defmacro measure-time (&rest body) "Measure the time it takes to evaluate BODY." `(let ((time (current-time))) ,@body (message…
feklee
  • 1,029
  • 5
  • 17
1
2 3 4