Questions tagged [ubuntu]
The ubuntu tag has no usage guidance.
57
questions
26
votes
4answers
17k views
14
votes
2answers
790 views
Emacs manuals are missing on Debian/Ubuntu
I was expecting the Emacs Lisp Reference Manual at (C-h i m elisp). But there was no menu elisp or lisp there. C-h v and C-h f work fine for variables or functions though. C-h i 5 takes me to file ...
6
votes
2answers
399 views
Emacs is garbled by output of a background process running in the same terminal emulator
My Emacs is running in foreground in terminal emulator, where I am also running some background processes.
My Emacs is garbled by the stdout and stderr output of the background process.
Besides ...
6
votes
2answers
228 views
some unicode characters such as “⊆” occupy 3 lines in emacs 24.4.1 on ubuntu gnome 15.04 64bit
Not every unicode character occupies 3 lines, but '⊆', '∈', and other unicode mathematical symbols occupy 3 lines in emacs on my system.
How can I fix this rendering bug?
5
votes
1answer
791 views
Replace whole words only
I want to replace all occurrences of a word in the whole buffer. What i do is:
M-x replace-string RET word-to-be-replaced RET new-word
The problem with this is that it also changes the word-to-be-...
4
votes
2answers
543 views
Flycheck r-lintr doesn't find anything
I want to use lintr to check R-files in emacs.
According to https://github.com/jimhester/lintr#emacs
lintr is fully integrated into flycheck when using ESS. See the installalation documentation ...
3
votes
1answer
116 views
How do I install An Introduction to Programming in Emacs Lisp? [duplicate]
This may sound odd, but when I type C-h i m Emacs Lisp Intro -- it's not there. I'm on Ubuntu 19.10 with Emacs 26.3. I tried apt-get install emacs-lisp-intro as the EmacsWiki said, but there's no such ...
3
votes
1answer
725 views
elpa certificate could not be verified
When I run package-list-packages, I'm getting an error:
The TLS connection to elpa.gnu.org:443 is insecure for the following reason:
certificate could not be verified
I found a few other reports of ...
2
votes
2answers
2k views
How to install and use exwm (the emacs based window manager) in Ubuntu 19.04?
I am running Ubuntu 19.04 on my laptop and want to use EXWM as my window manager, but am not sure how to get it into the list of window managers that one can pull down when one logs in. It seems to ...
2
votes
1answer
480 views
Enable greek spellchecking
How can I enable greek language spellchecking in Emacs to be the default spellchecking language, and how can change spellchecking between greek and english language? (My system is Ubuntu 14.04 64bit)....
2
votes
0answers
137 views
Executing buffer twice in Python 3
I set up an environment to write Python 3 Code in my emacs (25.2.2) using python-mode and Elpy on Ubuntu 18.04.
Strangely every time I use Python --> Send --> Execute Buffer the program is executed ...
2
votes
0answers
402 views
Emacs times out trying to read from /dev/tty on startup?
After several years of being annoyed of Emacs on Ubuntu (not Mac via brew) having a ~2-3 second delay before displaying file contents at startup I finally decided to debug this.
I ran strace -r emacs ...
2
votes
0answers
851 views
emacs-snapshot from Ubuntu PPA is currently totally broken [closed]
I have updated emacs-snapshot earlier today and it broke my Emacs installation into pieces (it is Ubuntu 14.04).
It somehow removed whole emacs24 package so now I have no even emacs-client installed.
...
1
vote
3answers
1k views
Colors illegible after upgrading OS
After having upgraded a computer from Ubuntu 15.04 to 15.10 the colors in Emacs (which I run in the terminal with --no-window-system) have changed substantially and some text is now illegible. I would ...
1
vote
2answers
1k views
Should I update or install emacs and related packages?
Emacs site says:
The current stable release is 24.4 (released October 20, 2014; see also dates of older releases).
I have installed it on my Ubuntu 14.04, by downloading the source from the emacs ...
1
vote
1answer
654 views
emacs minimal install for Ubuntu server use
Is there a minimal version of emacs?
When using apt get install emacs24 on a 16.04 LTS machine the packet manager propose me to install 200 MB worth of stuff...
The following NEW packages will be ...
1
vote
2answers
3k views
No such file or directory error on executing script
I use GNU Emacs 24.3.1 on Ubuntu 14.04 and I have a bash script: ~/path/to the/script/test.sh. As you see the path has space character. Script has a simple content:
ENTRY=`zenity --password --...
1
vote
1answer
550 views
Why won't “fg” reopen emacs after C-z? [closed]
I open a terminal and type fg like it says but it says no current process.
I also tried %emacs and got the same.
I'm on trusty tahr 14.04, anyone else got this?
*edit: I was following the built-in ...
1
vote
2answers
203 views
Emacs directory is not readable on Ubuntu
When I start Emacs 25 on Ubuntu, I get this message:
cannot open load file permission non accordée , mode-util
With emacs25 -debug I've got:
Warning: Lisp directory '/usr/share/emacs/25.2/lisp': ...
1
vote
1answer
38 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 ...
1
vote
1answer
113 views
How do I resolve Ubuntu 16.04 emacs v46.1 default versus compiled v25.2-1 “downgrade”? [closed]
I'm working for the first time on an Ubuntu 16.04 LTS machine, and honestly I'm not sure if this is an emacs build/debian package question or if it's an Ubuntu 16.04 question. Please nudge me in the ...
1
vote
0answers
39 views
How can I get an ftp connection to stop timing out in emacs?
I'm using M-x shell in Emacs and just connecting through vanilla ftp from the command line (bash).
I remember (many moons ago) I came across a script for Emacs that'd keep a persistent ftp connection ...
1
vote
1answer
524 views
Does Emacs 26.3 require older version of ImageMagick?
I've just upograded Ubuntu 19.04, which installs imagemagick 7. When trying to start my Emacs install, I see the following error:
emacs: error while loading shared libraries: libMagickWand-6.Q16.so.3:...
1
vote
0answers
216 views
How to get Emacs use the Ubuntu login password for tramp
Ubuntu 16.04 Emacs 26.1 Emacs needs to open the file with root privileges. Here is my code:
(secrets-delete-item "session" "Login")
(secrets-create-item "session" "Login" "myParol" :method "sudo" ...
1
vote
0answers
227 views
Adjusting to screen resolution changes on GNU/Linux/ubuntu/gnome
I'm running emacs 26.1 on ubuntu 18.04 on a Dell laptop with a high-resolution display. It works very well in that configuration. It also works very well when the laptop is plugged into a lower-...
1
vote
0answers
198 views
Key bindings are not recognized with non-Latin keyboard layouts on Ubuntu
A lot of times I have to change the input language of the keyboard (from English to a different one) causing the problem of the Emacs commands to not be recognized.
Normally when you press Ctrl+A you ...
1
vote
1answer
1k views
ncurses-like based applications won't work in emacs terminals
No *curses applications (like top, htop, Linux kernel's make menuconfig and others) will work under emacs' different terms. However, the only one which seems to work is git add -i
It behaves the same ...
0
votes
2answers
344 views
plantuml requires a header argument (Emacs 24 on Windows' Ubuntu Subsystem)
I'm trying to output images using plantuml-mode. It seems I have plantuml-mode installed successfully, as I can activate the major mode, but I am unable to evaluate using C-c C-c:
PlantUML requires ...
0
votes
1answer
279 views
Upgrade to 16.04 incomplete because of Xemacs
Yesterday, I ran an upgrade from 12.04.5 over 14.04.5 to 16.04.1. The first step (12.04.5 --> 14.04.5) worked quite well, no relevant problems. But the second step failed due to problems with some ...
0
votes
1answer
43 views
tramp mode on Ubuntu hangs while attempting ssh to 0.0.0.1
With emacs 25.2.2 on Ubuntu 18.04, if I try opening a file over ssh using a path such as /ssh:somehost.example.com:/tmp/testfile, it launches a sub-process that does:
/usr/bin/ssh -o ControlPath=%C 0....
0
votes
1answer
51 views
C-M-l locks the screen in Ubuntu
Emacs Manual says that C-M-l is to Scroll heuristically to bring useful information onto the screen (reposition-window).
When I type C-M-l in Ubuntu, Emacs 27.1, the OS is automatically locking the ...
0
votes
1answer
29 views
How can I use the function debian-run-directories in Ubuntu 18?
I had this code in my emacs config to load/include any additional config in the site-start.d folder. It worked well on two debian machines, but currently I need to use Ubuntu 18 with emacs 26.3 and it ...
0
votes
1answer
426 views
Emacs installed with the Ubuntu application manager runs but isn't in the $PATH. Where is it?
Emacs 26.2 is installed with the application manager, not apt-get.
When calling it in the terminal I get :
samusz@samusz-K55:~$ emacs
La commande « emacs » n'a pas été trouvée, mais peut être ...
0
votes
1answer
173 views
Emacs multi-term support for version 25 - Ubuntu 18.04
The requirement is to enable multi-te m support for emacs package. Bydefault in Ubuntu 18.04 default emacs coming with v25, but in this version, I'm unable to enable the multi-term support ( for more ...
0
votes
1answer
624 views
ESS not installable (Ubuntu 18.04)
The day before yesterday, I have experienced my Ubuntu package ess (Version: 17.11-3bionic0) no more configuring properly during apt-get update. I then tried apt-get install -d ess and:
dpkg -i /var/...
0
votes
1answer
173 views
How to open Emacs (Terminal) using key combinations?
On Ubuntu, to open the Terminal, we press Ctrl + Alt + t.
Do there exist key combinations to open Emacs Terminal (without GUI)?
0
votes
1answer
520 views
Can not activate a virtual environment in emacs, but can through the usual shell
I created a virtual environment that I can activate used a command line from Terminal (Ubuntu):
source/bin activate
I did what follows to achieve the same on emacs:
M-! then source/bin activate ...
0
votes
1answer
207 views
emacs interface to ubuntu package management (apt, dpkg)
Is there an emacs library for managing packages on Ubuntu,
ie an emacs based alternative to synaptic and aptitude?
Presumably this would be an elisp wrapper around apt, dpkg and friends
and look ...
0
votes
2answers
1k views
Page up in Mac OS X and in Ubuntu under Virtualbox in Mac OS X?
What are the keystrokes for page up
In Mac OS X,
In Ubuntu installed in Virtualbox in Mac OS X?
both alt-V and command-V don't perform page-up.
I am running emacs in a terminal emulator.
Thanks....
0
votes
1answer
499 views
Forgot to expand macro
I just installed emacs24 on my Ubuntu 14.04 LTS OS as follows:
$ sudo apt-get install emacs24
When I open emacs, I get the following errors (duplicate messages removed):
eieio/eieio.elc:Error: ...
0
votes
0answers
45 views
WSL: emacs gui won't start
I'm on Windows 10 Pro 10.0.21337 (windows insider program) and installed WSL with Ubuntu 20.04.
From within ubuntu I said
apt-get update
apt-get upgrade
apt-get install emacs
dpkg -l emacs
->
||/ ...
0
votes
1answer
35 views
Debuggable emacs and vanilla emacs binaries
I'm running Ubuntu 20.04.
I would like to build an emacs binary for general usage (no debug symbols) and
another emacs binary (when something goes wrong). The build is pretty straight-forward, but I ...
0
votes
0answers
26 views
emacs - swapping ctrl and hyper
I'm on Ubuntu 20.04 (GNU Emacs 26.3), and I would like to swap the Hyper and Ctrl keys. Basically, I have a keyboard map set up (with xkb) that suits my needs, except that in emacs (and only in emacs),...
0
votes
0answers
25 views
How to set a font just for CJK?
I'm not happy with the font used for Japanese characters and would like to change it. I'm using Emacs 27.1 on Ubuntu 20.04.1. I did not have that problem with the last version(maybe the default font ...
0
votes
0answers
35 views
GUI started emacs has different env vars than terminal started one
I wrote LD_LIBRARY_PATH both in .bashrc and .bash_profile.
However, if I started emacs in terminal using emacs, LD_LIBRARY_PATH is shown in getenv.
If I started it using GUI, there is no such variable....
0
votes
0answers
24 views
Ocaml merlin binary not found / weird string being prepended to merlin-opam-bin-path
Using spacemacs with the ocaml layer and I get the following error when I edit a source file:
Error from syntax checker ocaml-merlin: Searching for program: No such file or directory, alias: Expected ...
0
votes
1answer
81 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. ...
0
votes
1answer
60 views
Emacs config file when installed using snap
I installed Emacs 26 on Ubuntu using snap.
Where to find the Emacs configuration file in this context ?
0
votes
0answers
94 views
Emacs font style and colorisation
I am used to Emacs under Windows 10 and trying to switch to Ubuntu.
My Windows 10 Emacs font is M-x describe-font:
name (opened by): -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-...
0
votes
2answers
1k views
emacs org bullets not working
I'm using emacs on ubuntu 19.04. This is my init file
(use-package org
:ensure t
:pin org)
(use-package org-bullets
:ensure t
:config
(add-hook 'org-mode-hook (lambda () (...