Commit Graph

1006 Commits

Author SHA1 Message Date
l10n daemon script
ea46e74521 GIT_SILENT Sync po/docbooks with svn 2026-03-19 01:48:55 +00:00
l10n daemon script
e74342bb5a GIT_SILENT made messages (after extraction) 2026-03-19 00:43:22 +00:00
Nate Graham
3ab95cffdf Don't re-show the bootloader for < 5 minute sessions
This isn't necessarily evidence of instability.

Related to #471
2026-03-18 17:17:45 -06:00
Nate Graham
1d7b2ee03f Make command-not-found handler translatable
Resolves #390
2026-03-16 13:29:52 -06:00
Nate Graham
f779bfd634 Update comment for systemd-oomd configuration
Amends a5013bdd66
2026-03-15 23:04:23 -06:00
Nate Graham
a5013bdd66 Lower memory pressure OOM condition from 30 seconds to 10
In conjunction with the default SwapUsedLimit value of 90%, we almost
never actually OOM, and instead freeze.

Reduce the time-based condition from 30 seconds to 10 so we OOM faster
in a true swap exhaustion situation. 30 seconds is so long the user may
force-restart the system, risking damage to the disk.
2026-03-15 16:52:42 -06:00
Nate Graham
44b02eae7e Improve logging defaults
- Cap default log file space usage at 500 MB, down from 4 GB (no normal
  person cares about having this many logs more than their own files)
- Don't log spammy debug and info messages in Qt software by default
- Wrap long lines in `journalctl` output so you can actually see them,
  and copy them for debugging elsewhere
2026-03-15 15:55:06 -06:00
Nate Graham
6dae4285b8 Use saner zram settings
Right now we use very aggressive settings, over-provisioning zram to
200% of the physical RAM in an attempt to effectively double the memory.
Unfortunately this doesn't work for a few reasons:
1. Not all memory is compressible.
2. Not preserving enough uncompressed working memory causes frezes and
   stalls even when zram doesn't look full.
3. Such a large zram size means systemd's OOM killer never thinks the
   system is close to running of memory even when it's frozen due to 1
   and 2.

Helps with #552
2026-03-15 15:43:15 -06:00
Nate Graham
4a36e787f3 Pre-install networkmanager-vpn-plugin-sstp
It's another VPN type that NetworkManager supports!

Part of "Batteries included".
2026-03-14 23:01:23 -06:00
Nate Graham
ca5d056115 Install only VPN plugin version of NetworkManager VPN packages
We don't need their full GUIs; plasma-nm includes its own for them.
2026-03-14 23:00:31 -06:00
Nate Graham
3e6317e96d Make hunspell work by installing the en_us language package
Ultimately we need a facility to download all the others as needed. For
now at least include en_us, same as we did for Tesseract which also
requires at least one language package to work.

Resolves #385
2026-03-14 21:47:57 -06:00
Nate Graham
a0722b24a3 Remove aspell
We don't need both hunspell and aspell; both do the same thing. Hunspell
appears to be much more actively maintained and also more widely used
(Firefox and LibreOffice, for example), so let's keep it and ditch
aspell.
2026-03-14 21:47:57 -06:00
Nate Graham
3b90c0067f Remove hspell
This is only for Hebrew, and we generally aren't including
non-English single-language-specific packages right now. For example we
don't include grammalecte which is only for French, or voikko for
Finnish.

This will be a part of the "how do I download missing components?"
story later.
2026-03-14 21:47:08 -06:00
Nate Graham
aa17d05645 Add a few optional dependencies of KDE software that we missed
Found while auditing our dependencies. We generally follow the rule to
pre-install optional dependencies (where it makes sense), so include
these.

They're all tiny, so this increases the image by only a few megabytes.
2026-03-14 21:26:07 -06:00
Nate Graham
3e8c49eec8 Remove last vestiges of AppArmor
We were installing some optional dependencies of aa-notify, but that's
gone now, so remove the dependencies.
2026-03-14 20:34:06 -06:00
Nate Graham
018fc0f728 Remove listed KDE dependencies that are mandatory
We don't need to ask for them here; they get pulled in automatically by
virtue of being mandatory dependencies.
2026-03-14 20:22:57 -06:00
Nate Graham
3893b49f21 Move systemd-bootchart to cli tools
It has non-developer utility.
2026-03-14 17:48:16 -06:00
Nate Graham
2b98820443 Move qt6-multimedia-ffmpeg to kde-dependencies
We only have it because of a few pre-installed KDE apps; make that clear
by moving it to the semantically correct place.
2026-03-14 17:30:03 -06:00
Nate Graham
531657b971 Migrate contents of 00-packages-sysinfo to more appropriate locations
Everything in here is a runtime dependency of KDE software, a hardware
enablement package, or a discretionary  userspace CLI tool. Move it all
to the files for those things.
2026-03-14 17:06:52 -06:00
Hadi Chokr
105cd5ecbc Put ~/.local/bin in PATH
Splits it out of the /opt/local MR to get this merged more easily.

Closes https://invent.kde.org/kde-linux/kde-linux/-/issues/381
2026-03-14 14:58:05 +01:00
Jonas Harer
053a8722fd Increase the timeout of the Calamares subvolume-script
30 minutes -> 1 hour; should handle slow hardware better.

Closes #513
2026-03-13 14:31:48 -06:00
Nate Graham
4cb05b277a Use DKMS version for acpi_call
This way it works with our Zen kernel.
2026-03-11 20:00:10 -06:00
Nate Graham
37232b8b25 Correct typo in zram generator
No whitespace here!
2026-03-11 19:56:18 -06:00
Nate Graham
87a7c1bca9 Pre-install acpi_call
May be needed to interact with low-level hardware for testing and
device-specific workarounds.
2026-03-11 19:54:35 -06:00
Nate Graham
0f95c40d21 Use level -4 for our Btrfs disks' zstd compression
It's amazing! We trade off an 18% lower compression ratio for 20-31%
faster compression and 30-44% faster decompression speed and an
undetermined amount less CPU usage.

Relevant benchmarks:

https://github.com/facebook/zstd:
Algorithm  Ratio   Compr.      Decompr.
----------------------------------------
zstd:1     2.883   510 MB/s    1550 MB/s
zstd:-4    2.146   665 MB/s    2050 MB/s
LZO1X      2.106   650 MB/s     780 MB/s

https://morotti.github.io/lzbench-web:
Algorithm  Ratio   Compr.      Decompr.
----------------------------------------
zstd:1     2.886   422 MB/s    1347 MB/s
zstd:-4    2.436   459 MB/s    1717 MB/s
zstd:-5    2.055   573 MB/s    1950 MB/s
LZO1X      2.101   513 MB/s     696 MB/s

Nate's computer:
Algorithm  Ratio   Compr.      Decompr.
----------------------------------------
zstd:1     2.85    394 MB/s    1343 MB/s
zstd:-1    2.33    431 MB/s    1680 MB/s
zstd:-4    2.13    507 MB/s    1881 MB/s
zstd:-5    1.94    542 MB/s    1916 MB/s
LZO1X      2.05    468 MB/s     616 MB/s
2026-03-10 16:06:07 -06:00
Thomas Duckworth
1bed0230c9 Remove the explicitly increased nofile limit
This is best practice, as per https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#Process%20Properties, and increasing the limit isn't necessary in the majority of cases.

See https://invent.kde.org/kde-linux/kde-linux/-/merge_requests/279#note_1412656
2026-03-11 07:39:48 +11:00
Nate Graham
6a7a5443c9 Fall back to zstd for incompressible zram pages
We default to lz4 which is mega fast but doesn't have the best
compression. We can get closer to having the best of both worlds by
telling the zram config to fall back to zstd for any huge pages that
lz4 couldn't compress. zstd's default level is slower but has great
compression, so it's quite suitable for this purpose.
2026-03-10 08:12:13 -06:00
Nate Graham
1a3cb82819 Pre-install udisks2-btrfs for better udisks support 2026-03-09 20:15:43 -06:00
Nate Graham
bc26293471 Pre-install realtime-privileges package to get more RT configs
We already set a few realtime-friendly settings in /etc/security and
/usr/lib/systemd, but these are not enough for truly realtime workflows
like audio creation. For these they also need adequate defaults for the
`rtprio` and `nice` values.

Arch's `realtime-privileges` package lays down a config file that gives
these to users in the "realtime" group. We don't put new users in that
group because not every user will need it, but we can at least write
some documentation around the topic.
2026-03-08 12:02:46 -06:00
Nate Graham
f7e76c777b Move git from dev conf to cli conf
It's so commonly used by experts and power users (e.g. cloning random
github repos) that it's graduated to being a general-purpose tool these
days.

