This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:gentoo:gentoo_notes [2018/12/15 00:22] dave |
linux:gentoo:gentoo_notes [2018/12/16 11:21] (current) dave |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Gentoo Notes == | ===== Gentoo Notes == | ||
- | === Helpful Links 88 | + | === Helpful Links == |
[[https://wiki.gentoo.org/wiki/Gentoo_Cheat_Sheet|Gentoo Cheat Sheet]] | [[https://wiki.gentoo.org/wiki/Gentoo_Cheat_Sheet|Gentoo Cheat Sheet]] | ||
Line 11: | Line 11: | ||
After changing the USE flags, use this command to recompile all the packages to reflect the new flags: | After changing the USE flags, use this command to recompile all the packages to reflect the new flags: | ||
+ | <code> | ||
+ | emerge --update --newuse --deep --quiet @world | ||
+ | </code> | ||
==== Rebuild the Kernel on Gentoo == | ==== Rebuild the Kernel on Gentoo == | ||
Line 21: | Line 23: | ||
* Lastly, use ''genkernel initramfs'' to update your ''initramfs'' | * Lastly, use ''genkernel initramfs'' to update your ''initramfs'' | ||
+ | ==== zsh == | ||
+ | |||
+ | ''emerge app-shells/zsh'' | ||
+ | |||
+ | You'll also want to install the ''app-shells/zsh-completions'' package too. Add the following to ''~/.zshrc'' to enable those additional completions: | ||
+ | |||
+ | <code> | ||
+ | autoload -U compinit promptinit | ||
+ | compinit | ||
+ | promptinit; prompt gentoo | ||
+ | </code> | ||
+ | |||
+ | ==== xdm/sddm == | ||
+ | |||
+ | ''sddb'' stands for Simple Desktop Display Manager and provides us with a login screen and runs as a daemon. | ||
+ | |||
+ | Use the command ''/etc/init.d/xdm restart'' to restart xdm/sddm. (TBH I'm not entirely sure what the relationship is between these two components.) | ||
+ | |||
+ | ==== Searching for portage packages == | ||
+ | |||
+ | ''eix'' is a useful command for searching portage packages. Install it with ''sudo emerge app-portage/eix``. | ||