It appears the relationship between zsh and gnome-shell can be explained: 1. zsh writes to ~/.zsh_history after each command.
2. The Modify and Change timestamps of ~ change each time. 3. gnome-shell-extension-desktop-icons monitors ~/Desktop/* but also ~ because your home folder appears on the desktop too (unless you disable that icon in Tweaks). 4. gnome-shell has to wake up and run JavaScript code every time ~ gets touched, which is every time zsh runs a command. I think this is the basic mechanism for this bug. Unfortunately I still cannot reproduce any measurable memory or CPU usage though. And there's no evidence this is related to Nvidia at all, yet. So the next step in debugging might have to be with Chris. Chris, please try this: 1. Tweaks > Extensions > Desktop icons > cog wheel > Show the personal folder in the desktop = OFF 2. Log out and in again, to be sure. ** Also affects: zsh (Ubuntu) Importance: Undecided Status: New ** Changed in: zsh (Ubuntu Disco) Status: New => Incomplete ** Changed in: gnome-shell-extension-desktop-icons (Ubuntu Disco) Status: New => Incomplete ** Changed in: gnome-shell (Ubuntu Disco) Status: In Progress => Incomplete ** Changed in: gnome-shell (Ubuntu Disco) Importance: Critical => High ** Changed in: gnome-shell-extension-desktop-icons (Ubuntu Disco) Importance: Undecided => High ** Changed in: gnome-shell-extension-desktop-icons (Ubuntu Disco) Assignee: (unassigned) => Daniel van Vugt (vanvugt) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: [nvidia] gnome-shell high memory and CPU usage when using zsh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1815550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs