aboutsummaryrefslogtreecommitdiffstats
path: root/README.ja.md
blob: 8ecad40c4d65793bcc6a272e6622c2bcd2a188ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# sway [![](https://api.travis-ci.org/SirCmpwn/sway.svg)](https://travis-ci.org/SirCmpwn/sway) [![Donate with fosspay](https://drewdevault.com/donate/static/donate-with-fosspay.png)](https://drewdevault.com/donate?project=4)

[English](https://github.com/SirCmpwn/sway/blob/master/README.md#sway--) - [**日本語**](https://github.com/SirCmpwn/sway/blob/master/README.ja.md#sway--) - [Deutsch](https://github.com/SirCmpwn/sway/blob/master/README.de.md#sway--) - [Ελληνικά](https://github.com/SirCmpwn/sway/blob/master/README.el.md#sway--) - [Français](https://github.com/SirCmpwn/sway/blob/master/README.fr.md#sway--) - [Español](https://github.com/SirCmpwn/sway/blob/master/README.es.md#sway--) - [Українська](https://github.com/SirCmpwn/sway/blob/master/README.uk.md#sway--) - [Italiano](https://github.com/SirCmpwn/sway/blob/master/README.it.md#sway--) - [Português](https://github.com/SirCmpwn/sway/blob/master/README.pt.md#sway--) -
[Русский](https://github.com/SirCmpwn/sway/blob/master/README.ru.md#sway--)

"**S**irCmpwn's **Way**land compositor"は**開発中**の
i3互換な[Wayland](http://wayland.freedesktop.org/)コンポジタです。
[FAQ](https://github.com/SirCmpwn/sway/wiki)も合わせてご覧ください。
[IRC チャンネル](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway on
irc.freenode.net)もあります。

[![](https://sr.ht/ICd5.png)](https://sr.ht/ICd5.png)

もしSwayの開発を支援したい場合は[SirCmpwnのPatreon](https://patreon.com/sircmpwn)や
[こちら](https://github.com/SirCmpwn/sway/issues/986)をご覧ください。

誰でも賞金を受け取る事ができますし、自分の欲しい機能に賞金を掛ける事が出来ます。
PatreonはSwayの開発を支援するのにもっとも便利です。

## リリース

Swayのリリースは[B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A)で書名されて
[GitHub](https://github.com/SirCmpwn/sway/releases)で公開されています。

## 開発状況

- [i3のサポート](https://github.com/SirCmpwn/sway/issues/2)
- [IPCのサポート](https://github.com/SirCmpwn/sway/issues/98)
- [i3barのサポート](https://github.com/SirCmpwn/sway/issues/343)
- [i3-gapsのサポート](https://github.com/SirCmpwn/sway/issues/307)
- [セキュリティ対応](https://github.com/SirCmpwn/sway/issues/984)

## インストール

### パッケージから

Swayは沢山のディストリビューションで提供されています。"sway"パッケージをインストールしてみてください。
もし、パッケージが存在しないならば、[このページ](https://github.com/SirCmpwn/sway/wiki/Unsupported-packages)
を参照してインストールしてみてください。

もし、Swayのパッケージを提供したいならば、SwayのIRCチャンネルか"sir@cmpwn.com"に連絡してください。

### ソースコードから

まずはコンパイルや実行に必要なソフトウェアやライブラリをインストールしてください。:

* cmake
* [wlc](https://github.com/Cloudef/wlc)
* wayland
* xwayland
* libinput >= 1.6.0
* libcap
* asciidoc
* pcre
* json-c
* pango
* cairo
* gdk-pixbuf2 *
* pam **
* imagemagick (swaygrabでスクリーンショットを撮るのに必要です)
* ffmpeg (swaygrabで画面を録画するのに必要です)

_\*swaybar,swaybg,swaylockが使用します_

_\*\*swaylockが使用します_

ターミナルで次のコマンドを実行してください:

    mkdir build
    cd build
    cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_SYSCONFDIR=/etc ..
    make
    sudo make install

logindを使用している場合はバイナリにcapを設定してください:

    sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway

logindを使用していない場合はバイナリにsuidを設定してください:

    sudo chmod a+s /usr/local/bin/sway

## 設定

もし、既にi3を使用しているなら、i3のコンフィグファイルを`~/.config/sway/config`にコピーすれば動きます。
そうでないならば、サンプルのコンフィグファイルを`~/.config/sway/config`にコピーしてください。
サンプルのコンフィグファイルは基本的には`/etc/sway/config`にあります。
`man 5 sway`で各種設定について確認できます。

## 実行

`sway`をTTYから実行してください。いくつかのDesktopManagerはSwayからサポートされていませんが、動く場合もあります(gdmは特にSwayと相性が良いそうです)。