aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/kwinft/pkg-message
blob: 969f9444a619c34e51cf9cb1d6b960488b1eae4d (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
[
{ type: install
  message: <<EOM
Native Wayland on top of KMS console:

  $ export XDG_RUNTIME_DIR=$(mktemp -dt run)
  $ dbus-daemon --session --fork --address=unix:runtime=yes
  $ seatd-launch kwin_wayland

Native X11 on top of Xorg:

  $ echo "exec dbus-run-session kwin_x11" >~/.xinitrc
  $ startx

Nested under Wayland as Wayland window manager:

  $ kwin_wayland

Nested under Wayland as X11 window manager:

  $ Xwayland :8 &
  $ DISPLAY=:8 kwin_x11

Nested under X11 as Wayland window manager:

  $ cage kwin_wayland

Nested under X11 as X11 window manager:

  $ Xephyr :8 &
  $ DISPLAY=:8 kwin_x11

Replace KWin in Plasma Desktop:

  $ pkg set -n plasma5-kwin:kwinft
  $ pkg set -o x11-wm/plasma5-kwin:x11-wm/kwinft
  $ pkg upgrade -f kwinft
  $ pkg lock kwinft

Improve Wayland responsiveness under high load:

  $ sysrc kld_list+=mac_priority
  $ service kld restart
  $ pw groupmod realtime -m <user>
  $ exit # log out to refresh group permissions
EOM
}
]