P. S. It seems my path is also missing my normal ~/bin (Where I keep a backup script)
You're going to have to remember what did you change. Is this bookworm? Things don't just change themselves in Stable
rhudson@adam:~$ neofetch
,met$$$$$gg. rhudson@adam
,g$$$$$$$$$$$$$$$P. ------------
,g$$P" """Y$$.". OS: Debian GNU/Linux 12 (bookworm) x86_64
,$$P' $$$. Host: VivoBook_ASUSLaptop S5402ZA_S5402ZA 1.0 ',$$P ,ggs.
$$b: Kernel: 6.1.0-13-amd64
d$$' ,$P"' . $$$ Uptime: 59 mins $$P d$' , $$P Packages: 3393 (dpkg) $$: $$. - ,d$$' Shell: bash 5.2.15 $$; Y$b._ _,d$P' Resolution: 2880x1800 Y$$.
."Y$$$$P"' DE: Plasma 5.27.5
$$b "-._ WM: kwin
Y$$ WM Theme: plastik
Y$$. Theme: [Plasma], Breeze [GTK2/3]
$$b. Icons: [Plasma], breeze-dark [GTK2/3]
Y$$b. Terminal: konsole
"Y$b._ Terminal Font: IBM 3270 19
""" CPU: 12th Gen Intel i7-12700H (20) @ 4.600GHz
GPU: Intel Alder Lake-P
Memory: 3687MiB / 11577MiB
This is bookworm.
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.
Here is the problem.
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.
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 have included this line in my .bash_profile:
export PATH="$HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
In the very last line.
My PATH still looks like this:
rhudson@adam:~$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
What could be changing my path after .bash_profile gets its say?
I am also adding it now to the last line of .bashrc
I have rebooted and now my path seems correct:
rhudson@adam:~$ echo $PATH /home/rhudson/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
I can type "kpat" at the command line and it launches.
But when I click the icon in the task manager it still says it can't find the program 'kpat'
Depending on how you're starting X (assuming X and not Wayland), you could add a line to your ~/.xprofile (or .xsession or .xinitrc) with ". ~/.bashrc" to make sure the path gets set before launching X.
The issue shows up under Wayland, not X. With X everything is working ok. I have yet to try a different Task Manager under Wayland though.
So I would look into how to make sure Wayland apps inherit your ~/.bashrc settings
I took a moment to swich back to wayland, and tried "Task Manager" (I was using "Icons only Task Manager") both are showing this issue which is resolved by switching back to X.
Debian operating system
Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine.