@BrodieOnLinux some flatpaks don't seem to launch on Niri - possibly because of portal issues? Maybe it's because of XWayland support issues (XWayland notwithstanding)
Maybe @magitian might have an idea - I don't use Flatpaks.
@itsfoss#Gentoo and #NixOS are both hybrid distros. I love the fact that I can arbitrarily override the #Emacs package. Every time there's an update to the Emacs package in the (unstable) channel, my Emacs package gets rebuilt.
Gentoo's bindist is excellent, but it isn't as populated as Nixpkgs is.
I do hate how complex the Nix language is. It takes quite some getting used to. Perhaps if my hardware supported it I would have gone with Guix instead (I'm a little familiar with Guile and the #Lisp languages thanks to #Emacs#Elisp)
EDIT: I thought maybe a search engine, Gitea, GotoSocial etc? I'm not looking for solutions like NextCloud or HomeAssistant - either due to storage concerns or because I don't need 'em.
EDIT2: Have I großly underestimated the Pi? Here the replies tell me they run 6-7 services on the Pi... Why did I think otherwise 😄
Hey #Emacs users, I require some inputs on optimizing my Emacs configuration. It takes too long to startup and I'd like some inputs. If I post my configuration, would anyone be willing to help me out?
I'm using general.el and evil-mode in #Emacs. I'm trying to write a basic man pager. (defun open-man-page (program)
"Open the man page for the specified PROGRAM in the terminal."
(progn
;; Close any existing man page buffers (with the pattern *Man *).
(dolist (buf (buffer-list))
(when (string-match-p "^\\*Man " (buffer-name buf)) ;; Match any *Man * buffer
(kill-buffer buf)))
;; Open the man page without interactive prompts
(man program)))
(defun quit-man-page ()
"Quit the *Man * buffer if it exists."
(interactive)
(let ((man-buffer (cl-find-if (lambda (buf)
(string-match-p "^\\*Man " (buffer-name buf))) ;; Match any *Man buffer
(buffer-list)))) ;; Check all buffers
(if man-buffer
(progn
;; (kill-buffer man-buffer) ;; Kill the *Man * buffer
(Man-kill)
(execute-kbd-macro (kbd "C-x C-c")))
(message "No man page buffer found"))))
(add-hook 'Man-mode-hook #'center-document-mode) This is what I have so far. I want to bind q to close the pager (i.e execute quit-man-page). No matter how I try to bind it, q is set to quit-window.