• 3 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle
  • Gnome’s default file explorer does allow drag and drop to add a directory (folder) to the left sidebar. It just has to go into the middle list on the left sidebar. You cannot add things to the top list by drag and drop. KDE is far far more customisable than Gnome, but changing too many settings can sometimes make KDE unstable. If you choose KDE, try changing only a few settings at a time. Gnome takes the approach of making it more beginner friendly by making it harder to break and providing an experience that Gnome devs think would be the best.




  • This is the script. /home/deck/scripts/fstab contains my customised fstab file. Yes, after an update, I just run this script once.

    #!/bin/bash
    
    if [ ! -f ~/.config/kdesurc ];then
      touch ~/.config/kdesurc
      echo "[super-user-command]" > ~/.config/kdesurc
      echo "super-user-command=sudo" >> ~/.config/kdesurc
    fi
    
    if [ ! -f /var/mnt/nas ];then
      sudo -c 'sudo mkdir "/var/mnt/nas"'
    fi
    
    sudo cp -a /home/deck/scripts/fstab /etc/fstab
    sudo steamos-readonly disable
    sudo pacman -Syy
    sudo pacman-key --init
    sudo pacman-key --populate
    sudo pacman -S --overwrite "*" nfs-utils
    sudo steamos-readonly enable
    sudo mount -a
    


  • That is correct. The best case is to write a script to make your desired changes, and then run it after each system update.
    My own use-case is that I have a NFS mount-point for my Steam Deck to use extra storage on my NAS. After the first time I figured out how to get it mounted, I made a script to disable read-only filesystem, make all the changes to the system, and then re-enable read-only filesystem. After every system update, I just run that script once.