Revert renaming of kitty.dekstop to kitty-terminal.desktop

Changing the default value for application id/WM_CLASS is a no go, since
existing scripts can depend on it and I try to avoid breaking people's
workflows wherever possible. Guess xdg-mime will just have to live with
the horror of an unhyphenated file name.

Fixes #7326
This commit is contained in:
Kovid Goyal
2024-04-09 12:47:14 +05:30
parent 3d98b33076
commit 437fc0d8c2
2 changed files with 4 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ Desktop integration on Linux
--------------------------------
If you want the kitty icon to appear in the taskbar and an entry for it to be
present in the menus, you will need to install the :file:`kitty-terminal.desktop` file.
present in the menus, you will need to install the :file:`kitty.desktop` file.
The details of the following procedure may need to be adjusted for your
particular desktop, but it should work for most major desktop environments.
@@ -50,8 +50,8 @@ particular desktop, but it should work for most major desktop environments.
# Create symbolic links to add kitty and kitten to PATH (assuming ~/.local/bin is in
# your system-wide PATH)
ln -sf ~/.local/kitty.app/bin/kitty ~/.local/kitty.app/bin/kitten ~/.local/bin/
# Place the kitty-terminal.desktop file somewhere it can be found by the OS
cp ~/.local/kitty.app/share/applications/kitty-terminal.desktop ~/.local/share/applications/
# Place the kitty.desktop file somewhere it can be found by the OS
cp ~/.local/kitty.app/share/applications/kitty.desktop ~/.local/share/applications/
# If you want to open text files and images in kitty via your file manager also add the kitty-open.desktop file
cp ~/.local/kitty.app/share/applications/kitty-open.desktop ~/.local/share/applications/
# Update the paths to the kitty and its icon in the kitty desktop file(s)