I feel my system is perpetually bloated, and try to maintain what applications I have installed but always seem to veer off into new applications or python modules and what ever else.

Just wondering how does one keep a lean daily use system?

  • Communist@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 months ago
    alias orphans='paru -Qtdq | paru -Rns - && pw-play --volume=0.2 "/usr/share/sounds/freedesktop/stereo/complete.oga" &!'
    
    

    I occasionally run this after a

    pacman -Q | nvim

    and looking through for any garbage.

    and then a sudo pacdiff to fix up old config files.

    but I do that like once a year or so. that’s all it really takes unless you’re constantly installing stuff.

    • squid_slime@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      9 months ago

      i have a similar method of manual review

      installed() {
          pacman -Qs "$1" | awk -F/ '/^local/ {print $2}' | cut -d' ' -f 1
      }`
      
      basically gets all installed packages and displays only package name, i can then manually look through and remove stuff