mirror of
				https://github.com/alacritty/alacritty.git
				synced 2025-10-30 23:36:53 -04:00 
			
		
		
		
	Add icon to Linux .desktop file
This commit is contained in:
		
							parent
							
								
									83b5474c4f
								
							
						
					
					
						commit
						dbce674d70
					
				
					 6 changed files with 9 additions and 1 deletions
				
			
		| 
						 | 
					@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## [Unreleased]
 | 
					## [Unreleased]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Packaging
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- On Linux, the .desktop file now uses `Alacritty` as icon name, which can be
 | 
				
			||||||
 | 
					    found at `extra/logo/alacritty-term.svg`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Added
 | 
					### Added
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- MSI installer for Windows is now available
 | 
					- MSI installer for Windows is now available
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -106,6 +106,7 @@ priority = "optional"
 | 
				
			||||||
assets = [
 | 
					assets = [
 | 
				
			||||||
    ["target/release/alacritty", "usr/bin/", "755"],
 | 
					    ["target/release/alacritty", "usr/bin/", "755"],
 | 
				
			||||||
    ["extra/linux/alacritty.desktop", "usr/share/applications/", "644"],
 | 
					    ["extra/linux/alacritty.desktop", "usr/share/applications/", "644"],
 | 
				
			||||||
 | 
					    ["extra/logo/alacritty-term.svg", "usr/share/pixmaps/Alacritty.svg", "644"],
 | 
				
			||||||
    ["extra/completions/alacritty.bash", "usr/share/bash-completion/completions/alacritty", "644"],
 | 
					    ["extra/completions/alacritty.bash", "usr/share/bash-completion/completions/alacritty", "644"],
 | 
				
			||||||
    ["extra/completions/alacritty.fish", "usr/share/fish/completions/alacritty.fish", "644"],
 | 
					    ["extra/completions/alacritty.fish", "usr/share/fish/completions/alacritty.fish", "644"],
 | 
				
			||||||
    ["extra/completions/_alacritty", "usr/share/zsh/vendor-completions/_alacritty", "644"],
 | 
					    ["extra/completions/_alacritty", "usr/share/zsh/vendor-completions/_alacritty", "644"],
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -194,6 +194,7 @@ system menus. To install the desktop entry for Alacritty, run
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```sh
 | 
					```sh
 | 
				
			||||||
sudo cp target/release/alacritty /usr/local/bin # or anywhere else in $PATH
 | 
					sudo cp target/release/alacritty /usr/local/bin # or anywhere else in $PATH
 | 
				
			||||||
 | 
					sudo cp extra/logo/alacritty-term.svg /usr/share/pixmaps/Alacritty.svg
 | 
				
			||||||
sudo desktop-file-install extra/linux/alacritty.desktop
 | 
					sudo desktop-file-install extra/linux/alacritty.desktop
 | 
				
			||||||
sudo update-desktop-database
 | 
					sudo update-desktop-database
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,7 +2,7 @@
 | 
				
			||||||
Type=Application
 | 
					Type=Application
 | 
				
			||||||
TryExec=alacritty
 | 
					TryExec=alacritty
 | 
				
			||||||
Exec=alacritty
 | 
					Exec=alacritty
 | 
				
			||||||
Icon=utilities-terminal
 | 
					Icon=Alacritty
 | 
				
			||||||
Terminal=false
 | 
					Terminal=false
 | 
				
			||||||
Categories=System;TerminalEmulator;
 | 
					Categories=System;TerminalEmulator;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -12,6 +12,7 @@ description: |
 | 
				
			||||||
  The software is considered to be at a **beta** level of readiness -- there are
 | 
					  The software is considered to be at a **beta** level of readiness -- there are
 | 
				
			||||||
  a few missing features and bugs to be fixed, but it is already used by many as
 | 
					  a few missing features and bugs to be fixed, but it is already used by many as
 | 
				
			||||||
  a daily driver.
 | 
					  a daily driver.
 | 
				
			||||||
 | 
					icon: extra/logo/alacritty-term.svg
 | 
				
			||||||
grade: stable
 | 
					grade: stable
 | 
				
			||||||
confinement: classic
 | 
					confinement: classic
 | 
				
			||||||
parts:
 | 
					parts:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
		 Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB  | 
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue