Screen mirroring using GNU Emacs
Screen mirroring using GNU Emacs from Debian XFCE to LG UJ632T Note: Don't forget to quit properly (or use wpa_cli p2p_cancel ). Else your computer will continue to scan for peers in the background. Config (require 'tv) (setq wfd-wpa-cli " /usr/sbin/wpa_cli ") Code https://gitlab.com/atamariya/emacs/-/blob/dev/lisp/tv.el https://gitlab.com/atamariya/hostap/-/blob/tools/wpaspy/wfd.py (RTSP server) Setup We need to be able to run wpa_cli and nmcli as a normal user. Hence we will add the user and the tools to netdev group. - Edit /usr/lib/systemd/system/wpa_supplicant.service (as root) ExecStart=/sbin/wpa_supplicant -u -s -O /run/wpa_supplicant -G netdev - Restart wpa_supplicant (as root). systemctl daemon-reload service wpa_supplicant restart - Modify user group, file permissions and path. sudo adduser <username> netdev chown -R :netdev /usr/sbin/wpa_cli /var/run/wpa_supplicant/* export PATH=/usr/sbin:$PATH - Start th...