Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions docs/installation.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,50 @@ bcon はデフォルトで libseat 対応。以下が可能:
- GDM/SDDM ログインセッション

同じバイナリが `sudo` でもユーザーセッションでも動作します。


## Arch Linux ユーザー向け
Debian/Ubuntu と比べていくつか違いがあります。

1. パッケージマネージャー (公式リポジトリ用)

Arch では apt の代わりに pacman を使います。
```
sudo apt install [package-name]
```
```
sudo pacman -S [package-name]
```

2. AUR (Arch User Repository) と AUR ヘルパー

bcon パッケージは AUR に登録されています (community-maintained by @kay-ws)。
パッケージ取得には AUR ヘルパー (yay, paru 等) が必要です。
```
yay -S [AUR-package-name] # sudo は付けない
```

AUR ヘルパーが未導入の場合、以下の手順で入手できます。
(ここでは「yay」を例とします。)
```bash
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay && makepkg -si
```

3. bcon のインストール

以下を
```
curl -fsSL https://sanohiro.github.io/bcon/install.sh | sudo sh
sudo apt install bcon
```
次で置き換えます。
```
yay -S bcon
```

4. ユーザーログインセッション

セッションファイル (`bcon-session`, `bcon.desktop`) は AUR パッケージが最終配置先に直接インストールするため、手動コピーは不要です。

47 changes: 47 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,50 @@ bcon includes libseat support by default, enabling:
- Login session from GDM/SDDM

The same binary works both with `sudo` and as a user session.


## For Arch Linux Users
There are some differences compared to Debian/Ubuntu.

1. Package manager(for official repository)

In Arch, you use pacman instead of apt.
```
sudo apt install [package-name]
```
```
sudo pacman -S [package-name]
```

2. AUR(Arch User Repository) & AUR helper

The bcon package is listed in AUR(community-maintained by @kay-ws).
You will need to use AUR helper(such as yay, paru) to retrieve the package.
```
yay -S [AUR-package-name] # don't use sudo
```

if you don't have the AUR helper, you can get it as follows.
(Using "yay" as an example.)
```bash
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay && makepkg -si
```

3. Install bcon

Replace
```
curl -fsSL https://sanohiro.github.io/bcon/install.sh | sudo sh
sudo apt install bcon
```
with
```
yay -S bcon
```

4. User Login Session

Session files (`bcon-session`, `bcon.desktop`) are installed in their final locations by the AUR package, so no manual deployment is needed.

Loading