Questions tagged [linux]

for Emacs and GNU/Linux operating system-specific issues about compiling, installing, configuring, running, editing, and debugging.

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

How to use Emacs on MS Windows for UNIX-like commands?

I tried running find-name-dired from one of my dired buffers. I got this: find . "(" -iname "*.cc" ")" -exec ls -ld {} ";" File not found - "*.cc" ...
Rob N's user avatar
  • 607
0 votes
0 answers
21 views

Creating a portable html file using Org-reveal

Description of problem I am new to Emacs and want to write a presentation using Org-reveal that can be opened on other computers. I have read that I need to create a portable file using #+OPTIONS: ...
Tiberius's user avatar
  • 113
1 vote
1 answer
45 views

Picking emoji fonts in Emacs?

How to set the font used for emojis in Emacs? More specifically, how do I set it to Noto Monochrome Emoji Font? https://github.com/googlefonts/noto-emoji/tree/main/fonts https://fonts.google.com/noto/...
01AutoMonkey's user avatar
0 votes
0 answers
33 views

Is there a way to enable OpenType font features (specifically for Monaspace)

I'm currently running Emacs 28.2 on Debian 12 (Doom core v3.0.0-pre, Doom modules v23.12.0-pre). I have checked for harfbuzz support and have ligature.el installed. I recently found Monaspace, and ...
Justin Jung's user avatar
0 votes
0 answers
84 views

Erratic font behavior after upgrading from 27.1 to 29.1 related to --no-x-resources

After upgrading Emacs from 27.1 to 29.1 yesterday (both compiled from source without configure settings except for --prefix) I am seeing erratic behavior of the fonts. The issue vanishes, when I start ...
kdb's user avatar
  • 1,561
0 votes
1 answer
56 views

Emacs Save As with external File Manager Popup -(Linux)

On some of my Linux machines, when I file-save-as, then the system file manager pops up and I can easily select destination. On other Linux Machines, I only get the emacs internal buffer save-as, ...
diyer's user avatar
  • 1
0 votes
0 answers
229 views

New Frame function fails to size the new frame correctly and prints a Gtk-CRITICAL message. Is this the return of an old bug?

I am using Emacs 29.1. After upgrading Linux to Ubuntu 23.04 the emacs create new frame function (C-x 5 2) seems broken. What happens: when I create a new frame, it shows up so tiny (15x7) that the ...
2square's user avatar
0 votes
1 answer
45 views

Is there a cross platform way of accessing the GUI clipboard from emacs lisp?

I run emacs with a common configuration on osx and linux. I have some custom functions that need to get access to the GUI clipboard. I find interacting with the clipboard a bit of pain - so I've ...
Att Righ's user avatar
  • 775
0 votes
0 answers
51 views

How to completely disable drag-and-drop of file in X11 Emacs?

This issue irks me for a long time... I use Emacs under X11 + KDE (plasmashell + kwin_x11), and Emacs GUI window always robs the dragging event when I am dragging a file from file manager into the ...
kuanyui's user avatar
  • 1,040
0 votes
0 answers
47 views

Tramp from Linux into a Windows machine and use the language development server from the Windows machine with eglot?

I think everything is in the title. I use Linux on a day to day basis. I'm going to occasionally have to edit a C# project that is on a Windows machine. There is a C# development environment installed ...
John Smith Optional's user avatar
2 votes
2 answers
1k views

How to install emacs29 with X11 support?

After installing emacs 29 with yay emacs29-git now on startx I get: You are trying to run Emacs configured with the "pure-GTK" interface under the X Window System. That configuration is ...
jjk's user avatar
  • 721
0 votes
0 answers
98 views

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 ...
a6i09per5f's user avatar
0 votes
1 answer
51 views

Why is my simple use of shell-command to change a global keybinding in Linux not working?

I want to be able to change a global keybinding by calling an Emacs function. The command in question is: gsettings set org.gnome.desktop.wm.keybindings switch-applications "['<Super>Tab']&...
Orixi's user avatar
  • 5
0 votes
0 answers
224 views

How install Emacs 28 from OFFICIAL REPOSITORY?

Linux Mint 21.3 I installed Emacs like this: apt-install emacs It's success installed ... but it's version 27. But I want to install Emacs 28... from OFICIAL REPOSITORY. Is it possible?
a_subscriber's user avatar
  • 4,010
0 votes
1 answer
63 views

Advanced key reconfiguration under Linux

I'm transitioning to Emacs and trying to reconfigure the layout in a way that reduces the strain on my fingers. One thing I would like to have is the following behavior, which I was told is impossible ...
Alexander Praehauser's user avatar
1 vote
0 answers
307 views

Display AVIF images?

I enabled image-use-external-converter, and I added avif to image-file-name-extensions and AVIF to imagemagick-enabled-types. However, that doesn't do the trick. I would like AVIF files to render in a ...
feklee's user avatar
  • 1,079
0 votes
1 answer
33 views

