I have suddenly found that /usr/games has disappeared off my path. Not only that but my normal otherwise but sudo enabled user seems to have a superuser's path?
What would have changed suddenly? It was not like this yesterday. kpat is in /usr/games and I was able to launch it from task manager yesterday, but not today.
I have rebooted twice so far.
I can run kpat by opening it from Dolphin.
I have only worked with .txt files and .odt (libre Office files) for the past few days. I have done updates as offered, but I have not installed anything, and I have not edited any system file as far as I can remember (before this morning, see below for a troubleshooting step taken).
And I have played Minecraft and watched Youtube and Freetube.
When I noticed this happening (by trying to launch kpat this morning) I went to look at /etc/profile and added /etc/games to the id=0 part of the path setting and that did not help any so I removed it again. - something is setting the path to SU's path along the way but I don't know what.
Check your ~/.bash_profile, ~/.bashrc, and ~/.profile files. See if they were modified. You can add those paths (~/bin, /usr/games) to one of those files:
export PATH=$PATH:~/bin:/usr/games
I had been running X before last night. I switched to Wayland just before knocking off. When I started again today I was now running Wayland. I just now switched back to X and now my icon for kpat works properly.
Is there some issue with the Icons-Only Task Manager under Wayland?
I was going back to Wayland because it seems important Distros are dropping X. I should be running under Wayland because at some point I will have to. I am back on X for now.