Extensions
The system of Sengu is a read-only image. A system extension adds programs to it: drivers, tools and services that are not in the image. Extensions run as root, so only an administrator can install them.
For desktop apps, use Apps instead. Apps from Flathub do not change the system.
Open the page: press Super+Escape and choose Extensions.
Install an extension
- Under Available, find the extension. Type a word in the search field to find it faster.
- Click Install.
- Wait until the page shows it under Installed.
Sengu turns the extension on at once and at every start. If the extension has a service, Sengu starts it.
Sengu compares the files of the extension with the system before it turns it on. If the extension replaces a file of the system, the page asks Replace system files?. Click Install anyway only if you know why the extension does this: it can break the desktop.
Turn an extension off, or remove it
Under Installed:
- Click Turn off to stop the extension. It stays on the disk. Click Turn on to use it again.
- Click ⋯ next to it, then Remove, to turn it off and delete it. You can install it again from the catalog.
Use the terminal
| Command | What it does |
|---|---|
sengu ext | List the installed extensions. |
sengu ext browse | List the extensions that you can install. |
sengu ext info NAME | Show the description, the versions and the files of an extension. |
sengu ext install NAME | Install an extension. |
sengu ext disable NAME | Turn an extension off. |
sengu ext remove NAME | Remove an extension. |
Where extensions come from
The page reads the catalogs in /etc/sengu/extensions.conf: first the catalog of Sengu, then the one of Hadron. The page needs a network to read them.
An example is modemmanager, which adds support for mobile broadband modems. See Mobile broadband.
Type Chinese, Japanese and Korean
The fcitx5 extension adds input methods: Pinyin for Chinese, Anthy for Japanese and Hangul for Korean. It works on every desktop and in Flatpak apps.
- Install the extension Input methods, or type
sengu ext install fcitx5in a terminal. - Log out and log in again.
- Press Ctrl+Space to turn the input method on or off.
The fcitx5 icon in the panel shows the input method. Click it to change to another input method.
At the first login, Sengu adds the input method of your language. If your language is not Chinese, Japanese or Korean, it adds all three.
To choose the input methods, use the terminal:
| Command | What it does |
|---|---|
sengu input-method | Show the input methods and if fcitx5 runs. |
sengu input-method set pinyin hangul | Use only Pinyin and Hangul, after your keyboard layout. |