Compare recursive flattened/"branch view" list of files between two directories in emacs/linux

I have two folders, "old" and "new". The "new" folder includes files from "old" that have been copied into subfolders by a program. [-] Test |--[-] New | |--...
student's user avatar
  • 33
1 vote
2 answers
2k views

How to Install Emacs latest stable release?

I'm trying to install spacemacs on my laptop with elementary os. With apt the latest version I get is 26.3 and I don't understand why because it seems to be far away from the most recent stable ...
JosephMcDonnell's user avatar
0 votes
1 answer
47 views

Building emacs for Alpine Linux info/dir target failure

I am trying to build emacs for Alpine Linux by following the instructions. After installing the relevant packages I run configure --with-x-toolkit=lucid --with-mailutils --enable-gcc-warnings --with-...
Satrapes's user avatar
4 votes
2 answers
298 views

How to see total line number of a file in emacs Mode line?

I really need this but couldn't figure out how to do it. Let's say I open a file in a new buffer which has 200 line of code. Now I'm in the beginning of my file in line 1. And Mode line showing All(1,...
Likhon BaRoy's user avatar
1 vote
2 answers
290 views

Why is my C-. keystroke getting captured?

I have a strange problem that I've observed using GNU Emacs 28.1 on gnome + arch linux. I have a commands bound in my .emacs to C-, and C-., which I wrote a long time ago to jog up and down the buffer....
Brandon Kuczenski's user avatar
0 votes
1 answer
179 views

How to open serial-port with root privileges

When I try to open /dev/ttyUSB0 with serial-term, following permission error shows: Opening serial port: Permission denied, /dev/ttyUSB0 I know I can add my user to a group that has access to /dev/...
Garid's user avatar
  • 619
0 votes
3 answers
465 views

Why can't I type things such as "?" and "/" in Emacs with my macOS running Brazilian Portuguese input but they do work outside of Emacs?

I have been using Emacs on a NixOS (Linux) machine running GNOME as a Desktop Environment. The hardware interface of this system is an American keyboard. Since I am Brazilian, it was necessary for me ...
Pedro Delfino's user avatar
0 votes
3 answers
64 views

After package installation, why Emacs kept retrieving an error message on "Creating directory: Operation not supported" subsequent to normal behavior?

I was using this init file on a NixOS machine. It is important to note that parts of the file were written with use-package and other parts were a legacy from the classic imperative installation of ...
Pedro Delfino's user avatar
2 votes
3 answers
221 views

How can I run additonal linux commands after compiling a latex file

I want to run the following commands when emacs compiles a latex file. FILE="main.tex" # currently opened buffer in the emacs pdflatex -shell-escape -shell-escape -jobname=main_temp $FILE ...
alper's user avatar
  • 1,340
1 vote
1 answer
369 views

Modifying local Google Drive files from Emacs

Recently I've moved from MS Windows to Linux Mint. While on windows, I used to have a code of backup in my init.el file, so that all emacs backups were saved into my local folder DRIVE, that was ...
Rhythmical Diphthong's user avatar
3 votes
1 answer
294 views

How can I have a bracket guide when programming?

What I am looking for is a guide to show what area of the code a set of brackets covers. I am not referring to highlighting the match between parentheses or brackets but instead outlining the field ...
qKweint's user avatar
  • 90
0 votes
0 answers
53 views

Z-Order of Emacs Client Not Layered Top-Most

System & related settings: Fedora 35 (using Cinnamon Desktop) Emacs 27.2 focus mode: "sloppy" with "raise-on-click" disabled Contrary to all other applications, including the ...
Phoenix's user avatar
  • 351
0 votes
1 answer
251 views

How to remove emacsclient and emacsclient.emacs from linux(debian)

I have installed emacs using apt. I have already tried: apt purge emacs apt purge emacs-gtk When I tried to remove emacsclient using apt. It says "E: Unable to locate package emacsclient"...
ganiseh699's user avatar
1 vote
1 answer
343 views

Cannot enable FACE attributes with (custom-theme-set-faces!)

