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?

rhudson@adam:~$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

rhudson@adam:~$ id -u 1000

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 don’t want to have to re-install : ^ (

  • WasPentaliveOP
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    I have been running X to avoid this problem for a while - and so I forgot it did this under Wayland. Wayland should work like X in regards to the PATH, why doesn’t it? What startup files does Wayland use when it comes up? My path is set correctly in a Konsole prompt, but Wayland won’t find kpat when I click its icon in the task manager, under Wayland