A useful starting point

Use shortcuts for navigation, not for every tool

Xournal++ has a toolbar-first interface. That is helpful when you are learning the application because the pen, highlighter, eraser, text, shape and selection tools remain visible. Keyboard commands are most valuable for actions you repeat dozens of times: saving, undoing, searching a PDF, moving between pages and adjusting a geometry tool.

The exact menu accelerators can depend on the desktop platform and the version you install. Instead of copying an unexplained shortcut list from a forum, open the relevant menu and confirm the accelerator shown by your build. This matters especially when a laptop layout, a macOS modifier key or a custom toolbar changes what feels natural.

Quick reference

Useful Xournal++ keyboard actions

ActionShortcut or controlWhy it helps
Search PDF textCtrl + FFind text across PDF background pages.
Move a geometry toolArrow keysPosition a setsquare or compass precisely.
Rotate a geometry toolR / Shift + RRotate in larger or smaller steps.
Scale a geometry toolS / Shift + SChange the size around its distinguished point.
Mark a geometry pointMAdd a small reference mark when measuring.
Draw a straight lineShape tool or setsquareUse a line segment shape or align a stroke.
Save and undoUse the File/Edit menuConfirm the accelerator displayed by your version.

Fast drawing workflow

Draw a clean line in Xournal++

There is no single universal “draw line” key that is safer than selecting the right tool. These steps work with a mouse, stylus or pen display.

01

Choose the drawing mode

Use the shape dropdown for a line segment, or choose the pen/highlighter with a setsquare when the line must follow an angle.

02

Set color and width

Pick the color and thickness before drawing so the result matches the rest of the page.

03

Place the first point

For a two-point line, press at the start and drag to the endpoint. With a setsquare, begin near the appropriate edge.

04

Review and select

Use the selection tool to move, resize or rotate the line if the endpoint needs a small correction.

Xournal++ lines and shapes drawn over a document
The shape and geometry tools are more reliable for precise lines than trying to force a freehand stroke to be perfectly straight.

Keyboard customisation

Can you change every Xournal++ shortcut?

Xournal++ does not provide a general shortcut editor in Preferences. If you need a custom keyboard accelerator for a toolbar action, the official plugin system can register a menu item and an accelerator. That is a more advanced route because the plugin must use the Lua API and the action name can vary as the project evolves.

For ordinary work, keep a small personal reference beside your notebook: one line for page navigation, one for PDF search, one for your geometry tools and the menu commands you use most. This is less fragile than memorising a long list that may belong to another version or operating system. If a shortcut appears to do nothing, click the canvas first, check that a text box is not active and inspect the current menu accelerator.

Build a routine

Make shortcuts useful in a long notebook

The best shortcut setup is the one that reduces repeated pointer travel. Start a session by confirming the page focus, then use the page sidebar or page controls to move through the document. Use PDF search when you know a word or heading, and use zoom controls when a page contains small formulas or scanned text. For a long lecture notebook, save after a meaningful group of pages instead of relying on an autosave file as your only recovery path.

Geometry shortcuts are most useful when the tool is already selected. Place the setsquare or other geometry object, use the arrow keys for small movement and rotate or scale only after the object is in the right region. If you are drawing a diagram with repeated lines, a shape tool can be faster than correcting freehand strokes. Keep the toolbar visible while learning; hiding controls too early makes it harder to see which mode is active.

Focus and modifiers

Why can the same shortcut behave differently?

Keyboard focus follows the control you last used. A text box, search field, page sidebar or geometry object can receive the next key press instead of the document canvas. When a shortcut behaves strangely, press Escape if appropriate, click the page and try the command again. On macOS, remember that many menu commands use Command where Windows and Linux documentation uses Control; the menu label in your build is the safest reference.

Keyboard workflow

Make Xournal++ shortcuts easier to remember

Xournal++ shortcuts work best when they support a repeatable document workflow rather than replacing every toolbar action. Use navigation and zoom commands while reading a PDF, use search when the background contains selectable text and finish text editing before trying a command that should act on the page. Geometry tools, line segments and a setsquare are more reliable for clean shapes than guessing a universal draw-line shortcut.

When an Xournal++ shortcuts command appears to do nothing, check focus first. A text box, menu, page sidebar or dialog may still own the keyboard input. Click the canvas, confirm the intended tool is active and then try the command again. Keep a small test notebook for shortcuts that depend on a plugin or a particular build, and write down the commands that matter for your work: page movement, undo, search, selection, zoom and export. This Xournal++ shortcuts method avoids a long unverified list and makes the few commands you use every day easier to recover.

For a daily Xournal++ shortcuts routine, choose a short set of commands for save, undo, search, page movement and zoom. Practice those shortcuts in the same notebook until the keys become predictable, then verify any platform-specific shortcut in the menu before teaching it to someone else.

Frequently asked questions

Xournal++ Frequently asked questions

Is there a shortcut to draw a straight line in Xournal++?

Use the shape tool's line segment mode or activate the setsquare and draw along its edge. A toolbar tool is usually more dependable than assuming one global line key.

What is the Xournal++ shortcut to search a PDF?

The official PDF guide lists Ctrl + F for searching text in PDF background pages.

Can I customize Xournal++ keyboard shortcuts?

General keybinding editing is not provided in Preferences. Advanced users can register custom accelerators through a Lua plugin.

Why does a shortcut type into my note?

The text tool or a text edit may still have focus. Finish the text edit, click the canvas and try the command again.