I would like to install a self-compiled St-Terminal in all my existing qubes (so not the package stterm). The compiled Terminal works in Dom0, so no compilation error. So I tried with Salt to install the terminal globally in different qubes, but did not succeed until now:
So I copy the compiled files (in my case st, st-copyout, st-urlhandler) in a new directory in /srv/salt/st.
In the same directory I created a *.top-file: st.top
base:
'*':
- st.st
Again in the same directory I created a state-file: st.sls
If I’ve read this correctly, all you’ve told it to do is put the files on the target. Which it did do.
That doesn’t change what the default editor for the qube is, that’s a totally different bunch of settings that you’d have to also write salt for. (And I’ll be honest, I can’t follow the tangled mess that is the way defaults are set nowadays, nor do I understand salt, so I can’t tell you exactly what to do.)