12,964
回編集
(→概要) |
|||
57行目: | 57行目: | ||
STをビルドおよびインストールする。<br> | STをビルドおよびインストールする。<br> | ||
make clean install DESTDIR=$HOME/InstallSoftware/ST | make clean install DESTDIR=$HOME/InstallSoftware/ST | ||
<br><br> | |||
== Kitty == | |||
==== 実行ファイルをダウンロードする場合 ==== | |||
[https://github.com/kovidgoyal/kitty/releases KittyのGithub]にアクセスして、Kittyの実行ファイルをダウンロードする。<br> | |||
ダウンロードしたファイルを解凍する。<br> | |||
tar xf kitty-<バージョン>-x86_64.txz | |||
cd kitty-<バージョン>-x86_64 | |||
<br> | |||
解凍したディレクトリを任意のディレクトリに配置する。<br> | |||
mv kitty-<バージョン>-x86_64 <Kittyのインストールディレクトリ> | |||
<br> | |||
==== ソースコードからインストールする場合 ==== | |||
Kittyのビルドに必要な依存関係のライブラリをダウンロードする。<br> | |||
<u>ただし、Python 3.7以降が必要となることに注意する。</u><br> | |||
sudo zypper install gcc pkg-config dbus-1-devel libXcursor-devel libXrandr-devel libXi-devel libXinerama-devel \ | |||
libXcursor-devel libXrandr-devel Mesa-libGL-devel libxkbcommon-devel fontconfig-devel libX11-devel \ | |||
libxcb-devel liblcms2-devel python3-devel librsync-devel | |||
<br> | |||
[https://github.com/kovidgoyal/kitty/releases KittyのGithub]にアクセスして、Kittyのソースコードをダウンロードする。<br> | |||
ダウンロードしたファイルを解凍する。<br> | |||
tar xf kitty-<バージョン>-x86_64.txz | |||
cd kitty-<バージョン>-x86_64 | |||
<br> | |||
Kittyをビルドおよびインストールする。<br> | |||
make -j $(nproc) | |||
make install | |||
<br> | |||
==== 共通 ==== | |||
Kittyのデスクトップエントリファイルを作成する。<br> | |||
vi ~/.local/share/applications/Kitty.desktop | |||
<br> | |||
# ~/.local/share/applications/Kitty.desktopファイル | |||
[Desktop Entry] | |||
Version=1.0 | |||
Type=Application | |||
Name=kitty | |||
GenericName=Terminal emulator | |||
Comment=Fast, feature-rich, GPU based terminal | |||
TryExec=/<Kittyのインストールディレクトリ>/bin/kitty | |||
Exec=/<Kittyのインストールディレクトリ>/bin/kitty | |||
Icon=/<Kittyのインストールディレクトリ>/share/icons/hicolor/scalable/apps/kitty | |||
Categories=System;TerminalEmulator; | |||
<br> | |||
Kittyを使用したURLランチャーのデスクトップエントリファイルを作成する。<br> | |||
vi ~/.local/share/applications/Kitty-Open.desktop | |||
<br> | |||
# ~/.local/share/applications/Kitty-Open.desktopファイル | |||
[Desktop Entry] | |||
Version=1.0 | |||
Type=Application | |||
Name=kitty URL Launcher | |||
GenericName=Terminal emulator | |||
Comment=Open URLs with kitty | |||
TryExec=/<Kittyのインストールディレクトリ>/bin/kitty | |||
Exec=/<Kittyのインストールディレクトリ>/bin/kitty +open %U | |||
Icon=/<Kittyのインストールディレクトリ>/share/icons/hicolor/scalable/apps/kitty | |||
Categories=System;TerminalEmulator; | |||
NoDisplay=true | |||
MimeType=image/*;application/x-sh;application/x-shellscript;inode/directory;text/*;x-scheme-handler/kitty; | |||
<br><br> | <br><br> | ||