ClearLinux Desktop Preparation
#!/bin/bash
sudo swupd check-update
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position BOTTOM
#sudo hostnamectl set-hostname fe-thinkpad-x240
sudo swupd bundle-add desktop-apps-extras desktop-assets desktop-lxqt fonttools libreoffice wget
# Install packages using Flathub
# Enable FUSE - https://github.com/clearlinux/distribution/issues/273
sudo su
mkdir -p /etc/modules-load.d/
echo "fuse" > /etc/modules-load.d/fuse.conf
reboot
# For AppImage: https://www.youtube.com/watch?v=wVGQpnHa0Vk
# AppImage Hubs:
# https://appimage.github.io/ (official)
# https://www.appimagehub.com/
# Enable AppImage integration - https://github.com/AppImage/appimaged
mkdir -p ~/Applications
cd ~/Applications
wget "https://github.com/AppImage/appimaged/releases/download/continuous/appimaged-x86_64.AppImage"
chmod a+x appimaged-x86_64.AppImage
./appimaged-x86_64.AppImage --install
# logout and login back again
# Download AppImageUpdate from https://github.com/AppImage/AppImageUpdate/releases/tag/continuous and put on your $PATH:
sudo mkdir -p /usr/local/bin
sudo mv "~/Downloads/AppImageUpdate-*.AppImage" /usr/local/bin/AppImageUpdate
sudo chmod a+x /usr/local/bin/AppImageUpdate