This has no effect right now, but will result in us keeping git in the
base image should we ever move the dev tools into an on-demand extension
or something.
2026-03-08 12:01:30 -06:00
Nate Graham
a5cacd6536 Alphabetize package lists
GIT_SILENT
2026-03-08 11:35:55 -06:00
Nate Graham
eacce3ed0c Move license/copyright info inline for 60-usb-dirty-pages-udev.rules
GIT_SILENT
2026-03-08 09:29:09 -06:00
Yago Raña Gayoso
09a1c05bba README: Update link to installation instructions 2026-03-08 12:34:58 +00:00
Philipp Slusallek
744b86bd4d Added virtiofsd package for access to host folders from both virt-manager and incus VMs. 2026-03-08 12:32:55 +00:00
Nate Graham
d963aee8cb Work around upstream AMD driver issue
Many AMD systems are affected by a total system freeze that requires a
hard reboot. This is reported upstream at
https://gitlab.freedesktop.org/drm/amd/-/issues/4831 (and others; they
haven't been properly triaged and merged into one).

It's been going on for months with no fix in sight. Given the severity
of the issue, work around it by setting `amdgpu.dcdebugmask=0x10` in
the kernel command line, which disables panel self-refresh. The
consequence will be slightly higher power usage, but this seems worth
it to avoid system freezes and hard reboots.
2026-03-03 06:13:11 -07:00
l10n daemon script
6a8ac43eea GIT_SILENT made messages (after extraction) 2026-03-03 00:43:58 +00:00
Daniele Md
dfc79a4716 Add various improvements to zsh config files
This merge requests contains some changes to zsh configuration files:

* `/etc/skel/.zshrc` now checks if `/usr/share/zsh/plugins/kde-linux-default/kde-linux-default-zshrc.zsh` exists before sourcing it. This is useful to avoid error messages when user create a container that shares the home directory
* I have added key binding for **Page Up** and **Page down** to scroll through commands that start with user has currently typed. This is default behaviour in bash (at least in some distro, such as fedora), and I personally think it can be very useful
* I have added a key binding for **Control+Delete** to delete the next word
* I have slightly **modified zsh prompt** to make the current location path be colored in cyan, and when truncated, now it adds a `…/` prefix, to make it obvious the path was truncated
* I have **disabled tab cycling** through completion suggestions. This would imitate the default behavior in bash, and I personally think it's more ergonomic. For example, who hasn't pressed tab multiple times because the completion is being slow, and in bash it's ok because the prompt hasn't changed, but in zsh or fish this means that you are getting a completion that might not have been the one you intended, and now you need to undo that.
* I have **added a few aliases**, to make ls and grep have colored output by default, and to add ll, la, lla as shortcuts for useful ls commands (those are all aliases that debian based distros such as ubuntu have in their bashrc files)
2026-03-01 05:49:37 -07:00
Guilherme Marçal Silva
e2e9866dd7 Let Flatpak download all language files at once
Basically we'll set `flatpak config --set languages "*"` which should allow Flatpak to download every language pack available into the image. This should allow translated Flatpak apps on non-english systems.
Fixes #500
2026-02-28 14:36:49 +01:00
Vishal Rao
e9257ac425 Set default hostname correctly
Not like https://invent.kde.org/kde-linux/kde-linux/-/merge_requests/426 which wasn't working.

Now default hostname is `kde-linux` post install but requires https://invent.kde.org/plasma/plasma-setup/-/merge_requests/94 to allow users to still choose
2026-02-27 06:38:08 +00:00
l10n daemon script
bb3998b8f1 GIT_SILENT made messages (after extraction) 2026-02-27 00:41:51 +00:00
Vishal Rao
c41db34df3 Set hostname to kde-linux
plasma-setup currently skips hostname UI if non-default but i open an MR there to always show the ui.

https://invent.kde.org/plasma/plasma-setup/-/merge_requests/94
2026-02-26 15:05:08 +00:00
Hadi Chokr
3086ceda9b Final Hotfix 2026-02-25 18:30:28 +00:00
Hadi Chokr
ea050a7fa5 Hotfix: Upload Artifacts even when test fails 2026-02-25 16:43:51 +00:00
Jonas Harer
f5d1fec349 Added more commands to the command-not-found handler
This adds some more package-managers to the command-not-found handler and
adds a way to detect if two or more missing commands belong to the same
program.
2026-02-25 08:02:50 -07:00
Hadi Chokr
4b43c460bc Revert "Final MR Cleanup"
This reverts commit 2df0b40a9f
2026-02-25 12:59:29 +00:00
Hadi Chokr
2df0b40a9f Final MR Cleanup 2026-02-25 11:12:43 +00:00
Hadi Chokr
be432ce532 Hotfix: Fix Relative Path 2026-02-25 10:37:02 +00:00
Hadi Chokr
acf2a82511 Hotfix a final time before reverting. 2026-02-25 10:19:00 +00:00
Hadi Chokr
bb550fc9cd Hotfix: Own as the Build User 2026-02-25 11:04:22 +01:00
Hadi Chokr
c6b874ae3e Hotfix: New Output Dir in upload.sh 2026-02-25 09:33:55 +00:00