config.el (custom-theme-set-faces! 'doom-ir-black '(mode-line :foreground "blue") ;;'(mode-line :foreground t) ;; also doesn't work ;;'(mode-line :foreground "#000000&...
qKweint's user avatar
  • 90
0 votes
1 answer
92 views

Different behavior between M-! and a terminal?

I'm writing a major mode to interface with a popular but clunky Monte Carlo program. I've also written a script that makes the interface a little more tolerable, and have written the following simple ...
Duncan W's user avatar
  • 113
1 vote
1 answer
986 views

Auto-detect system dark mode or light mode and select themes based on that

Is there a way on linux (Ubuntu 20, Gnome) to detect changes in system's dark mode vs light mode and change emacs themes to a dark theme or light theme that I specify? I see this question Change theme ...
Peeyush Kushwaha's user avatar
0 votes
0 answers
59 views

Get notified through Diary or Org-Mode even when Emacs is closed?

I am using Emacs on my Pine Phone running Mobian (Debian with a phone shell). What I am looking to do is set up Diary or Org-Mode to set up a calendar and get notifications when Emacs isn't running. I ...
Hercislife's user avatar
0 votes
0 answers
58 views

Duplicate headllines in org mode in CentOS

CentOS 7 Emacs 27.1 Magit Here my folder with org mode files: I open current.to.do.org and it success open. As you can see the first headline is ANDROID and last headline is TESTING. Nice. Now I ...
a_subscriber's user avatar
  • 4,010
0 votes
0 answers
181 views

Emacs can't see system fonts on Debian

I have small problem with fonts' availability in Emacs on Debian 10. I have downloaded 'Fira Code' fonts and correctly installed them. They are exists on fc-list and are available in other programs ...
Roy Tancredi's user avatar
2 votes
1 answer
164 views

.svg not exported through org-export + paragraphs not separated after newline

I have been constantly trying to render a logo.svg found in my custom title-page (included in #LATEX:) to match our university title-page for academic writings, but have unfortunately not had success ...
Icy-Thought's user avatar
6 votes
1 answer
3k views

How to get the PATH from the SHELL

When launched at system start-up, the Emacs daemon doesn't pick up modifications to the PATH introduced by shell initialization scripts. Emacswiki suggests to use this function to update Emacs' PATH, (...
Arch Stanton's user avatar
  • 1,625
1 vote
0 answers
2k views

How to install Emacs 26 on CentOS 7?

CentOS Linux release 7.9.2009 (Core) To install Emacs on CentOS I use this: sudo yum install epel-release sudo yum install emacs Nice. But the problem is that... it install old version of Emacs = 24....
a_subscriber's user avatar
  • 4,010
0 votes
1 answer
559 views

How to get package `dired-icon` to show icon images in Dired?

I installed the package dired-icon and restarted Emacs. I then ran M-x dired-icon-mode But no icon shows up in Dired mode and in the minibuffer the following message is shown: Opened text-plain.png ...
a_subscriber's user avatar
  • 4,010
0 votes
1 answer
455 views

Tramp hangs indefinitely when using doas on Linux

Tramp works fine when I try to edit with sudo or ssh, but when I try to edit with doas it will hang (while also maxing out my cpu). Here is some tramp output: backtrace() tramp-signal-hook-...
ryan's user avatar
  • 57
0 votes
1 answer
254 views

User emacs has no home directory

I am an emacs newbie running emacs doom on Linux. I am learning how to use traditional emacs in my free time and have an emacs config file that I want to test out. I launch my traditional emacs by ...
user1801060's user avatar
1 vote
0 answers
341 views

emacs27 : Depends: emacs27-common but it is not going to be installed

I has Emacs 25.3 emacs -version GNU Emacs 25.3.2 Copyright (C) 2017 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Emacs under the terms ...
a_subscriber's user avatar
  • 4,010
3 votes
2 answers
2k views

How do I get colour emoji to display in Emacs

Emacs 27 gained support for Cairo for font rendering and this is supposed to let me render emojis but I can't find out how to make it work. I just about managed to set up some fontsets but the emoji ...
Dan Robertson's user avatar
1 vote
1 answer
203 views

How to call Elisp functions from my own implementation of a shell?

I'm writing my own shell which can handle most of the GNU/Linux system calls now. So I was wondering if I could make this shell call Elisp functions too. Is it possible to do so? Is so, how do I get ...
Veera Sivarajan's user avatar
2 votes
1 answer
211 views

Binding XF86Cut and XF86Copy to Emacs Commands

I have a keyboard with dedicated keys for XF86Cut, XF86Copy, XF86Paste. I want to bind these to Emacs commands. The goal is get the usual behavior for cut-and-paste between Emacs, my terminal, and my ...
Charles R's user avatar
  • 121
1 vote
0 answers
56 views

Is the Hyper modifier key usable on non-X11 platforms?

I have a hyper modifier setup, however I was wondering if it's possible to use this on any windowing systems besides X11, for example: macOS Wayland Win32 The terminal.
ideasman42's user avatar
  • 8,726
0 votes
0 answers
32 views

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 ...
Damian Nadales's user avatar
1 vote
1 answer
175 views

Spacemacs crashing on start with Ubuntu 20.04

I'm having a problem where every time I open Spacemacs it immediately crashes on Ubuntu 20.04. It was crashing for some actions with Magit and starting a CIDER REPL so I decided to do a fresh install. ...
TomLisankie's user avatar
1 vote
1 answer
48 views

Emacs terminal - the location before the command prompt

My emacs terminal is currently displaying ;0user@Ubuntu: ~user@Ubuntu:~$". This happened after my friend was using my laptop, and is persisting after uninstalling and reinstalling emacs, as well as ...
Andrew's user avatar
  • 21
0 votes
1 answer
38 views

Newbie to emacs. need help

Are there any good resources that anyone can suggest. I rate myself 3 out of 10 when it comes to using editors like vim
betterthananoob's user avatar