Home / Alt manpages / scribus(1)

  • scribus(1)
  • User command
  • linux

Open Scribus from the Linux command line without losing control of your files

You will finish with a small, reliable set of shell commands for opening Scribus documents, selecting its interface language, checking fonts and colour profiles, and diagnosing a launch. The examples target the installed Ubuntu package Scribus 1.6.1-0ubuntu7. The local manpage is dated 2010-24-06, so treat its option summary as the contract for the commands shown here and use Scribus's built-in help when your installation behaves differently.

Allow about fifteen minutes. You need Scribus installed, a graphical Linux session, and a readable Scribus document if you want to test opening a file. These commands normally run as your own user. Do not use sudo: Scribus stores user preferences in your home directory, and launching the GUI as root can create root-owned files that your normal account cannot later update.

1. Confirm the installed package and display session

Check which executable the shell will start and record the package version:

$ command -v scribus
/usr/bin/scribus
$ dpkg-query -W -f='${Package} ${Version}\n' scribus-data
scribus-data 1.6.1-0ubuntu7

The package query is read-only. The command must also be able to reach your graphical display. If launching it prints a Qt error about xcb or cannot connect to a display, you are in a headless shell or an incomplete graphical session. Fix that session first. Do not treat a display error as a missing Scribus document or repair it by changing file ownership.

Checkpoint: command -v scribus returns the binary you expect and the package version is recorded before you troubleshoot an option.

2. Ask Scribus for help or its version

Run these from a terminal inside the graphical session:

$ scribus --version
$ scribus --help

--version prints the version and exits. --help prints a brief usage summary and exits. The exact wording varies by release. The installed manpage gives the general command shape as scribus [-h|--help] [-v|--version] [-l|--lang language] [-la|--langs-available] [-f|--file|--] [filename].

If either command fails before printing anything, compare the error with the display check in step 1. A GUI application can fail before it processes an otherwise valid option. The package query remains a useful version check when the graphical session is unavailable.

3. Open a document by path

Pass a Scribus document as an ordinary, quoted argument. An absolute path removes ambiguity about the current directory:

$ scribus /home/your-user/Documents/brochure.sla

The manpage also supports the explicit --file form:

$ scribus --file /home/your-user/Documents/brochure.sla

Use the first form for a normal filename. Use -- when the filename itself begins with a hyphen, so Scribus does not interpret it as an option:

$ scribus -- -cover.sla

Quote paths containing spaces:

$ scribus --file '/home/your-user/Client work/brochure.sla'

Replace the example paths with files you have actually checked. A failed open is often a spelling, permission or format problem. Inspect the path without changing it:

$ test -r '/home/your-user/Client work/brochure.sla' && echo readable
readable

A successful test only proves that your account can read the file. It does not prove that the document is intact. Keep the original file until it has opened and you have checked its pages, linked assets and fonts.

4. Select the interface language for one launch

Use --langs-available to see the interface translations available in this installation:

$ scribus --langs-available

Then select a language with its short POSIX-style code:

$ scribus --lang en_GB /home/your-user/Documents/brochure.sla

The manpage lists codes such as en, en_GB, en_US and de_DE. The exact available list belongs to your installation, so copy a code from --langs-available rather than guessing. This changes the interface for that launch; it does not translate the document's text.

Scribus uses LC_ALL, then LC_MESSAGES, then LANG when choosing the language. If none is set, Qt supplies the fallback locale. If a shell wrapper or desktop launcher sets one of these variables, it can explain why two launches show different interfaces.

5. Diagnose fonts and colour profiles

When text has missing glyphs or output colour looks wrong, ask Scribus to print its diagnostic listings during startup:

$ scribus --font-info
$ scribus --profile-info

--font-info shows the font file listing as Scribus starts. --profile-info shows the colour profiles Scribus can use. These are inspection commands, not fixes. Save the terminal output if you are comparing two machines or reporting a missing resource.

Scribus uses Fontconfig paths such as /etc/fonts, $HOME/.fonts and $HOME/.fonts.conf, and it can also have an internal font path configured in Preferences. Ghostscript-related operations can search PATH, GS_FONTPATH and GS_LIB. If more than one gs is installed, set an absolute Ghostscript path in Scribus Preferences rather than relying on whichever executable happens to appear first in PATH.

Checkpoint: run the relevant listing, then check the actual font or profile in Scribus before changing a system directory. Do not copy fonts into /etc/fonts merely because one document reports a missing glyph.

6. Control startup noise and preferences carefully

--no-splash suppresses the splash screen for one startup:

$ scribus --no-splash /home/your-user/Documents/brochure.sla

--prefs selects a preferences file for the launch. Use a copy when testing a suspected preference problem, not your only working file:

$ cp --preserve=mode,timestamps "$HOME/.config/scribus/prefs150.xml" /tmp/scribus-prefs-test.xml
$ scribus --prefs /tmp/scribus-prefs-test.xml /home/your-user/Documents/brochure.sla

The copy is temporary test state. Remove it after testing only when you no longer need its evidence. Do not edit the XML by hand unless you have a specific recovery reason. Scribus preferences are normally under $HOME/.config/scribus/; the manpage names scribus150.rc and prefs150.xml for the 1.5.x family.

--never-splash is different from --no-splash: it writes an empty .neversplash file under $HOME/.config/scribus. That is a persistent change. Before using it, back up the existing configuration directory; to undo the setting, close Scribus and remove that specific .neversplash file if it exists. Do not remove the whole preferences directory as a first troubleshooting step.

7. Use scripting and update checks only deliberately

The manpage supports --python-script followed by a script and optional arguments. It must be the last Scribus option:

$ scribus --python-script /home/your-user/bin/check-layout.py -- /home/your-user/Documents/brochure.sla

Only use a script you have inspected and trust. A Scribus Python script can change documents or write files, and arguments after it belong to the script. Keep a backup of any document a script may modify. If you are only opening a document, omit this option.

--upgradecheck downloads a file from the Scribus server describing available versions. It is a network operation, not a local version check. Use it only when that outbound request is acceptable on your machine and network. It does not upgrade Scribus, and it does not replace your distribution's package update process.

8. Keep the command line separate from persistent changes

The command-line options above mostly affect one launch. Opening a document does not save it automatically, and closing Scribus without saving leaves the source file as it was. The exceptions worth treating carefully are --never-splash, preference selection and any script that writes state.

If a launch behaves unexpectedly, return to a known state: close Scribus, stop using the test preferences file, and start the original command without optional flags. If you changed a document through the GUI or a script, use Scribus's own undo or reopen the untouched backup. Do not overwrite the only copy with shell redirection or an unreviewed automation script.

Done means

  • You confirmed the executable and recorded the installed package version.
  • You can open a normal document path and a path that begins with a hyphen.
  • You know where --file, --lang and --langs-available fit in the launch command.
  • You can inspect font and colour-profile listings without changing system configuration.
  • You can distinguish one-launch options from the persistent --never-splash change.
  • You keep backups before running scripts or changing a document.