Auto-open terminal for terminal based application when needed
Sometimes, we open a launcher with alt+F2 but we need to open terminal-based app. So, is it possible to make shellex in this situations to autodetect this need and open a terminal with the asked command in it?
As example, supose I try to run vim on shellex, not gvim but vim, so currently nothing happend. Ideally, shellex should open a urxvt (or other terminal) with vim on it.
What I use in production is aliases defined in $HOME/.shellex/50-alias. Sadly you'd need to define them individually for every application that you intend to use.
I was wondering if I could somewhat automatically detect (from .desktop files or gtk-launch) if a command is supposed to run in a terminal, but haven't arrived to anything useful, sorry :( .