Is it possible somehow to define a keyboard shortcut that sequentially executes two different keyboard shortcuts? As an example, I want to open nautilus search directly. I can search in nautilus by pressing ctrl+F, but only if I am already in nautilus. I can open my home folder by a custom shortcut win+E. So, is it possible to define a new shortcut, let's say the search button on my keyboard that will first open nautilus then focus on search, similarly to if I first press win+E and then ctrl+F?
As a separate question (I'm interested in both), if there's a way to refer to searching in nautilus directly by a command, then that will work too.