Questions tagged [x-window]

15 questions
3
votes
2 answers

Using emacs-snapshot from ppa:ubuntu-elisp/ppa on 22.04

To have the latest emacs, on ubuntu 22.04 I activated the ppa https://launchpad.net/~ubuntu-elisp/+archive/ubuntu/ppa and installed emacs-snapshot from there. When starting it I get the warning: You are trying to run Emacs configured with the…
Harald
  • 218
  • 1
  • 8
3
votes
0 answers

Middle-click copy/paste link to Spacemacs in Helm Org Insert Link

I have just entered the Spacemacs ecosystem with no prior Emacs experience. I want to copy paste a link with my mouse from my X clipboard using middle-click in Spacemacs Org mode. I have selected the link in my browser with double-clicking (or with…
Konstantinos
  • 143
  • 4
2
votes
0 answers

How to avoid losing focus after starting an asynchronous process?

The lisp function start-process is meant to start an asynchronous subprocess, namely a process running independently of Emacs itself. I have noticed that, under my GNOME desktop environment, when my subprocess opens another window, the focus is…
Ruy
  • 787
  • 4
  • 11
2
votes
0 answers

Emacs via X: how to use higher resolution fonts?

I have attached a screenshot of Emacs 24.5 running in X-Quartz in a Debian VM. Does anyone know how to configure Emacs to use higher resolution fonts? For instance, like the ones Mac Terminal.app is using in the same screenshot? Thank you]1 $…
Nick
  • 133
  • 4
2
votes
0 answers

EXWM Fails to Start on Ubuntu Based System (Linux Mint)

I'm trying to use Emacs as my X Window manager. However, it doesn't seem to work properly. My X server did start and so did Emacs. However, I always got the error Warning (emacs): [EXWM] EXWM fails to start (invalid-slot-name: (#…
York
  • 221
  • 2
  • 5
1
vote
0 answers

How can I execute synchronously a xdotool process in an Elisp function?

I want to perform a repetitive task using Emacs and another program (which, unfortunately, runs under X). I have then set up an elisp function and a xdotool script to do the two parts of the work. The elisp function uses a cl-loop to iterate over…
1
vote
1 answer

how to copy top header line (`header-line-format`) under X

I have a header-line that displays currently opened file name on top of the buffer window. I can't find a way to copy the text/file name from that header-line if emacs runs under X/gui (selecting with a mouse and coping it works fine under…
pawciobiel
  • 13
  • 4
1
vote
2 answers

Detecting if Emacs is currently the active system window

I am faced with a specific problem: My elisp code, that reacts to DBus events, needs to know whether Emacs window it is currently running in has focus or not at the moment the event arrived. When running under X, the answer is known, and I'll put it…
RN3AOH
  • 53
  • 6
1
vote
1 answer

Any ways to make a GUI application fullscreen in EXWM?

I'm used to i3wm, as well as a couple other WM, but i noticed that, as far as i know, there isn't any function or keybinding existing in EXWM (by default) to make a GUI application fullscreen (which i3wm and other support). Example: For instance,…
Nordine Lotfi
  • 345
  • 2
  • 13
1
vote
1 answer

Launch EXWM only when no another WM or DE are being used

I use EXWM sometimes, but while i do appreciate it, i found myself using other WM and DE (either because i use my emacs config on another computer, since the config is in a usb stick, or other off-topic reasons) but because of the way i use it,…
Nordine Lotfi
  • 345
  • 2
  • 13
1
vote
1 answer

How can I tell if emacs was built with X support?

Is there a variable like system-configuration-options that will provide the computed features of the running emacs? Specifically, I'm looking for X support (--with-x=yes|no). Ultimately I'm trying to figure out why emacs isn't starting in GUI mode,…
Sean Allred
  • 6,861
  • 16
  • 85
0
votes
0 answers

EXWM black screen after startup

The following is my starting script (.emacs.d/exvm/start-exvm.sh) #!/bin/sh # this makes it work in Ubuntu xhost + ## you might need to append the TTY you are working on xinit wmname LG3D # Remap caps lock to left control. This is not strictly…
a6i09per5f
  • 101
  • 1
0
votes
0 answers

Receive windows manager notifications of display changes

Is there a way for emacs to receive display changes notification from the windows manager? I understand this might be an OS dependent question, so I'm particularly interested in the interaction between emacs and Gnome 3 windows manager (on Linux of…
0
votes
1 answer

resizing frame by window manage under AnyDesk disassociates emacs buffers' dimensions

I'm trying a new (to me) remote desktop tool AnyDesk (v.5.5.4). I'm attaching to Ubuntu18 system at work from a Ubuntu19 system at home. When I resize an emacs frame with the mouse, the menu bar, the mode line and mini-buffer and text area do not…
rjs
  • 11
  • 3
0
votes
1 answer

Bring Emacs frame to front when running emacsclient on WSL

Currently using Emacs on Windows Subsystem for Linux (WSL). I have this alias for emacsclient executable: alias e='emacsclient -n' Which I run very often when I am on the terminal (I use ConEmu or terminator). The problem is that whenever I…
nephewtom
  • 2,219
  • 17
  • 29