==============================
9wm + sxhkd Setup (LightDM)
==============================
1. BAIXE E COMPILAR O 9wm
------------------------------
$ sudo apt-get update
$ sudo apt-get install libx11-dev libxext-dev make gcc git -y
$ git clone https://github.com/9wm/9wm
$ cd 9wm
$ make
2. INSTALE O EXECUTÁVEL
------------------------------
$ sudo cp 9wm /usr/local/bin/9wm
$ sudo chmod +x /usr/local/bin/9wm
3. CONFIGURE O LIGHTDM
------------------------------
$ sudo vim /usr/share/xsessions/9wm.desktop
--- Conteúdo do arquivo: 9wm.desktop ---
[Desktop Entry]
Name=9wm
Comment=Plan 9 Window Manager
Exec=/usr/local/bin/9wm
TryExec=/usr/local/bin/9wm
Icon=
Type=XSession
----------------------------------------
$ sudo chmod 644 /usr/share/xsessions/9wm.desktop
$ ls -la /usr/share/xsessions/9wm.desktop
$ cat /usr/share/xsessions/9wm.desktop
4. REINICIE O LIGHTDM
------------------------------
$ sudo systemctl restart lightdm
5. INSTALE O SXHKD
------------------------------
$ sudo apt install sxhkd -y
$ mkdir -p ~/.config/sxhkd
$ vim ~/.config/sxhkd/sxhkdrc
--- Conteúdo do arquivo: sxhkdrc ---
# Terminal
super + Return
xterm
# Launcher
super + d
dmenu_run
# Browser
super + b
firefox
# File manager
super + e
thunar
--------------------------------------
6. INICIAR O SXHKD AUTOMATICAMENTE (opcional)
---------------------------------------------
Edite ~/.xinitrc ou ~/.xsession e adicione antes do 9wm:
sxhkd &
exec 9wm
Ou use autostart manual após login.
==============================
FINALIZADO!
Faça login no 9wm pela tela do LightDM.
==============================
Nenhum comentário:
Postar um comentário