「Nwg-shell」の版間の差分
Kusanaginoturugi (トーク | 投稿記録) add article. |
Kusanaginoturugi (トーク | 投稿記録) add en page link. |
||
| (同じ利用者による、間の9版が非表示) | |||
| 1行目: | 1行目: | ||
[[Category:Wayland |
[[Category:Wayland コンポジタ]] |
||
[[en:Nwg-shell]] |
|||
The {{ic|nwg-shell}} project [https://nwg-piotr.github.io/nwg-shell/] aims to create a consistent, GTK based user interface for the [[Sway]] Wayland Compositor. |
|||
{{ic|nwg-shell}} プロジェクト [https://nwg-piotr.github.io/nwg-shell/] は、[[Sway]] Wayland コンポジタのための一貫した GTK ベースのユーザーインターフェースを作成することを目的としています。 |
|||
バージョン 0.5.0 以降 [https://github.com/nwg-piotr/nwg-shell/releases/tag/v0.5.0]、[[Hyprland]] もサポートされています。 |
|||
{{Note|Hyprland のサポートは、シェルへの追加機能であり、単独での機能ではありません。}} |
|||
{{Note|Hyprland support is an addition to the shell, not a standalone feature.}} |
|||
== |
== インストール == |
||
{{ic|nwg-shell}} のコンポーネントは、{{Pkg|nwg-shell}} (メタパッケージ)を使用して[[インストール]]できます。 |
|||
{{Note|Hyprland のサポートには、いくつかの追加パッケージが必要です。{{Pkg|nwg-shell}} パッケージのオプション依存関係のリストを確認してください。}} |
|||
{{Note|Support for Hyprland requires a few additional packages. Check the list of optional dependencies for the {{Pkg|nwg-shell}} package.}} |
|||
{{Note|{{ic|nwg-shell}} のほとんどのコンポーネントは、単独でもインストールして使用できます。コンポーネントの完全なリストについては、[[#Shell components|シェルコンポーネント章]]を参照してください。}} |
|||
{{Note|Most components of the {{ic|nwg-shell}} can also be installed and used standalone. See the [[#Shell components|shell components chapter]] for a full list of components.}} |
|||
{{ic|nwg-shell-installer}} スクリプト([[#設定|設定]]を参照)は、キー設定を適切に行うために、実行前に[[アプリケーション一覧/インターネット#ウェブブラウザ|ウェブブラウザ]]、[[アプリケーション一覧/ユーティリティ#ファイルマネージャ|ファイルマネージャ]]、および [[アプリケーション一覧/ドキュメント#テキストエディタ|テキストエディタ]]がインストールされていることを期待しています。推奨されるものは {{pkg|firefox}}、{{pkg|thunar}} および {{pkg|mousepad}} ですが、他のものでも構いません。 |
|||
The {{ic|nwg-shell-installer}} script (see the [[#Configuration|configuration chapter]]) also expects a [[List_of_applications/Internet#Web_browsers|web browser]], a [[List_of_applications/Utilities#File_managers|file manager]] and a [[List_of_applications/Documents#Text_editors|text editor]] to be installed '''before''' being run in order to setup keybindings properly. The suggested ones are {{pkg|firefox}}, {{pkg|thunar}} and {{pkg|mousepad}} but other ones can be installed instead. |
|||
== |
== 設定 == |
||
{{pkg|nwg-shell}} パッケージには、すべての {{ic|nwg-shell}} コンポーネントのデフォルト設定や、{{ic|Sway/Hyprland}} 用のカスタム設定を対話的に生成するための {{ic|nwg-shell-installer}} スクリプトが含まれています。使用方法は以下の通りです: |
|||
The {{pkg|nwg-shell}} package provides the {{ic|nwg-shell-installer}} script which can be run to interactively generate a default configuration for every {{ic|nwg-shell}} components as well as a custom configuration for {{ic|Sway/Hyprland}} like so: |
|||
{{ic|nwg-shell-installer -w}} ( |
{{ic|nwg-shell-installer -w}} (Sway 用) |
||
{{ic|nwg-shell-installer -w -hypr}} ( |
{{ic|nwg-shell-installer -w -hypr}} (Hyprland 用) |
||
{{Note|{{ic|nwg-shell-installer}} スクリプトは、キー設定を適切に行うために、実行前に[[アプリケーション一覧/インターネット#ウェブブラウザ|ウェブブラウザ]]、[[アプリケーション一覧/ユーティリティ#ファイルマネージャ|ファイルマネージャ]]、および [[アプリケーション一覧/ドキュメント#テキストエディタ|テキストエディタ]]がインストールされていることを前提としています。推奨されるものは {{pkg|firefox}}、{{pkg|thunar}}、および {{pkg|mousepad}} ですが、他のものでも構いません。}} |
|||
{{Note|The {{ic|nwg-shell-installer}} script expects a [[List_of_applications/Internet#Web_browsers|web browser]], a [[List_of_applications/Utilities#File_managers|file manager]] and a [[List_of_applications/Documents#Text_editors|text editor]] to be installed '''before''' being run in order to setup keybindings properly. The suggested ones are {{pkg|firefox}}, {{pkg|thunar}} and {{pkg|mousepad}} but other ones can be installed instead.}} |
|||
{{Warning| |
{{Warning|{{ic|nwg-shell-installer}} スクリプトは新規インストール環境で実行されることを想定しており、実行すると各 {{ic|nwg-shell}} コンポーネントの設定やスタイルシートが復元/上書きされ、{{ic|Sway}}(または {{ic|Hyprland}})のメイン設定も上書きされます(スクリプトによって事前にメインの {{ic|Sway/Hyprland}} 設定ファイルのバックアップが作成されます)。}} |
||
また、各 {{ic|nwg-shell}} コンポーネントの設定やスタイルシートは、グラフィカルに、または {{ic|~/.config/''component_name''}} 以下の関連ファイルを編集することで、手動で変更することもできます。 |
|||
Alternatively, one can modify each {{ic|nwg-shell}}components' configurations and style sheets graphically or by modifying the related files under {{ic|~/.config/''component_name''}}. |
|||
最後に、{{ic|greetd.service}} を[[有効化]]して、ブート時に [[greetd]] が起動するようにし、[[Greetd#nwg-hello|{{ic|nwg-hello}} グリーターを設定]]することができます。 |
|||
== シェルコンポーネント == |
|||
== Shell components == |
|||
{{pkg|nwg-shell}} パッケージには、以下の {{ic|nwg-shell}} コンポーネントが含まれています: |
|||
{{Note|これらのコンポーネントのほとんどは、単独でインストールして使用することができます。}} |
|||
{{Note|Most of these components can be installed and used standalone.}} |
|||
* {{App|azote| |
* {{App|azote|wlroots ベースのコンポジタやその他の一部のウィンドウマネージャ用の壁紙マネージャ。|https://github.com/nwg-piotr/azote|{{Pkg|azote}}}} |
||
* {{App|gopsuinfo| |
* {{App|gopsuinfo|Waybar のようなパネルでシステム使用情報をテキストとして表示するための gopsutil ベースのコマンド。または tint2 および nwg-panel のエグゼキュータ内でアイコン/テキストとして表示。|https://github.com/nwg-piotr/gopsuinfo|{{Pkg|gopsuinfo}}}} |
||
* {{App|nwg-bar| |
* {{App|nwg-bar|wlroots ベースのコンポジタ用の GTK3 ベースのボタンバー。|https://github.com/nwg-piotr/nwg-bar|{{Pkg|nwg-bar}}}} |
||
* {{App|nwg-clipman| |
* {{App|nwg-clipman|cliphist 用の GTK3 ベースの GUI。|https://github.com/nwg-piotr/nwg-clipman|{{Pkg|nwg-clipman}}}} |
||
* {{App|nwg-displays| |
* {{App|nwg-displays|sway および Hyprland 用の出力管理ユーティリティ。|https://github.com/nwg-piotr/nwg-displays|{{Pkg|nwg-displays}}}} |
||
* {{App|nwg-dock| |
* {{App|nwg-dock|Sway 用の GTK3 ベースのドック。|https://github.com/nwg-piotr/nwg-dock|{{Pkg|nwg-dock}}}} |
||
* {{App|nwg-dock-hyprland| |
* {{App|nwg-dock-hyprland|Hyprland 用の GTK3 ベースのドック。|https://github.com/nwg-piotr/nwg-dock-hyprland|{{Pkg|nwg-dock-hyprland}}}} |
||
* {{App|nwg-drawer| |
* {{App|nwg-drawer|wlroots ベースの Wayland コンポジタ用のアプリケーションドロワー。|https://github.com/nwg-piotr/nwg-drawer|{{Pkg|nwg-drawer}}}} |
||
* {{App|nwg-hello| |
* {{App|nwg-hello|Python で書かれた greetd 用の GTK3 ベースのグリーター。|https://github.com/nwg-piotr/nwg-hello|{{Pkg|nwg-hello}}}} |
||
* {{App|nwg-icon-picker|GTK |
* {{App|nwg-icon-picker|テキスト検索オプション付きの GTK アイコンチューザー。|https://github.com/nwg-piotr/nwg-icon-picker|{{Pkg|nwg-icon-picker}}}} |
||
* {{App|nwg-look| |
* {{App|nwg-look|wlroots 環境で動作するように適応された GTK3 設定エディタ。|https://github.com/nwg-piotr/nwg-look|{{Pkg|nwg-look}}}} |
||
* {{App|nwg-menu| |
* {{App|nwg-menu|nwg-panel のための MenuStart プラグイン。また、単独でも動作可能。|https://github.com/nwg-piotr/nwg-menu|{{Pkg|nwg-menu}}}} |
||
* {{App|nwg-panel| |
* {{App|nwg-panel|sway および Hyprland Wayland コンポジタ用の GTK3 ベースのパネル。|https://github.com/nwg-piotr/nwg-panel|{{Pkg|nwg-panel}}}} |
||
* {{App|nwg-readme-browser|WebKitGTK |
* {{App|nwg-readme-browser|WebKitGTK ベースの README ファイルブラウザ。|https://github.com/nwg-piotr/nwg-readme-browser|{{Pkg|nwg-readme-browser}}}} |
||
* {{App|nwg-shell| |
* {{App|nwg-shell|Sway および Hyprland Wayland コンポジタ用の GTK3 ベースのシェルの nwg-shell プロジェクト用インストーラーおよびメタパッケージ。|https://github.com/nwg-piotr/nwg-shell|{{Pkg|nwg-shell}}}} |
||
* {{App|nwg-shell-config|nwg-shell |
* {{App|nwg-shell-config|nwg-shell 設定ユーティリティ。|https://github.com/nwg-piotr/nwg-shell-config|{{Pkg|nwg-shell-config}}}} |
||
* {{App|nwg-shell-wallpapers| |
* {{App|nwg-shell-wallpapers|nwg-shell プロジェクトに貢献された壁紙のセレクション。|https://github.com/nwg-piotr/nwg-shell-wallpapers|{{Pkg|nwg-shell-wallpapers}}}} |
||
{{TranslationStatus|Nwg-shell|2024-08-25|815347}} |
|||
2024年8月25日 (日) 21:08時点における最新版
nwg-shell プロジェクト [1] は、Sway Wayland コンポジタのための一貫した GTK ベースのユーザーインターフェースを作成することを目的としています。
バージョン 0.5.0 以降 [2]、Hyprland もサポートされています。
インストール
nwg-shell のコンポーネントは、nwg-shell (メタパッケージ)を使用してインストールできます。
nwg-shell のほとんどのコンポーネントは、単独でもインストールして使用できます。コンポーネントの完全なリストについては、シェルコンポーネント章を参照してください。nwg-shell-installer スクリプト(設定を参照)は、キー設定を適切に行うために、実行前にウェブブラウザ、ファイルマネージャ、および テキストエディタがインストールされていることを期待しています。推奨されるものは firefox、thunar および mousepad ですが、他のものでも構いません。
設定
nwg-shell パッケージには、すべての nwg-shell コンポーネントのデフォルト設定や、Sway/Hyprland 用のカスタム設定を対話的に生成するための nwg-shell-installer スクリプトが含まれています。使用方法は以下の通りです:
nwg-shell-installer -w (Sway 用)
nwg-shell-installer -w -hypr (Hyprland 用)
nwg-shell-installer スクリプトは、キー設定を適切に行うために、実行前にウェブブラウザ、ファイルマネージャ、および テキストエディタがインストールされていることを前提としています。推奨されるものは firefox、thunar、および mousepad ですが、他のものでも構いません。nwg-shell-installer スクリプトは新規インストール環境で実行されることを想定しており、実行すると各 nwg-shell コンポーネントの設定やスタイルシートが復元/上書きされ、Sway(または Hyprland)のメイン設定も上書きされます(スクリプトによって事前にメインの Sway/Hyprland 設定ファイルのバックアップが作成されます)。また、各 nwg-shell コンポーネントの設定やスタイルシートは、グラフィカルに、または ~/.config/component_name 以下の関連ファイルを編集することで、手動で変更することもできます。
最後に、greetd.service を有効化して、ブート時に greetd が起動するようにし、nwg-hello グリーターを設定することができます。
シェルコンポーネント
nwg-shell パッケージには、以下の nwg-shell コンポーネントが含まれています:
- azote — wlroots ベースのコンポジタやその他の一部のウィンドウマネージャ用の壁紙マネージャ。
- gopsuinfo — Waybar のようなパネルでシステム使用情報をテキストとして表示するための gopsutil ベースのコマンド。または tint2 および nwg-panel のエグゼキュータ内でアイコン/テキストとして表示。
- nwg-bar — wlroots ベースのコンポジタ用の GTK3 ベースのボタンバー。
- nwg-clipman — cliphist 用の GTK3 ベースの GUI。
- nwg-displays — sway および Hyprland 用の出力管理ユーティリティ。
- nwg-dock — Sway 用の GTK3 ベースのドック。
- nwg-dock-hyprland — Hyprland 用の GTK3 ベースのドック。
- nwg-drawer — wlroots ベースの Wayland コンポジタ用のアプリケーションドロワー。
- nwg-hello — Python で書かれた greetd 用の GTK3 ベースのグリーター。
- nwg-icon-picker — テキスト検索オプション付きの GTK アイコンチューザー。
- nwg-look — wlroots 環境で動作するように適応された GTK3 設定エディタ。
- nwg-menu — nwg-panel のための MenuStart プラグイン。また、単独でも動作可能。
- nwg-panel — sway および Hyprland Wayland コンポジタ用の GTK3 ベースのパネル。
- nwg-readme-browser — WebKitGTK ベースの README ファイルブラウザ。
- nwg-shell — Sway および Hyprland Wayland コンポジタ用の GTK3 ベースのシェルの nwg-shell プロジェクト用インストーラーおよびメタパッケージ。
- nwg-shell-config — nwg-shell 設定ユーティリティ。
- nwg-shell-wallpapers — nwg-shell プロジェクトに貢献された壁紙のセレクション。