Monthly Archives: November 2021

Sway on VMware Fusion

With Manjaro(Arch based, Xfce edition), installed as a vm in VMware Fusion on macOS. You can install sway or sway-git.

sudo pacman -S sway

or

git clone https://aur.archlinux.org/wlroots-git.git
cd wlroots-git
makepkg -si
git clone https://aur.archlinux.org/swaybg-git.git
cd swaybg-git
makepkg -si
git clone https://aur.archlinux.org/sway-git.git
cd sway-git
makepkg -si

If you want to use gnome-terminal,

sudo pacman -S gnome-terminal

Modify /etc/sway/config , the line

set $term foot

to

set $term gnome-terminal

Modify /usr/share/wayland-sessions/sway.desktop , the line

Exec=sway

to

Exec=env WLR_NO_HARDWARE_CURSORS=1 /usr/bin/sway

If you want to restart display manager to login again,

sudo systemctl restart lightdm

Reference