Desktop-notes: Difference between revisions
Clandmeter (talk | contribs) No edit summary |
mNo edit summary |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
These are my personal xfce4 desktop notes. | These are my personal xfce4 desktop notes. | ||
== Base system setup == | |||
# Do a minimal Alpine install | # Do a minimal Alpine install | ||
# Enable community repo in repositories | # Enable community repo in repositories | ||
# setup-xorg-base | # setup-xorg-base | ||
# apk add dbus | |||
# rc-update add dbus | |||
# apk add sudo | |||
# apk add xfce4 | # apk add xfce4 | ||
# apk add chromium | # apk add chromium | ||
Line 9: | Line 14: | ||
# apk add paper-icon-theme paper-gtk-theme | # apk add paper-icon-theme paper-gtk-theme | ||
# apk add font-noto | # apk add font-noto | ||
# apk add xf86-video-intel (for intel video only) | # apk add xf86-video-intel (for intel video only) (you can also choose xf86-video-modesetting) | ||
# apk add xf86-input- | # apk add xf86-input-synaptics (it currently has support for palm detection which libinput does not). | ||
# add local user and add to sudo list | # add local user and add to sudo list | ||
# add user to specific groups | |||
## adduser (username) audio | |||
## adduser (username) video | |||
## adduser (username) dialout | |||
# Add /etc/X11/xorg.conf.d/30-intel.conf to have tear free scrolling: | # Add /etc/X11/xorg.conf.d/30-intel.conf to have tear free scrolling: | ||
<pre> | <pre> | ||
Line 20: | Line 29: | ||
EndSection | EndSection | ||
</pre> | </pre> | ||
== Testing basic xorg system == | |||
# reboot system | # reboot system | ||
# rc-service start | # rc-service slim start | ||
# verify xorg starts correctly and you can login to slim | # verify xorg starts correctly and you can login to slim | ||
# rc-update add slim | # rc-update add slim | ||
== Changing cosmetics == | |||
# change xfce4 style/icons to paper: Settings -> Appearance -> Style and Icons | # change xfce4 style/icons to paper: Settings -> Appearance -> Style and Icons | ||
Line 33: | Line 46: | ||
## Settings - > Appearance -> Fonts: Set to Noto Sans UI | ## Settings - > Appearance -> Fonts: Set to Noto Sans UI | ||
### Turn on Anti-aliasing (is the default) and enable Sub-Pixel order -> RGB | ### Turn on Anti-aliasing (is the default) and enable Sub-Pixel order -> RGB | ||
== Setting up Alsa audio == | |||
# apk add alsa-utils | |||
# rc-update add alsa | |||
# rc-service alsa start | |||
# Set the default sound device | |||
## List sound devices: <code>cat /proc/asound/card*/id</code> | |||
## Depending on your setup select the proper device | |||
### create a /etc/asound.conf with following content where PCH is sound card name. | |||
<pre> | |||
pcm.!default { | |||
type plug | |||
slave.pcm { | |||
@func getenv | |||
vars [ ALSAPCM ] | |||
default "hw:PCH" | |||
} | |||
} | |||
</pre> | |||
== additional software == | |||
# apk add geany | |||
# apk add thunar-archive thunar-volman | |||
# apk add xarchiver | |||
== Tweaks == | |||
Enable webgl on chromium when running on hardened kernel: | |||
Edit: <code>/boot/extlinux.conf</code> | |||
Add: <code>grsec_sysfs_restrict=0</code> to the end of the of the APPEND line. | |||
Don't forget to add it to your update-extlinux.conf | |||
[[Category:Installation]] | |||
[[Category:Desktop]] | |||
{{Merge |XFCE Setup |date=December 2018}} |
Revision as of 16:59, 7 December 2018
These are my personal xfce4 desktop notes.
Base system setup
- Do a minimal Alpine install
- Enable community repo in repositories
- setup-xorg-base
- apk add dbus
- rc-update add dbus
- apk add sudo
- apk add xfce4
- apk add chromium
- apk add slim
- apk add paper-icon-theme paper-gtk-theme
- apk add font-noto
- apk add xf86-video-intel (for intel video only) (you can also choose xf86-video-modesetting)
- apk add xf86-input-synaptics (it currently has support for palm detection which libinput does not).
- add local user and add to sudo list
- add user to specific groups
- adduser (username) audio
- adduser (username) video
- adduser (username) dialout
- 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
Testing basic xorg system
- reboot system
- rc-service slim start
- verify xorg starts correctly and you can login to slim
- rc-update add slim
Changing cosmetics
- change xfce4 style/icons to paper: Settings -> Appearance -> Style and Icons
- change window manager theme to Paper: Settings -> Window Manager -> Style
- Change mouse Theme to Paper: Settings -> Mouse and Trackpad -> Theme
- enable all Composer Shadows: Settings -> Window Manager Tweaks -> Composer
- change fonts to noto
- Settings - > Appearance -> Fonts: Set to Noto Sans UI
- Turn on Anti-aliasing (is the default) and enable Sub-Pixel order -> RGB
- Settings - > Appearance -> Fonts: Set to Noto Sans UI
Setting up Alsa audio
- apk add alsa-utils
- rc-update add alsa
- rc-service alsa start
- Set the default sound device
- List sound devices:
cat /proc/asound/card*/id
- Depending on your setup select the proper device
- create a /etc/asound.conf with following content where PCH is sound card name.
- List sound devices:
pcm.!default { type plug slave.pcm { @func getenv vars [ ALSAPCM ] default "hw:PCH" } }
additional software
- apk add geany
- apk add thunar-archive thunar-volman
- apk add xarchiver
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
This material is proposed for merging ... It should be merged with XFCE Setup . (Discuss) |