1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-25 14:05:41 -05:00

Merge pull request #92 from amikhalev/add-desktop-entry

Added a freedesktop.org desktop entry and instructions for using it to README.md
This commit is contained in:
Joe Wilm 2017-01-06 12:59:27 -08:00 committed by GitHub
commit a61e000f98
2 changed files with 21 additions and 0 deletions

11
Alacritty.desktop Executable file
View file

@ -0,0 +1,11 @@
[Desktop Entry]
Type=Application
TryExec=alacritty
Exec=alacritty
Icon=utilities-terminal
Terminal=false
Catagories=System;TerminalEmulator
Name=Alacritty
GenericName=Terminal
Comment=A cross-platform, GPU enhanced terminal emulator

View file

@ -102,6 +102,16 @@ If all goes well, this should place a binary at `target/release/alacritty`.
many things (such as arrow keys) would not work. If you're on macOS, you'll need
to change the `monospace` font family to something like `Menlo`.
### Desktop Entry
Many linux distributions support desktop entries for adding applications to
system menus. To install the desktop entry for Alacritty, run
```sh
sudo cp target/release/alacritty /usr/local/bin # or anywhere else in $PATH
cp Alacritty.desktop ~/.local/share/applications
```
### Configuration
Although it's possible the default configuration would work on your system,