diff options
-rwxr-xr-x | Alacritty.desktop | 11 | ||||
-rw-r--r-- | README.md | 20 |
2 files changed, 31 insertions, 0 deletions
diff --git a/Alacritty.desktop b/Alacritty.desktop new file mode 100755 index 00000000..89242f43 --- /dev/null +++ b/Alacritty.desktop @@ -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 @@ -74,6 +74,16 @@ to be missing, please open an issue. pacman -S cmake freetype2 fontconfig xclip ``` +##### Fedora + +On Fedora, you need a few extra libraries to build Alacritty. Here's a `dnf` +command that should install all of them. If something is still found to be +missing, please open an issue. + +```sh +dnf install freetype-devel fontconfig-devel xclip +``` + ##### Other If you build Alacritty on another Linux distribution, we would love some help @@ -92,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, |