PortValhalla/ManuSurface/ManuSurfaceSetup.md

3.1 KiB

ManuSurface Setup

The steps described here allow the creation of a linux system on a Surface Book 2.

Enhancement

  • Install Gnome Extension Manager

    • Install Extensions Clipboard Indicator
  • Sync NextCloud

    sudo -v ; curl https://rclone.org/install.sh | sudo bash
    rclone config # add remote
    cp ./services/rclone@.service ~/.config/systemd/user/
    systemctl --user daemon-reload
    systemctl --user enable rclone@nextcloud:Nextcloud
    systemctl --user start rclone@nextcloud:Nextcloud
    
  • Install oh-my-posh

    sudo wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
    sudo chmod +x /usr/local/bin/oh-my-posh
    echo 'eval "$(oh-my-posh init bash --config ~/Nextcloud/.omp/manuel.omp.json)"' >> ~/.bashrc
    
  • Install logo-ls

    sudo wget https://github.com/Yash-Handa/logo-ls/releases/download/v1.3.7/logo-ls_amd64.deb -O logo-ls.deb
    sudo dpkg -i logo-ls.deb
    {
        echo "alias ls='logo-ls -D'"
        echo "alias ll='ls -al'"
        echo "alias l='ls'"
    } >> ~/.bashrc
    
  • Improve audio quality

    cp ./equalizer/Default.json ~/.var/app/com.github.wwmm.easyeffects/config/easyeffects/output/
    
  • Install python

    sudo apt install python3 python-is-python3 python3-pip
    
  • Install pyenv

    curl https://pyenv.run | bash
    {
      echo ""
      echo "# pyenv"
      echo 'export PYENV_ROOT="$HOME/.pyenv"'
      echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"'
      echo 'eval "$(pyenv init -)"'
      echo 'eval "$(pyenv virtualenv-init -)"'
    } >> ~/.bashrc
    

Post-Install

  • Add SSH-key to GitHub/Gitea websites
  • Add Caskaydia Cove Nerd Font Regular to /usr/share/font/opentype

Configuration

  • Desktop
    • Desktop Options
      • Super Key Action: Applications
  • Power
    • Power Saving Options
      • Disable "Automatic Screen Brightness"
    • Suspend & Power Button
      • Power Button Behavior: "Suspend"
      • Enable "Show Battery Percentage"
  • Mouse & Touchpad
    • Touchpad Scroll & Zoom Options
      • Enable "Natural Scrolling"
  • Date & Time
    • Time Format: 24-hour
  • OS Upgrade & Recovery
    • Update Recovery Partition