Start QjackCtl, then Qsynth, then Rosegarden.
For this tutorial, we'll be using the default "Fluid R3" SoundFont, but you can use any General MIDI SoundFont.
Setup Rosegarden in JACK for MIDI use only.
From the Rosegarden menu, select → . Click the "MIDI" tab, then the 'General' tab, then select "Send all MIDI controllers at start of each playback". This will ensure that the MIDI synthesizer (FluidSynth for this tutorial) uses the right patches.
Create a new segment.
Select the "Draw" tool on the toolbar (it looks like a red pencil), or press 'F3' on the keyboard.
In the first track, click-and-drag to select the area over the first two bars.
When you release the mouse, there should be a rectangle that says, "Acoustic Grand Piano," or something similar.
Double-click on the rectangle to open the default MIDI segment editor. It should be the notation editor.
Change the clef. Click on the bass clef on the toolbar at the left side of the editor window. Then click on the existing clef to replace it.
Switch to the note-inputting tools as required. They're located next to the clef tools, in the toolbar at the left of the notation editor window.
Input three quarter-notes on c, two eighth notes on c and g, two quarter-notes on e-flat, and four eighth notes on d, f, d, and g.
You'll probably make a few mistakes. The easiest way to fix a mistake is to erase the note/s and re-input the correct note/s. You can use the eraser tool for this. It's located on the top toolbar of the score editing window, to the left of the capital "T," and to the right of the red pencil. It looks like a red and white rectangle, which represents a standard white eraser.
Listen to your creation by clicking on the 'play' button in the transport window. The playhead won't stop until you stop it, even though the visible playhead (the vertical line) will stop.
Close the notation editor - you don't need to click the 'save' button, because Rosegarden will automatically keep your changes.
You should save the file, though.
Click the "Select and Edit" tool, which looks like a mouse cursor on the toolbar. You can also select that tool by pressing 'F2' on the keyboard.
Select the segment you just created by clicking on it.
Create a copy of it by holding the 'Ctrl' key on the keyboard, as you click-and-drag the segment.
Place the copy in the same track, immediately after the first segment.
Create a few more copies like this.
Use the transport to move the playhead to the start (click the button that looks like a vertical bar with a single-direction arrowhead pointing towards it).
Name the newly-created track by double-clicking on its name. A window will pop up, allowing you to rename the track. If you don't know what to call it, try "Bass line."