Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
3
votes
2
answers
3448
views
alacritty - change background color based on application
Is it possible to change the background color depending on which application is running currently? My vim theme background differs with the terminal but I don't want to change the background of my terminal permanently just because of vim.
Is it possible to change the background color depending on which application is running currently?
My vim theme background differs with the terminal but I don't want to change the background of my terminal permanently just because of vim.
GhostOrder
(181 rep)
Jul 22, 2022, 03:54 PM
• Last activity: Apr 27, 2025, 11:01 AM
1
votes
1
answers
555
views
How to specify [[hints.enabled]] Alacritty section one matching hypelinks (open on mac) and second any file paths and open in vim
I am using Alacritty terminal for quite some time and it has a great feature to follow hyperlinks when clicking Ctrl+Shift+U. I am using MAC so a default program is `open`. Iam trying to add one more section [[hints.enabled]] command = "vim" # On Linux/BSD # command = "open" # On macOS # command = {...
I am using Alacritty terminal for quite some time and it has a great feature to follow hyperlinks when clicking Ctrl+Shift+U. I am using MAC so a default program is
open
.
Iam trying to add one more section
[[hints.enabled]]
command = "vim" # On Linux/BSD
# command = "open" # On macOS
# command = { program = "cmd", args = [ "/c", "start", "" ] } # On Windows
hyperlinks = false
post_processing = true
persist = false
mouse.enabled = true
binding = { key = "F", mods = "Control|Shift" }
regex = '(\n|.)*/\.[^/]*[^~]'
The goal would be pretty straightforward. If Alacritty finds on a current focused terminal
paths like lines below, I would like to follow them with vim
.
~/path/to/file.(whatever suffix)
../path/to/file.(whatever suffix)
path/to/file.(whatever suffix)
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git restore ..." to discard changes in working directory)
modified: .terraform.lock.hcl
modified: main.tf
...
etc
...
Any ideas ?
Thx
user2156115
(111 rep)
Aug 26, 2024, 07:31 PM
• Last activity: Aug 28, 2024, 08:42 AM
2
votes
2
answers
2148
views
Vim enable Ctrl+Shift+C
So...I'm using Vim (in the terminal, not any sort of other gui; whenever Vim is used by itself, assume it's terminal vim). Vim is decent, I actually don't find the learning curve to be too bad. I'm a bit less efficient than I would be in a normal text editor, though, primarily due to the act of swit...
So...I'm using Vim (in the terminal, not any sort of other gui; whenever Vim is used by itself, assume it's terminal vim).
Vim is decent, I actually don't find the learning curve to be too bad. I'm a bit less efficient than I would be in a normal text editor, though, primarily due to the act of switching to and from normal mode.
But there is one thing about vim that drives the nails in the coffin for me. Normally, when I press Ctrl+Shift+C in my terminal, it copies the text that I've highlighted to the window manager clipboard, and I can then paste that. Ctrl+C and Ctrl+V (or their variants) work absolutely fine in every application that I've used on my system.
With Vim, I can press Ctrl+Shfit+V and it will paste the data that I have in my clipboard. But for the life of me, Vim does not copy to the global clipboard. I have tried...
- Ctrl+Shift+C with visual mode
- using both
"*y
and "+y
(or another copy command)
- using set clipboard=unnamed
and set clipboard=unnamedplus
- installing gvim for "clipboard support" (for terminal vim) and repeating the other steps.
Vim just...*refuses* to copy to the clipboard.
But I had a thought. I don't need Vim copy to the clipboard *itself*. I just need it to *stop blocking / intercepting the terminal's behavior for Ctrl+Shift+C in visual mode*. But I'm still new to Vim, and I have absolutely no idea how one would accomplish this. All of my attempts to search for something this specific are rather vapid. This is my question to this form: **is there a way to get Vim to allow the terminal emulator (Alacritty) to copy to it's clipboard using Ctrl+Shift+C?** If someone with more Vim experience than myself could give me a pointer, I would really appreciate it.
My system, for reference, is Arch Linux using the Sway window manager with the Alacritty terminal emulator. I've seen various things about installing a clipboard manager for Sway, because default Sway doesn't hold the clipboard data if you exit the program you've copied the text from. However, I've never really had a problem with this; even when I quit a program completely, the data is still there. The default clipboard works absolutely fine for me and I don't necessarily want to install and configure a clipboard manager just to get vim to *maybe* work, unless it's the only option. This doesn't seem like the issue anyways.
Also, if it helps, the gvim standalone application ***does*** support copying to the clipboard, but standard terminal Vim ***does not***. If possible, I would really like to use a terminal text editor. But I guess I'll just use the gvim app if nothing can be done.
user2624583
(169 rep)
Feb 7, 2024, 06:57 PM
• Last activity: Aug 8, 2024, 09:02 PM
2
votes
0
answers
90
views
Why does pasting something with angle brackets into GNU Screen not work in Alacritty?
pasting this into screen ``` wg pubkey ~/.ssh/wireguard.t520.public.key ``` .. results in this: ``` ~/.ssh/wireguard.t520.private.key > ~/.ssh/wireguard.t520.public.keywg pubkey ``` I know it looks weird, but that's the result. It's the angle bracket ">" that causes this. This must be some kind of k...
pasting this into screen
wg pubkey ~/.ssh/wireguard.t520.public.key
.. results in this:
~/.ssh/wireguard.t520.private.key > ~/.ssh/wireguard.t520.public.keywg pubkey
I know it looks weird, but that's the result. It's the angle bracket ">" that causes this.
This must be some kind of known bug?;) I think I found some references on this once, but I forgot where.
- I'm using Alacritty terminal and I paste with keyboard shortcut and mouse.
- I fired up gnome-terminal and it seems it works there, so this must be related to Alacritty.
- I also tried xterm and it works there as well, so it's definitely Alacritty that is the culprit.
Jason Hunter
(227 rep)
Jul 11, 2024, 12:41 AM
• Last activity: Jul 14, 2024, 12:39 PM
1
votes
2
answers
635
views
How do I create a global 'Hotkey' window for Alacritty?
I've been migrating from iTerm2 to Alacritty, and the feature I miss most is the global hotkey window. I've attempted to replicate this behavior using AppleScript, but to no avail. What's the best approach to duplicate iTerm2's hotkey window behavior in Alacritty?
I've been migrating from iTerm2 to Alacritty, and the feature I miss most is the global hotkey window. I've attempted to replicate this behavior using AppleScript, but to no avail. What's the best approach to duplicate iTerm2's hotkey window behavior in Alacritty?
mick.io
(111 rep)
Jan 31, 2024, 07:15 PM
• Last activity: Jun 23, 2024, 02:59 PM
0
votes
0
answers
281
views
Can't clear / scroll-back buffer when using tail -f alacritty?
When I use tail with the `-f` option, I can not find anyway to clear the screen. It just shows a `^L`. Same problem when following live logs with docker. While I'm just in the shell, the `cmd-k` works fine. I raised this issue on github (https://github.com/alacritty/alacritty), but they quickly dism...
When I use tail with the
-f
option, I can not find anyway to clear the screen. It just shows a ^L
. Same problem when following live logs with docker.
While I'm just in the shell, the cmd-k
works fine.
I raised this issue on github (https://github.com/alacritty/alacritty) , but they quickly dismissed this as not their problem.
Can anyone shine some light on whats going on? I would assume the screen clearing is part of the Terminal app. Apple's default Terminal
and iTerm
seem to have no problem with this.
Thanks!
Roger
(123 rep)
Feb 19, 2024, 04:44 PM
1
votes
0
answers
1504
views
How to enable <Ctrl+Backspace> with Tmux, Neovim and Alacritty to delete the previous word?
I use the alacritty terminal, and neovim editor with tmux. At first Ctrl + Backspace (for deleting a previous) wasn't working at all in the terminal. So added the following line to `alacritty.yml`: ```yml key_bindings: - { key: Back, mods: Control, chars: "\x17" } ``` And this enabled the keybinding...
I use the alacritty terminal, and neovim editor with tmux.
At first Ctrl+Backspace (for deleting a previous) wasn't working at all in the terminal. So added the following line to
alacritty.yml
:
key_bindings:
- { key: Back, mods: Control, chars: "\x17" }
And this enabled the keybinding in alacritty. And now it deletes a word in the terminal. So I added the following in my neovim keybindings:
vim.keymap.set("i", "^H", "", { desc = "Delete previous word", noremap = true, silent = true })
And this enabled it in neovim. But when I open vim in **tmux**, it doesn't work. I tried adding the following
- -key -n C-BSpace send-keys C-BSpace
- -key -n C-BSpace send-keys ^H
- -key -n ^H send-keys ^H
- -key -n ^H send-keys C-BSpace
Nothing seems to work. I looked up on the web for any other answers, but I couldn't find anyone with a similar problem.
So before I set the option in alacritty when I do run $ cat
(or first press Ctrl+V) and then press Ctrl+Backspace it shows me ^H
, but after adding that keybinding in alacritty, it doesn't do that anymore, it directly starts deleting a word before it. But neovim doesn't do the job.
Also I tried $ cat
on two different terminals (xfce4-terminal and terminator) and both gave me ^H
. I don't know how to set the keybinding in these terminals. Just presssing on Ctrl+Backspace in these terminals just acts like a single Backspace, it does the same thing on tmux as well (when used on those terminals).
**EDIT [SOLVED]**:
I had a binding set for Ctrl-W in my tmux config. As one of the comments suggested:
> Why do that when Ctrl-w already deletes the previous word both in insert mode in neovim and in the command line?
And my answer was because I already have a binding set to Ctrl-W, so I tried removing that keybinding, and it works. My configs:
alacritty.yml
:
key_bindings:
- { key: Back, mods: Control, chars: "\x17" }
nvim/init.lua
:
vim.keymap.set("i", "^H", "", { noremap = true, silent = true })
These two combinations actually fixed it. But when vim converted Ctrl-Backspace to Ctrl-W, and because I had Ctrl-W set as a binding in my tmux config, I think tmux was maybe interfering with that specific binding. I am not sure. But this is how I fixed it.
an4s911
(141 rep)
Feb 17, 2024, 01:07 PM
• Last activity: Feb 18, 2024, 06:35 AM
0
votes
0
answers
153
views
Can't use ctrl+shift+c to copy to secondary clipboard
Running I3 without a desktop environment on Debian 12. My terminal is Alacritty and my shell is bash. I am unable to copy into what I assume is the secondary selection clipboard using the default shortcut CTRL+SHIFT+C. I can mark/highlight text by holding down left mouse button and dragging it and i...
Running I3 without a desktop environment on Debian 12.
My terminal is Alacritty and my shell is bash.
I am unable to copy into what I assume is the secondary selection clipboard using the default shortcut CTRL+SHIFT+C.
I can mark/highlight text by holding down left mouse button and dragging it and it is correctly copied into the primary clipboard which allows me to paste using middle mouse button.
If I copy something from for instance a browser using ctrl+c, I am able to paste it into the terminal using CTRL+SHIFT+V.
I have tried a different shell, for instance sh and zsh.
I have tried different terminal emulators, for instance Alacritty and i3-sensible-terminal.
I have tried to search for conflicting shortcuts using grep, I have been unable to find any conflicting shortcuts in X11, Alacritty, I3 config etc.
I have also tried using tmux without luck.
I have tried to set keybindings manually in the Alacritty config file without luck.
Can anyone help point me in the right direction to get my CTRL+SHIFT+C working properly?
unixbol
(1 rep)
Dec 30, 2023, 12:09 PM
3
votes
1
answers
1703
views
Unable to run alacritty using nix
.nix-profile/bin/alacritty Error: Error creating GL context; Received multiple errors: Could not create EGL display object `glXQueryExtensionsString` found no glX extensions Error: "Event loop terminated with code: 1" Running debian stable and installed alacritty using nix package manager Some users...
.nix-profile/bin/alacritty
Error: Error creating GL context; Received multiple errors:
Could not create EGL display object
glXQueryExtensionsString
found no glX extensions
Error: "Event loop terminated with code: 1"
Running debian stable and installed alacritty using nix package manager
Some users suggest using this - https://github.com/guibou/nixGL . But i get this error
nix-channel --add https://github.com/guibou/nixGL/archive/main.tar.gz nixgl && nix-channel --update
warning: unable to download 'https://cache.nixos.org/v5djb4jw3hg4brdbidqaspin8n8isyq6.narinfo ': SSL peer certificate or SSH remote key was not OK (60); retrying in 259 ms
these derivations will be built:
/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv
building '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv'...
while setting up the build environment: executing '/bin/bash': No such file or directory
builder for '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv' failed with exit code 1
error: build of '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv' failed
error: program '/usr/bin/nix-build' failed with exit code 100
nk2
(61 rep)
Nov 28, 2022, 01:55 PM
• Last activity: Nov 11, 2023, 08:51 PM
2
votes
1
answers
2174
views
Colors different when running nvim through tmux using alacritty config
Background: I'm just setting up an install of Arcolinux. I have a keyboard shortcut SUPER+Enter to launch alacritty. What I want is to have alacritty automatically create and start in a new tmux session if there are none that havent been attached to. Or attach to an existing tmux session if nothing...
Background:
I'm just setting up an install of Arcolinux. I have a keyboard shortcut SUPER+Enter to launch alacritty.
What I want is to have alacritty automatically create and start in a new tmux session if there are none that havent been attached to.
Or attach to an existing tmux session if nothing is attached to it.
I got this working by adding the following into alacritty.yml:
shell:
program: /usr/bin/bash
args:
- -l
- -c
- "tmux ls | grep -v attached && tmux attach || tmux"
This all works exactly as I would like apart from one thing, the colors in nvim are messed up using this method (darker so visual mode has the same highlight color as the background - annoying).
I found several related issues and have tried solutions from there:
e.g
I have the following in my tmux config (as well as some other variants including a 2 liner):
set -ag terminal-overrides ",xterm-256color:RGB"
I've made sure the TERM variable is set to
xterm-256color
and I also tried setting background to "dark" in nvim.
None of this seems to help when I launch nvim from a tmux session connected to using the above configuration in alacritty.
However if I remove the alactritty configuration and run the command to connect to tmux manually everything works fine and nvim looks as expected:
/usr/bin/bash -l -c "tmux ls | grep -v attached && tmux attach || tmux"
Any ideas why im getting different results launching from the alacritty config.
FYI part of the reason I am doing it this way is because I have no idea where the binding for SUPER+Enter is set, cant find it in any config files or settings (is there a better way to chase it down) so thoughts on that might be useful too.
SwiftD
(191 rep)
Sep 28, 2023, 01:45 PM
• Last activity: Sep 28, 2023, 03:08 PM
0
votes
1
answers
85
views
Keep Last Login Message on Tmux
all I am new to use Tmux and Alacritty as my main terminal emulator in my MacBook. In my `Alacritty.config` file, I set shell to be ``` shell: program: /opt/homebrew/bin/tmux args: - new-session - -A - -D - -s - main ``` Therefore, when I open Alacritty, Tmux will run a the same time. However, if I...
all I am new to use Tmux and Alacritty as my main terminal emulator in my MacBook. In my
Though I know that this message is not that important, I really want to add back this Last Login message back in Alacrittty& Tmux.
Alacritty.config
file, I set shell to be
shell:
program: /opt/homebrew/bin/tmux
args:
- new-session
- -A
- -D
- -s
- main
Therefore, when I open Alacritty, Tmux will run a the same time. However, if I do it in this way, I will lose the Last login message in like attached picture.

Ricky Pang
(111 rep)
Sep 3, 2023, 06:41 AM
• Last activity: Sep 5, 2023, 07:55 AM
1
votes
0
answers
261
views
Windows are glitchy and don't render properly
I recently got a new laptop, System 76 Lemur Pro, preinstalled with Ubuntu 22.04. I've been installing and configuring Awesome Window Manager 4.3. I believe I messed something up with xrandr or picom because issues started after rebooting on the day I was setting up an external monitor. Several of m...
I recently got a new laptop, System 76 Lemur Pro, preinstalled with Ubuntu 22.04. I've been installing and configuring Awesome Window Manager 4.3. I believe I messed something up with xrandr or picom because issues started after rebooting on the day I was setting up an external monitor. Several of my programs started having rendering issues and becoming glitchy after a reboot:
- Qutebrowser started showing large flickering black blotches, see figure. This was solved for Qutebrowser by adding either
- VScodium had started showing a smaller degree of flickering on some icons. I don't have a screenshot. But this was solved by adding the following to argv.json:
> // Use software rendering instead of hardware accelerated rendering.
> // This can help in cases where you see rendering issues in VS Code.
> "disable-hardware-acceleration": true,
- The issue remains for Alacritty and BitWarden, where both are very glitchy. In Alacritty, the lines are transparent and the colors correspond to the wallpaper.
Other clients are not affected, such as: Nautilus, Thunderbird, Zotero, Firefox.
First I checked if xrandr did something weird. I read the xrandr Archwiki and followed the instructions for Screen Blinking. so I used
c.qt.force_software_rendering = 'software-opengl'
or c.qt.force_software_rendering = 'qt-quick'
to the config.py file. The issue reappears when c.qt.force_software_rendering = 'chromium'
or c.qt.force_software_rendering = 'none'
.



cvt -v 1920 1080
to get the standardized settings for both of the monitors, and then set those. Now xrandr
gives me this output:
Screen 0: minimum 8 x 8, current 3840 x 1747, maximum 32767 x 32767
eDP1 connected primary 1920x1080+1920+667 (normal left inverted right x axis y axis) 310mm x 170mm
1920x1080 60.05 + 59.96
1920x1080_60.00 59.96*
DP1 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) DP3 disconnected (normal left inverted right x axis y axis)
DP4 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
1920x1080 60.00 + 50.00 59.94 59.93
1920x1080i 60.00 50.00 59.94
1600x900 60.00
1280x1024 75.02 60.02
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00
720x576i 50.00
720x480 60.00 59.94
720x480i 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08
1920x1080R 59.93*
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Changing the output mode didn't fix the issue.
Next, I tried configuring the Intel driver with "TearFree" because I thought this might be caused by tearing. So now the configuration file /etc/X11/xorg.conf.d/20-intel.conf
looks like this:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "Backlight" "intel_backlight"
Option "TearFree" "true"
EndSection
This didn't help.
I'm at the end of my rope. All I know is that it has something to do with hardware rendering but I don't know where to look for solutions or how to troubleshoot this further. Any help is appreciated.
Here is my neofetch
:
OS: Ubuntu 22.04.2 LTS x86_64
Host: Lemur Pro lemp12
Kernel: 6.2.6-76060206-generic
Uptime: 1 hour, 56 mins
Packages: 1954 (dpkg), 13 (snap)
Shell: zsh 5.8.1
Resolution: 1920x1080, 1920x1080
WM: awesome
Theme: Numix [GTK3]
Icons: Numix [GTK3]
Terminal: alacritty
CPU: 13th Gen Intel i7-1355U (12) @ 5.000GHz
GPU: Intel Device a7a1
Memory: 4444MiB / 15828MiB
marbri
(21 rep)
Aug 2, 2023, 08:26 PM
• Last activity: Aug 5, 2023, 06:51 PM
2
votes
1
answers
1194
views
Oh my zsh is only working when i log in as root
Recently installed zsh and oh my zsh but when i open a terminal nothing changes, the bar keeps looking as always but it changes only when i log as root doing sudo su, I have tried almost everyting but nothing changed. I am using alacritty. Thanks for your help.
Recently installed zsh and oh my zsh but when i open a terminal nothing changes, the bar keeps looking as always but it changes only when i log as root doing sudo su, I have tried almost everyting but nothing changed.
I am using alacritty.
Thanks for your help.
Unlucko
(23 rep)
Jun 5, 2023, 02:24 PM
• Last activity: Jun 5, 2023, 02:43 PM
0
votes
0
answers
54
views
Ranger Has incorrect colorsheme when opened with firefox
I couldn't really find a better place to ask this question and figured that if anyone would know it would be you guys. So when I open ranger it inherits my colorscheme and styling from alacritty, however whenever ranger is invoked by firefox (set as default in my mimetypes config) It completely flas...
I couldn't really find a better place to ask this question and figured that if anyone would know it would be you guys.
So when I open ranger it inherits my colorscheme and styling from alacritty, however whenever ranger is invoked by firefox (set as default in my mimetypes config) It completely flashbangs me with what looks like the default tty font and a very, very white background.
I was wondering how to make this not happen.
Here are screenshots with the comparison:
Edit: I have discovered that it gives this error in terminal that is running firefox

: cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
this clued me in that my firefox is run in some type of compatibility layer, probably because of my window manager OS combo.
I suppose extra context that I am running Arch Linux with sway/wayland as my window manager. A work around for now is using nautilus instead, but I would still prefer ranger if at all possible.
RustedSasquatch
(1 rep)
Jan 11, 2023, 08:48 PM
• Last activity: Jan 11, 2023, 09:13 PM
0
votes
0
answers
85
views
Terminal applications don't cover the entire terminal
I've been researching this for a couple hours so far and I can't seem to find a solution that works and isn't 10 years old so I figured I'd ask again. I'm using `awesome` and `Alacritty`, and when I use, for example, `emacs` in the terminal, the `emacs` theme doesn't cover the entirety of the termin...
I've been researching this for a couple hours so far and I can't seem to find a solution that works and isn't 10 years old so I figured I'd ask again.
I'm using
I'm fairly sure that the issue has something to do with
I've also tried installing
Look closely at the bottom of the terminal window, you'll see a dark grey bar. That's the issue I'm talking about.
awesome
and Alacritty
, and when I use, for example, emacs
in the terminal, the emacs
theme doesn't cover the entirety of the terminal.I'm fairly sure that the issue has something to do with
alacritty
resizing based on characters instead of pixels or something like that, but I can't seem to fix it.
I've tried change the gaps in ~/.config/awesome/rc.lua
, I've tried changing font sizes in rc.lua
, alacritty.yml
, and in emacs
, all with varying degrees of success.I've also tried installing
i3
, and testing on that, because my main pc runs i3
and doesn't have this issue at all, but that doesn't change anything.
All help is appreciated.
HornedAccomplice
(1 rep)
Dec 16, 2022, 11:32 PM
• Last activity: Dec 18, 2022, 01:35 PM
1
votes
0
answers
1035
views
tmux 1 session accessed by multiple terminals, each with a different visual state
I use a tiling window manager and someimtes have 6 or 7 shells open at once. Locally, I use tmux purely as a multiplexer because my preferred terminal does not have one (which I like). I would like each terminal that I open to access the same tmux session (which I have working), and I want to assign...
I use a tiling window manager and someimtes have 6 or 7 shells open at once. Locally, I use tmux purely as a multiplexer because my preferred terminal does not have one (which I like). I would like each terminal that I open to access the same tmux session (which I have working), and I want to assign each terminal to a different window (1-9) in the same session. However, if I open two different terminals that share the same session, any visual state change to one will affect the other. For example, if I move one terminal to window 2 the other terminal will also move to window 2. This makes sense, but I want it to not be that way.
How can I get each terminal to share the same session but have independent visual states? If this is not possible, do you have any suggestions that are close to my intended workflow?
marc.soda
(203 rep)
Nov 17, 2022, 05:17 AM
3
votes
1
answers
861
views
How to override terminal font-family for specific glyph?
I have set `Source Code Pro` as my default monospace font and `Noto Color Emoji` for emojis, set in fontconfig as follows: ```xml serif Noto Color Emoji DejaVu Sans sans-serif Noto Color Emoji DejaVu Serif monospace Noto Color Emoji Source Code Pro ``` This works fine for Gnome apps, but my terminal...
I have set
Is there how to force the emoji font to be used for those glyphs also in terminal?
Source Code Pro
as my default monospace font and Noto Color Emoji
for emojis, set in fontconfig as follows:
serif
Noto Color Emoji
DejaVu Sans
sans-serif
Noto Color Emoji
DejaVu Serif
monospace
Noto Color Emoji
Source Code Pro
This works fine for Gnome apps, but my terminal [Allacritty] still shows some emojis without using the emoji font. I suspect that is due to Source Code Pro
having those glyphs because they work as expected with other fonts (e.g. Inconsolata).
For example ☕ and 💩 emojis:

