As a solution to the second part of your qestion you can always enable the option for KDE to restore last session at startup. This means that if you leave a program/bash open at a certain location at shutdown it will remain there at next startup. By default KDE will always start a new session at each reboot.



