I want to start Konsole in Split View which is possible using the --layout command but then also run a command like htop in one of the sessions. How do I do that?
I want to start Konsole in Split View which is possible using the --layout command but then also run a command like htop in one of the sessions. How do I do that?
As for timing, one could use the flock function to ensure only one process starts. Something like this (untested):
flock -n ~/.htop.lock -c htop