If I in KDE terminal su to root i can just type fstrim and it executes.
But when I on KDE desktop create a program shortcut, and set it to execute as root in a terminal, upon execution it do not find fstrim unless i write the full path /usr/sbin/fstrim .
I have a feeling this is a bug ; I think KDE terminal should have same environment whether started directly or by program link.
But no idea where to set it against. KDE upstream?