Closed apoorv569 closed 2 weeks ago
Should NOT use (doom-themes-treemacs-theme "doom-colors")
.
nerd-icons-octicon: Unable to find icon with name ‘file-text’ in icon set ‘octicon’Error during redisplay: (dashboard-resize-on-hook #<frame dashboard - GNU Emacs at MachineY 0x158c9638>) signaled (error "Unable to find icon with name ‘file-text’ in icon set ‘octicon’")
Please check you own configurations, and find out if file-text
icons was used. In nerd-icons, the oct icons are nf-oct-xxx.
Should NOT use
(doom-themes-treemacs-theme "doom-colors")
.
OK, I checked the documentation for this it uses all-the-icons
.. What should set this to then? other option is doom-atom
.. should I set this to nil
then?
Please check you own configurations, and find out if
file-text
icons was used. In nerd-icons, the oct icons are nf-oct-xxx.
I see.. I looked and dashboard
package was using this icon
, I browsed the nerd-icons-insert
menu and looks like there is no nf-oct-file-text
so I used nf-fa-file-text
instead also I was using book
icon, changed that to nf-fa-bookmark
. Now I get this error,
nerd-icons-octicon: Unable to find icon with name ‘nf-fa-file-text’ in icon set ‘octicon’Error during redisplay: (dashboard-resize-on-hook #<frame *dashboard* - GNU Emacs at MachineY 0x36818298>) signaled (error "Unable to find icon with name ‘nf-fa-file-text’ in icon set ‘octicon’")
Error during redisplay: (dashboard-resize-on-hook #<frame *Warnings* - GNU Emacs at MachineY 0x36818298>) signaled (error "Unable to find icon with name ‘nf-fa-file-text’ in icon set ‘octicon’") [2 times]
Error during redisplay: (dashboard-resize-on-hook #<frame *dashboard* - GNU Emacs at MachineY 0x36818298>) signaled (error "Unable to find icon with name ‘nf-fa-file-text’ in icon set ‘octicon’")
Here is my dashboard
package configuration,
(use-package dashboard
:init ;; tweak dashboard config before loading it
(setq dashboard-set-heading-icons t) ;; add icons for headings
(setq dashboard-set-file-icons t) ;; add icons for files
(setq dashboard-set-navigator t)
(setq dashboard-set-init-info t)
(setq dashboard-set-footer t)
(setq show-week-agenda-p t)
(setq dashboard-banner-logo-title "Emacs Is More Than A Text Editor!") ;; set a title to be displayed under the banner
(setq dashboard-startup-banner 'logo) ;; use official emacs logo, or text banners -1,2,3
(setq dashboard-center-content t) ;; set to 't' for centered content
(setq dashboard-items '((recents . 5) ;; show some items on dashboard
(agenda . 5 )
(bookmarks . 5)
(projects . 5)
(registers . 5)))
(setq dashboard-page-separator "\n\f\n")
;; (setq dashboard-icon-type 'all-the-icons)
(setq dashboard-icon-type 'nerd-icons)
:config
(dashboard-setup-startup-hook)
(dashboard-modify-heading-icons '((recents . "nf-fa-file-text")
(bookmarks . "nf-fa-bookmark")))
:custom-face
(dashboard-items-face ((t (:inherit widget-button :weight normal))))
(dashboard-heading ((t (:inherit font-lock-keyword-face :weight semi-bold)))))
treemacs-nerd-icons
, and do nothing with doom-themes-treesmace-theme
.
I'm trying to use
nerd-icons
package along with various recommended package but I can't get it to work. I get this error when I launchemacs
,Not sure why
treemacs
is trying to loadall-the-icons
. I have removed all references toall-the-icons
(which I was using beforenerd-icons
).Here is my
nerd-icons
and recommended package config,here is my
treemacs
config,Also I use the
dashboard
package and I have set this for it,but the dashboard always shows up empty and i have this error in
*Messages*
buffer,I have already tried running
nerd-icons-install-fonts
and it just installs one file calledNFM.ttf
under~/.local/share/fonts/
.