I'm making a Linux installer for Zero-K, an open source RTS game (zero-k.info). It will use zenity
for dialogs
but for that zenity
must be installed. As plenty of people will not already have zenity
it must be installed by the script.
I would not like to install something on a user's system without a terminal opening and giving some feedback. If there was no feedback it may look like nothing was happening when it is actually busy installing things. The problem is that the script would have to open xfce4-terminal
or gnome-terminal
or another DE specific terminal, meaning that there will have to be a different script per DE.
Is there a command to open whatever terminal is used by the OS/DE that the script is used on?
xterm
should be widely installed on most systems. – slm Nov 03 '13 at 20:26xterm
. You can check the existence of other terminal emulators before to usexterm
if you wish. See my new edits in this sense. – Radu Rădeanu Nov 04 '13 at 08:03