注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Install/Stage3 Desktop

From Funtoo
< Install
Revision as of 02:45, October 30, 2020 by Pnoecker (talk | contribs) (add twm & startx fallback defaults)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Stage3 Desktop Buildup

Here we are setting up a Stage 3 tarball for the desktop environment.

root # epro flavor desktop
root # epro mix-in gfxcard-nouveau
root # epro mix-in gfxcard-intel
root # epro mix-in gfxcard-amdgpu
root # epro mix-in gfxcard-radeon

Choose a desktop to mix-in. Run one, or all of them:

root # epro mix-in xfce
root # epro mix-in lxde
root # epro mix-in lxqt
root # epro mix-in mate
root # epro mix-in kde
root # epro mix-in kde-plasma-5
root # epro mix-in gnome
root # epro mix-in cinnamon

Emerge x11 and the greeter.

root # emerge xorg-x11 pulseaudio networkmanager lightdm

Emerge your desktop's meta package:

root # emerge xfce4-meta
root # emerge lxde-meta
root # emerge lxqt-meta
root # emerge mate
root # emerge kde-meta
root # emerge plasma-meta
root # emerge gnome
root # emerge cinnamon
root # mv /etc/conf.d/xdm /etc/conf.d/xdm.backup
cat > /etc/conf.d/xdm << "EOF"
CHECKVT=7
DISPLAYMANAGER="lightdm"
EOF

start xdm and networkmanager at boot, and emerge world to ensure your system is solvent:

root # rc-update add xdm && rc-update add NetworkManager
root # emerge -avuND @world

There are many other window managers available to emerge:

aewm aewm++ amiwm awesome blackbox bspwm compiz ctwm cwm dwm echinus enlightenment evilwm fluxbox fvwm goomwwm herbstluftwm i3 icewm jwm larswm lwm matwm2 musca notion openbox oroborus page pekwm plwm qtile ratpoison sawfish selectwm sithwm spectrwm stumpwm subtle treewm vtwm windowlab windowmaker wm2 wmfs wmii xmonad xoat xpra

root # echo "x11-libs/cairo xcb" >> /etc/portage/package.use
root # echo "dev-libs/efl sound" >> /etc/portage/package.use
root # emerge aewm aewm++ amiwm awesome bspwm compiz ctwm cwm dwm echinus enlightenment evilwm fluxbox fvwm goomwwm herbstluftwm i3 icewm jwm larswm lwm matwm2 musca notion openbox oroborus page pekwm plwm qtile ratpoison sawfish selectwm sithwm spectrwm stumpwm vtwm windowlab windowmaker wm2 wmfs xmonad xpra

Trouble

If lightdm doesn't load emerge twm & use startx to ensure the xorg server is loading. Twm is X11's default window manager, and is useful for debugging.

root # emerge twm xclock xterm
root # startx