paulodiovani
(361 rep)
Aug 24, 2022, 02:06 PM
• Last activity: Sep 23, 2022, 05:35 PM
3
votes
1
answers
5268
views
run a command with double quote in new window in Alacritty
I can run gnome-terminal -- journalctl --since "10min ago" -f What is the equivalent of this command for alacitty. I tried alacritty -e "journalctl --since \"10min ago\" -f" alacritty -e "journalctl --since '10min ago' -f" alacritty -e 'journalctl --since "10min ago" -f' every command returns Error:...
I can run
gnome-terminal -- journalctl --since "10min ago" -f
What is the equivalent of this command for alacitty.
I tried
alacritty -e "journalctl --since \"10min ago\" -f"
alacritty -e "journalctl --since '10min ago' -f"
alacritty -e 'journalctl --since "10min ago" -f'
every command returns
Error: Failed to spawn command 'journalctl --since '10min ago' -f': No such file or directory (os error 2)
Ahmad Ismail
(2998 rep)
May 31, 2022, 07:15 AM
• Last activity: May 31, 2022, 08:03 AM
3
votes
1
answers
662
views
Two Enter Keys are behaving Differently
I am using the `alacritty` terminal emulator under Zorin 16. My two enter keys are giving different output. % showkey -a Press any keys - Ctrl-D will terminate this program ^M 13 0015 0x0d ^J 10 0012 0x0a Primary Enter Key is giving ^M, The Numpad Enter Key is giving ^J. This is true for both bash a...
I am using the
alacritty
terminal emulator under Zorin 16. My two enter keys are giving different output.
% showkey -a
Press any keys - Ctrl-D will terminate this program
^M 13 0015 0x0d
^J 10 0012 0x0a
Primary Enter Key is giving ^M, The Numpad Enter Key is giving ^J.
This is true for both bash and zsh.
I want both keys to give ^M.
How can I achieve this?
Ahmad Ismail
(2998 rep)
May 26, 2022, 07:03 AM
• Last activity: May 26, 2022, 01:34 PM
Showing page 1 of 19 total questions