User Tools

Site Tools


linux:gentoo:gentoo_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:gentoo:gentoo_notes [2018/12/14 23:32]
dave
linux:gentoo:gentoo_notes [2018/12/16 11:21] (current)
dave
Line 1: Line 1:
-===== Rebuild the Kernel on Gentoo ==+===== Gentoo Notes == 
 + 
 +=== Helpful Links == 
 + 
 +[[https://​wiki.gentoo.org/​wiki/​Gentoo_Cheat_Sheet|Gentoo Cheat Sheet]] 
 + 
 +==== USE flags == 
 + 
 +Use flags are in the ''​USE''​ variable located at ''/​etc/​portage/​make.conf''​. 
 + 
 +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 ==
  
   * You'll want to cd to ''/​usr/​src/​linux-<​version>​-gentoo''​   * You'll want to cd to ''/​usr/​src/​linux-<​version>​-gentoo''​
Line 7: 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``.
  
linux/gentoo/gentoo_notes.1544859163.txt.gz · Last modified: 2018/12/14 23:32 by dave