Maybe one of those update-notifier widgets is the culprit for slow program launches shortly after booting/wakeup/unsuspend.
@GeoK6868 (OP) — I remember the widget that came preinstalled with KDE/Plasma did that. I imagine it did something like »zypper refresh« and »zypper lu« under the hood, then popped up a notification about any available updates in the KDE taskbar on the desktop.
I don’t know about Gnome, but maybe a system with KDE and 4GB RAM does get a bit choppy, having zypper update its repos, maybe Baloo or locate doing their background indexing thing while starting a complex user application like, say, Steam or Thunderbird which themselves cause network traffic and subsequent loading of uncounted libraries and other files. If that’s the case, maybe ditching those desktop widgets/gadgets/meters/notifiers may help a bit. Also, switching off KDE/Gnome sound effects, app-starting animations and avoiding large images as desktop backgrounds (it all can add up). With KDE, having ksysguard open and observing its »Process Table« and »System Load« tabs while launching the app may reveal some bottlenecks.
If command line tools behave fine and only graphical apps make the system feel sluggish, maybe it’s the graphics driver. Make sure the system uses hardware acceleration and not the slow software emulation (Mesa-something or fb — a framebuffer? Both can be super slow). Especially on Laptops, you sometimes have to deal with dual-GPU setups (one for saving power while on battery, the other chip for graphics-intensive stuff). I don’t have any experience with those, but they are a regular topic in Linux forums.
What I’ve completely forgot in my lengthy list is checking enough disk space is available and whether Linux has to use the swap partition a lot:
rig:~ ▶ **df -hT**
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs tmpfs 3.9G 4.1M 3.9G 1% /dev/shm
tmpfs tmpfs 3.9G 1.2M 3.9G 1% /run
tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda1 ext4 230G 135G 94G 59% /
tmpfs tmpfs 791M 12K 791M 1% /run/user/1000
rig:~ ▶ **swapon --summary**
# well, I don’t have a swap partition, but this would list some statistics — ideally, the swap partition never sees any I/O.
A final thing to keep in mind: if the fan in the laptop is old or clogged with dust, the hardware may overheat and reduce clock frequencies of CPU and/or GPU which, in turn, slows down the software. Maybe installing the »lm-sensors« package will give you more info about internal temperatures and fan rotation speed.
Cheers!