Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Termiteのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Termite
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:ターミナルエミュレータ]] [[en:Termite]] [https://www.github.com/thestinger/termite Termite] はタイル型[[ウィンドウマネージャ]]での使用を想定して作られたミニマルな[[:Category:ターミナルエミュレータ|ターミナルエミュレータ]]です。''モーダル''アプリケーションであり、[[Vim]] と同じように、キーバインディングの機能が異なる挿入モードとコマンドモードがあります。Termite は [https://developer.gnome.org/vte/unstable/ VTE] ライブラリを使っています。 設定ファイルでカラーやキーバインディングを変更することができます。Termite は透過や256色やトゥルーカラー (1677万色) のパレットをサポートします。ルックアンドフィールは [[urxvt]] と似ています。 == インストール == {{Pkg|termite}} パッケージをインストールしてください。開発版を使いたいときは {{AUR|termite-git}} をインストールしてください。 == 使用方法 == Termite はデフォルトで挿入モードで起動します。マウスやコマンドモードのキーを使ってテキストを選択することが可能です。挿入モードでは、{{ic|Ctrl-Shift-c}} を使って選択したテキストを[[クリップボード]]にコピーして、{{ic|Ctrl-Shift-v}} でペーストします。{{ic|Ctrl-tab}} はスクロールバックの補完を開始し、{{ic|Ctrl-Shift-up}} / {{ic|Ctrl-Shift-down}} は画面を上下にスクロールします。 {{ic|Ctrl-Shift-space}} でコマンドモードに入ります。ほとんどのコマンドは [[Vim]] にあやかっています。例えば、ビジュアルモードは {{ic|v}}、ビジュアルラインモードは {{ic|Shift-v}}、ビジュアルブロックモードは {{ic|Ctrl-v}}、選択したテキストのコピー ("yank") は {{ic|y}}、検索は {{ic|/}} と {{ic|?}}、移動は {{ic|w}} と {{ic|b}} と {{ic|^}} と {{ic|$}}、挿入モードに戻るには {{ic|Escape}} となっています。 == 設定 == Termite の設定ファイルは {{ic|$XDG_CONFIG_HOME/termite/config}}, {{ic|~/.config/termite/config}}, {{ic|$XDG_CONFIG_DIRS/termite/config}}, {{ic|/etc/xdg/termite.cfg}} です。設定ファイルを使うことでフォントや色、ウィンドウヒントなどのオプションを変更できます。設定ファイルは ''ini'' フォーマットになっており、3つのセクションが存在します: ''options'', ''colors'', ''hints''。 === フォント === フォントは ''options'' セクションの下に {{ic|1=font=<font_name> <font_size>}} という形式で指定します。{{ic|<font_name>}} の指定は [[フォント設定|fontconfig]] に従います。[[X Logical Font Description|Xft]] ではありません。{{ic|fc-list}} を使うことで利用できるフォントを確認できます ([[フォント設定#フォントパス]]を参照)。 {{hc|~/.config/termite/config|2= [options] font = Monospace 9 font = Terminus (TTF) 8 font = Droid Sans Mono 8}} === カラー === Colors consist of either a 24-bit hex value (e.g. {{ic|#4a32b1}}), or an rgba vector (e.g. {{ic|rgba(16, 32, 64, 0.5)}}). Valid properties for colors are {{ic|foreground}}, {{ic|foreground_bold}}, {{ic|foreground_dim}}, {{ic|background}}, {{ic|cursor}}, and {{ic|colorN}} (where N is an integer from zero through 254; used to assign a 24-bit color value to terminal colorN). {{hc|~/.config/termite/config|2= [colors] foreground = #dcdccc background = #3f3f3f}} == 透過 == As of version 9, Termite supports true transparency via color definitions that specify an alpha channel value [https://github.com/thestinger/termite/issues/191]. This requires a compositor to be running, such as [[Compton]] or [[Xcompmgr]]. Most compositors do not require special configuration for Termite to use transparency. {{hc|~/.config/termite/config|2= [colors] background = rgba(63, 63, 63, 0.8) }} {{Note|At least in [[i3]], even in tiling mode, this shows all windows "stacked" on top of one another, in the order they were most recently in the foreground, rather than showing the desktop (aka. X "root window") directly behind Termite. This is probably due to i3 reordering windows rather than hiding invisible windows in tiling mode.}} == トラブルシューティング == === ls の出力をカラー化 === {{ic|ls}} の出力をカラーにするには LS_COLORS [[環境変数]]を使う必要があります。{{ic|dircolors}} ファイルで設定することが可能です。ファイルを生成するには: $ dircolors -p > ~/.dircolors Then edit {{ic|~/.dircolors}} file, and append TERM xterm-termite to the end of the list of terminals, and save the file. For [[Bash]] in {{ic|~/.bashrc}} and [[Zsh]] in {{ic|~/.zshrc}}, add: eval $(dircolors ~/.dircolors) and restart the terminal. For [[fish]], add eval (dircolors -c ~/.dircolors | sed 's/>&\/dev\/null$//') to {{ic|~/.config/fish/config.fish}} and relogin or reload the config via: . ~/.config/fish/config.fish === Ctrl-T が動作しない === Ctrl-T should open a new tab, but it sometimes fails with certain shells. If the termite window outputs {{ic|no directory uri set}} when this happens, the solution is to add . /etc/profile.d/vte.sh to your {{ic|~/.zshrc}}. See [http://unix.stackexchange.com/questions/93476/gnome-terminal-keep-track-of-directory-in-new-tab this stackexchange question] for more details. == 参照 == * [https://github.com/thestinger/termite/blob/master/README.rst Termite readme]
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:Hc
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:Note
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
テンプレート:Tip
(
ソースを閲覧
)
Termite
に戻る。
検索
検索
Termiteのソースを表示
話題を追加