I'm using Veins (v5.1) along with SUMO (v0.32) and OMNeT++ (v5.6.2) in Linux Ubuntu 20.04 and I'm trying to run the Qtenv from the terminal with the opp_run command. When the simulation window opens I still need to click run (F5) in order to start the simulation. Is there any way to start the simulation directly while using the Qtenv?
In Qtenv there is no way to start simulation automatically after opening the window.
EDIT
However, based on that question you may try use xdotool
to start simulation by sending F5, for example:
xdotool search --name Qtenv windowactivate --sync %1 key F5 windowactivate `xdotool getactivewindow`
where Qtenv
is a part of the title of window with your simulation.