Terminal Widget

Experienced users often find CLI more efficient for certain tasks, as they can quickly execute commands. You may want to simulate a virtual environment in your course for learners. You can use the 'Terminal widget' to add an integrated Ubuntu 20.04-based terminal.

This is what it looks like:

Edit mode
Edit mode

What do I need to know?

  • The "Start Script" field at the top allows specifying the commands that should run every time the terminal gets connected.

  • Once the terminal gets connected, authors/learners can open multiple tabs by clicking the + button.

The terminal below uses cd usercode command as the start script.

Terminal 1
Terminal
Loading...

Note that learners can not change the start script.

Can I add multiple terminals?

Authors can add multiple terminals in a single lesson. However, there are a few restrictions that an author needs to keep in mind.

  1. Only one terminal connects at a time.

  2. Connecting one terminal will disconnect the previous running terminal and its progress will be lost.