「Dwl」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(英語版から転載)
 
(翻訳)
 
6行目: 6行目:
 
{{Related| Wayland}}
 
{{Related| Wayland}}
 
{{Related articles end}}
 
{{Related articles end}}
  +
dwl は、[[Wayland]] ユーザー向けに作成された suckless ウィンドウマネージャ [[dwm]] の {{Pkg|wlroots}} ベースのフォークです。
dwl is the {{Pkg|wlroots}}-based fork of the suckless window manager [[dwm]] created for [[Wayland]] users.
 
   
== Installation ==
+
== インストール ==
   
  +
dwl は、{{AUR|dwl}} または {{AUR|dwl-git}} パッケージを使用して [[インストール]] できます。ビルドとインストールの前に、必要な [[#設定|設定]] を行ってください。[[makepkg]] を参照してください。
dwl can be [[install]]ed with the {{AUR|dwl}} or {{AUR|dwl-git}} packages. Make any required [[#Configuration|configuration]] changes '''before''' building and installing, see [[makepkg]].
 
   
== Configuration ==
+
== 設定 ==
   
  +
dwl は、ソースファイルの {{ic|config.h}} を [[C]] で編集することで設定できます。{{ic|config.def.h}} の内容を {{ic|config.h}} にコピーすることでデフォルトに戻せます。変更を使用するには、忘れずにパッケージを再構築してください。
dwl can be configured in [[C]] by editing {{ic|config.h}} in the source files. You can revert to the defaults by copying the contents of {{ic|config.def.h}} into {{ic|config.h}}. Remember to rebuild your package to use your changes.
 
   
  +
公式プロジェクトのリポジトリには、dwl に追加機能を追加できる [https://codeberg.org/dwl/dwl-patches パッチ] が多数あります。これらのパッチは主に dwl.c ファイルに変更を加えますが、必要に応じて config.h ファイルやその他のソース ファイルにも変更を加えます。パッチの適用については、[[パッケージにパッチを適用]] の記事を参照してください。
The official project repository has a number of [https://codeberg.org/dwl/dwl-patches patches] that can add extra functionality to dwl. These patches primarily make changes to the dwl.c file but also make changes to the config.h file or other source files where appropriate. For information on applying patches, see the [[Patching packages]] article.
 
   
== Usage ==
+
== 使い方 ==
   
  +
wlroots の依存関係としてインストールされる {{Pkg|seatd}} から {{ic|seatd.service}} を [[有効化/起動]] します。そう
[[Enable/start]] {{ic|seatd.service}} from {{Pkg|seatd}}, which will be installed as a dependency of {{Pkg|wlroots}}, otherwise dwl will kick and scream at runtime about how it cannot open a backend and cannot find any seats. dwl can then be started via
 
  +
しないと、実行時に dwl がバックエンドを開けずシートを見つけることができないというエラーが発生します。その後、dwl を次のように起動できます。
   
 
$ dbus-run-session dwl
 
$ dbus-run-session dwl

2024年8月16日 (金) 15:33時点における最新版

関連記事

dwl は、Wayland ユーザー向けに作成された suckless ウィンドウマネージャ dwmwlroots ベースのフォークです。

インストール

dwl は、dwlAUR または dwl-gitAUR パッケージを使用して インストール できます。ビルドとインストールの前に、必要な 設定 を行ってください。makepkg を参照してください。

設定

dwl は、ソースファイルの config.hC で編集することで設定できます。config.def.h の内容を config.h にコピーすることでデフォルトに戻せます。変更を使用するには、忘れずにパッケージを再構築してください。

公式プロジェクトのリポジトリには、dwl に追加機能を追加できる パッチ が多数あります。これらのパッチは主に dwl.c ファイルに変更を加えますが、必要に応じて config.h ファイルやその他のソース ファイルにも変更を加えます。パッチの適用については、パッケージにパッチを適用 の記事を参照してください。

使い方

wlroots の依存関係としてインストールされる seatd から seatd.service有効化/起動 します。そう しないと、実行時に dwl がバックエンドを開けずシートを見つけることができないというエラーが発生します。その後、dwl を次のように起動できます。

$ dbus-run-session dwl