Skip to content

Keyboard and mouse

Keys Does
Ctrl+K Search every command
Ctrl+O Open an image or OME-Zarr
Ctrl+Shift+O Open a project
Ctrl+Shift+S Save the project in a folder
Ctrl+N New project
Ctrl+Z, Ctrl+Shift+Z Undo, redo
Ctrl+1 / 2 / 3 Explore, Pipeline, Analyze
Ctrl+[, Ctrl+] Left panel, right panel
Ctrl+R Rulers
Ctrl+, Settings
Del Delete the selected shapes
Space (held) Move the image with any tool
F Fit the image (or the graph, in Pipeline)
[, ] Brush size
Ctrl+=, Ctrl+− Brush size (Brush, Eraser, Wand)
+, − Zoom in, out
Ctrl+Q Quit

Tool keys are listed in Explore. On macOS, Cmd stands for Ctrl.

Two files in the configuration folder (~/.config/lucem/ on Linux, %APPDATA%\lucem\ on Windows) hold what you can change by hand. Both are written at the first start with every default, so you see what there is; delete a line to go back to its default.

keybindings.toml: a key, or a list of keys, per command; "" removes a binding. Read when the app starts.

[commands]
"file.open_image" = "secondary-o" # secondary: Ctrl, or Cmd on macOS
"view.left" = ["secondary-[", "f2"]
[canvas]
toggle_sidebar = "tab" # hide or show both side panels, on the image

Keys are written as secondary-shift-o, ctrl-shift-o, alt-g, space, left, f3, +. A key that cannot be read, or one key on two commands, is named in the status bar and the default is kept.

settings.toml: the look, the compute runtime and the Segment tool’s model. The Settings screen writes the same file and keeps your comments; an edit made outside applies while the app runs (the runtime at the next start).

[appearance]
theme = "dark" # "system" | "dark" | "light"
accent = "app" # "app" or a colour as "#rrggbb"
font_size = 15.0
pasteboard = "grey" # around the image: "grey" | "dark" | "light"
[compute]
runtime = "automatic" # "automatic" | "wgpu" | "cuda" | "cpu"
tile_threads = 0 # 0 is the machine's cores, at most 8
[models]
segment = "" # a plugin's model id; "" is the plugin's default