Desktop-notes

From Alpine Linux
Revision as of 08:39, 28 September 2017 by Clandmeter (talk | contribs)

These are my personal xfce4 desktop notes.

  1. Do a minimal Alpine install
  2. Enable community repo in repositories
  3. setup-xorg-base
  4. apk add xfce4
  5. apk add chromium
  6. apk add slim
  7. apk add paper-icon-theme paper-gtk-theme
  8. apk add font-noto
  9. apk add xf86-video-intel (for intel video only)
  10. apk add xf86-input-keyboard xf86-input-evdev
  11. add local user and add to sudo list
  12. add user to specific groups
    1. adduser (username) audio
    2. adduser (username) video
    3. adduser (username) dialout
  13. Add /etc/X11/xorg.conf.d/30-intel.conf to have tear free scrolling:
 Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "TearFree"    "true"
 EndSection
 
  1. reboot system
  2. rc-service slim start
  3. verify xorg starts correctly and you can login to slim
  4. rc-update add slim
  1. change xfce4 style/icons to paper: Settings -> Appearance -> Style and Icons
  2. change window manager theme to Paper: Settings -> Window Manager -> Style
  3. Change mouse Theme to Paper: Settings -> Mouse and Trackpad -> Theme
  4. enable all Composer Shadows: Settings -> Window Manager Tweaks -> Composer
  5. change fonts to noto
    1. Settings - > Appearance -> Fonts: Set to Noto Sans UI
      1. Turn on Anti-aliasing (is the default) and enable Sub-Pixel order -> RGB

Sound

  1. apk add alsa-utils
  2. rc-service add alsa
  3. rc-service start alsa
  4. Set the default sound device
    1. List sound devices: cat /proc/asound/card*/id
    2. Depending on your setup select the proper device
      1. create a /etc/asound.conf with following content where PCH is sound card name.
pcm.!default {
    type plug
    slave.pcm {
        @func getenv
        vars [ ALSAPCM ]
        default "hw:PCH"
    }
}