diff --git a/docs/binary.rst b/docs/binary.rst index b88ead069..dc1ba019f 100644 --- a/docs/binary.rst +++ b/docs/binary.rst @@ -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) diff --git a/setup.py b/setup.py index f4a3fab39..61352c2a6 100755 --- a/setup.py +++ b/setup.py @@ -1340,7 +1340,7 @@ def create_linux_bundle_gunk(ddir: str, args: Options) -> None: shutil.copy2(f'logo/kitty.{ext}', icdir) deskdir = os.path.join(ddir, 'share', 'applications') safe_makedirs(deskdir) - with open(os.path.join(deskdir, 'kitty-terminal.desktop'), 'w') as f: + with open(os.path.join(deskdir, 'kitty.desktop'), 'w') as f: f.write( '''\ [Desktop Entry]