Desktop-notes

From Alpine Linux
Revision as of 13:46, 19 May 2021 by Sb1 (talk | contribs) (→‎additional software: moved to Xfce_Desktop#Done)
This material is proposed for merging ...

It should be merged with XFCE Setup . (Discuss)


These are my personal xfce4 desktop notes.

Remaining differences to Xfce_Setup (need to be checked):

Base system

  1. apk add slim (had no graphical shutdown/suspend support)


  1. add user to specific groups (had no elogind support)
    1. adduser (username) audio
    2. adduser (username) video
    3. adduser (username) dialout


  1. 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
 

Changing cosmetics

  1. apk add paper-gtk-theme # gtk2 !?
  2. change xfce4 style/icons to paper: Settings -> Appearance -> Style and Icons
  3. change window manager theme to Paper: Settings -> Window Manager -> Style
  4. set custom desktop background picture, to see the transparency effects
  1. Settings - > Appearance -> Fonts: Turn on Anti-aliasing (is the default) and enable Sub-Pixel order -> RGB


obsolete?

  1. apk add paper-icon-theme # ~125MB
  2. apk add font-noto
  1. Change mouse Theme to Paper: Settings -> Mouse and Trackpad -> Theme
  2. enable all Composer Shadows: Settings -> Window Manager Tweaks -> Composer
  3. 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

Setting up Alsa audio

  1. apk add alsa-utils
  2. rc-update add alsa
  3. rc-service alsa start
  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"
    }
}

Tweaks

Enable webgl on chromium when running on hardened kernel:

Edit: /boot/extlinux.conf

Add: grsec_sysfs_restrict=0 to the end of the of the APPEND line.

Don't forget to add it to your update-extlinux.conf