I am writing a script which allows me to start my report writing setup (pdf viewer, vim, terminal) automatically. For this, I want to start okular, set the split mode of the terminal to vertical and start another terminal. The problem is that the i3 command split h does not what it does in i3.

Is there a way to run those i3 commands in the terminal?

Best, Alexander Schoch

1 Answer 1


You can execute i3 commands with i3-msg. For split h use i3-msg split h. For other commands see the i3 User’s Guide, List of commands.

  • Thank you. I really couldn‘t find that information online... Apr 22, 2018 at 22:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .