Emacs File Explorer Solution

I just came across the Treemacs package that I wish I knew earlier. Treemacs is an Emacs package that provides a tree layout file explorer for Emacs. With Treemacs, one can easily navigate through a big project tree all in Emacs.

Installation is simple through ELPA. I have the following lines in my .emacs configuration:

(setq package-archives '(("gnu" . "") ))
(when (>= emacs-major-version 24)
  (require 'package)
  (add-to-list 'package-archives '("melpa" . "") t)    

In Emacs, run “M-x package-refresh-contents”, then “package-install treemacs.” After installation, run “M-x treemacs” brings up the tree view.


Ubuntu Dummy Output Audio Solution

Recently I upgraded to Ubuntu 20.04, after which I experienced the problem of “dummy output” audio. After leaving the computer to sleep, Ubuntu will set the sound to Dummy Output. A reboot or log out and then login in again always solve the problem. Some quick Internet searches suggest this is a common problem and may be related to the new kernel ( 5.4.0) in Ubuntu 20.04. I have tried solutions that I found on-line but they didn’t solve the problem, including the command “pulseaudio -k,” which was reportedly solved the problem in some cases.

However, running the command “pulseaudio –start” after “pulseaudio -k” solved my problem.