Guides › Desktop and apps
Run Linux distros and Linux programs
Install a Linux distro such as Ubuntu or Debian, open its terminal, share files with it, set its limits, and run Linux programs.
Sovereign OS runs Linux programs directly. You don't need a virtual machine. The easiest way to use them is to install a Linux distro: a complete Linux system, such as Ubuntu, with its own files, programs and package manager. Each distro runs on Sovereign OS with its own files, processes and host name (the name it uses on the network).
Before you start
- You need an internet connection to download a distro. Each one comes from its publisher's own servers.
- Distros take disk space. Ubuntu, Debian, Fedora, Alpine and Arch start small, but grow as you install programs into them.
Install a distro
You can do this from the Store or from the Linux environments app. Both do the same thing.
From the Store
- Open Store.
- Click Linux on the left.
- Click Get next to the distro you want.
- The Linux environments app opens and installs it. A window shows the progress.
From the Linux environments app
- Click Start, type Linux environments and press Enter.
- Click Get a distro on the left. (If you have no distros yet, this page opens by itself.)
- If you want, type a name in Name for the new distro. Leave it empty to use the distro's own name.
- Click Install next to the distro.
- Wait while it downloads, checks and unpacks the files. Click Cancel to stop.
The distros you can get are:
| Distro | Version |
|---|---|
| Ubuntu | 24.04 LTS |
| Debian | 12 |
| Fedora | latest |
| Alpine Linux | latest stable |
| Arch Linux | rolling |
Every download is checked before it is unpacked: against the publisher's published SHA-256 sums (a fingerprint of the file) always, and against the publisher's signature where one is published. A damaged or changed download is refused.
Open a distro's terminal
Any of these work:
- Click Start, type the distro's name (for example ubuntu) and press Enter. Each distro has its own entry in Start that opens a terminal inside it.
- In Linux environments, click the distro on the left, then click Open terminal.
- In the Terminal, click Connect to Linux in the tab strip. It opens a new tab in a running distro. With several distros running, it lists them.
Inside the distro's terminal, Linux commands work as usual: ls, apt install, dnf install, apk add and so on, depending on the distro.
ls, it tells you so and points to Connect to Linux.Make the Terminal open the distro by default
- Open Settings > System > Advanced > Terminal.
- Choose the Linux distro shell instead of the Sovereign shell.
New Terminal windows then open in your default distro. You can still open either kind in a new tab from the list under the + button (right-click it, or press Ctrl+Shift+P).
Start, stop and pause a distro
In Linux environments, click the distro on the left. At the top of its page:
- Start starts it, and Stop stops it.
- Pause freezes everything running in it, and Resume carries on.
- Make default makes it the distro that new terminals and Connect to Linux use first.
Below the buttons you see how many Processes are running, how much Memory it uses, how much space its Files take, and how long it has been Running for.
Share files between Sovereign OS and a distro
- To see a distro's files from Sovereign OS, click Open files on its page. Files opens on the distro's folders. Files also has a Linux entry in its navigation pane once a distro is installed.
- Your Documents, Downloads and Pictures folders show up inside the distro at
/mnt/home/Documents,/mnt/home/Downloadsand/mnt/home/Pictures. This is on at first. Only these three folders are shared, and only yours: no other account's files are ever shown. - The folders are those of the account at the screen. When you sign out or someone else signs in, your folders leave the distro at once, and Linux programs that still have one of your files open are closed. The next person sees only their own folders.
- To stop sharing them, turn off Share my Documents, Downloads and Pictures in the distro's settings, then stop and start the distro.
Copy and paste between Sovereign OS and Linux programs
Copy text or a picture in a Linux program and paste it in a Sovereign OS app, or the other way round. Text and PNG pictures are shared. This is on at first.
Linux programs can only read the clipboard when you paste into them, and only change it when you copy in them: a program in the background cannot see what you copied or replace it.
To keep the distro's clipboard separate, turn off Share the clipboard in the distro's settings. Linux programs can then still copy and paste among themselves.
Run graphical Linux programs
Linux programs with windows open as normal Sovereign OS windows, with a title bar, a taskbar button and the usual minimize, maximize and close buttons. Nothing needs to be set up. This works for programs that use Wayland, the modern Linux way of showing windows; most current programs do.
- Open the distro's terminal.
- Install a program with the distro's package manager, for example
sudo apt install gnome-text-editor. - Type its name, for example
gnome-text-editor, and press Enter. Its window opens on your desktop.
When you sign out, the Linux programs' windows close.
What does not work yet: dragging and dropping, the program's own mouse pointer picture, and keyboard use in a program's menus (use the mouse). Some programs draw their own title bar inside the window.
Older programs (X11)
Some older programs use X11, the older way of showing windows. They run through Xwayland, a free program you install in the distro:
- In the distro's terminal, type
sudo apt install xwaylandand press Enter. - Type
Xwayland :1 -geometry 1280x800 &and press Enter. A window opens: X11 programs show inside it. - Start the program with
DISPLAY=:1in front, for exampleDISPLAY=:1 xterm.
Android apps
Android apps do not run on Sovereign OS yet. The first piece that Android needs is built, but you cannot install or open an Android app today.
Change a distro's settings and limits
On the distro's page in Linux environments, under Settings:
| Setting | What it does |
|---|---|
| Host name | The distro's name on the network |
| Terminal user | The user its terminal signs in as. Empty means root, the all-powerful Linux user |
| Command at start | A command that runs each time it starts, for example service ssh start |
| Size limit for its files | The most disk space it may use, from 8 GB to 256 GB, or No limit |
| Memory limit | The most memory it may use, from 512 MB to 16 GB, or No limit |
| Processes at once | The most programs it may run at the same time |
Switches below them:
- Start when the computer starts
- Share my Documents, Downloads and Pictures (inside the distro, at
/mnt/home) - Share the clipboard (copy and paste between the distro and Sovereign OS)
- Start the distro's services (background programs the distro normally starts)
- Write network settings (resolv.conf, hosts) so the distro can reach the internet with your PC's settings
Click Save. If the distro is running, the host name and start command take effect the next time it starts.
Save a copy of a distro (export)
- On the distro's page, find Save or remove.
- In Save its files as, type where to save the file, for example
C:\Accounts\you\Documents\ubuntu.tar.gz. - Click Export.
You can bring this file back later with Import, on this PC or another one.
Import a distro from a file
- In Linux environments, click Import on the left.
- In Archive, type the path of the file, with its drive letter, for example
C:\Accounts\you\Downloads\rootfs.tar.gz. The file can be a.tar,.tar.gz,.tar.xz,.tar.zstor.tar.bz2of a Linux root file system (the whole set of a Linux system's folders). - In Name, type a name for the distro.
- Click Import.
Remove a distro
- Stop the distro first.
- On its page, click Remove this distro.
- Click Delete to confirm, or Keep it to change your mind.
Manage distros from the Terminal
In the Sovereign shell, the distro command does the same jobs:
distrolists your distros. The default one has a star.distro --install ubuntudownloads and installs Ubuntu (alsodebian,fedora,alpine,arch).distro ubuntuopens the distro's shell in the current tab.distro --start ubuntuanddistro --stop ubuntustart and stop it.distro -hshows every option.
Run a single Linux program
Ordinary 64-bit Linux programs that carry everything they need in one file (static programs) run on Sovereign OS without a distro. To run one, open the Terminal and type & followed by the program's path in quotes, for example:
& "C:\Accounts\you\Downloads\hello"
Programs that need a distro's shared libraries should be run inside a distro instead.
If something goes wrong
- The distro's page shows an error under its name. Read the message, then click Start to try again.
- "Stop (name) first." You tried to remove a running distro. Click Stop, then remove it.
- "There is already a distro called (name)". Type a different name.
- Import says the file was not found. Type the full path with the drive letter, such as
C:\Accounts\you\Downloads\rootfs.tar.gz. - The distro can't reach the internet. Turn on Write network settings (resolv.conf, hosts), click Save, then stop and start the distro.
- Linux environments or the Terminal is turned off. Your organization has turned it off. Ask your administrator.
Still stuck? Search the help center or contact support.