Commit Graph

1068 Commits

Author SHA1 Message Date
Thomas Duckworth
c8f8368651 Support pre-Turing cards OOTB
Automatically determines the kernel module required for a NVIDIA graphics card, then dynamically creates an udev rule which overrides the driver. Adds the udev rule as well as nvidia and nouveau binaries to initrd.

This, essentially, enables support for pre-Turing cards OOTB, by overriding unsupported cards to use Nouveau.
2026-04-14 16:51:43 +10:00
Hadi Chokr
261e5653fb Hotfix CI.
Somewhere after mkosi v26, our pipeline breaks.
2026-04-12 15:01:45 +02:00
Ben Cooksley
31a33db305 Ensure old history cannot be easily re-pushed 2026-04-12 21:38:30 +12:00
Hadi Chokr
84fca25b0e Hotfix: Remove deleted package 2026-04-11 21:02:34 +02:00
l10n daemon script
103f177c46 GIT_SILENT made messages (after extraction) 2026-04-11 00:43:04 +00:00
Thomas Duckworth
610fe4979e Expose Calamares to the AT-SPI registry
This allows Orca to work with Calamares, and enables us to use the AT-SPI bus for automated testing.
2026-04-10 13:07:52 +10:00
l10n daemon script
0af973491d GIT_SILENT Sync po/docbooks with svn 2026-04-10 02:08:27 +00:00
Nate Graham
9c2398e639 Condense packages.conf files into just a few logical layers
1. core includes things that need to remain on the base image.
2. middleware includes support libraries and tools for non-Flatpak
   KDE software
3. kde includes the non-Flatpak KDE software we build
4. apps includes non-Flatpak 3rd-party apps
5. cli includes userspace CLI tools, especially those that work in
   Kapsule, or should, or will

Nothing is added or removed; this is purely a re-arranging.
2026-04-09 21:13:12 +02:00
l10n daemon script
be9b68a42d GIT_SILENT Sync po/docbooks with svn 2026-04-09 02:06:00 +00:00
Yago Raña Gayoso
f2523479b5 osinfo: update link 2026-04-07 20:28:17 +02:00
Daniele Md
87ed687ba3 Added various improvements to zsh config files, part 2
Some more zsh configuration proposed changes:

1. `bindkey '^I' complete-word`: remaps tab key to only suggest completion, not also expand globs. Without this, ls \*\<tab\>, for example, would instantly expand to all files in the current directory, or $HOME would expand to /home/user. This instead would make zsh tab completion behave more like default bash.
2. `setopt hist_verify`: whenever a command has some history expansion, it doesn't instantly run the command, but expands it before. This would be safer, as it allows users to actually see what their actual command is. Counterpoint: for expert users now !!, for example, requires pressing enter twice, but overall i think this slight inconvenience might be worth actually knowing what is going to run before executing it.
3. `setopt auto_cd` : this allows changing directory without typing cd. Instead of 'cd ./project' now one can do './project'. This do would probably be convenient to have enabled by default, and I could not think of big enough cons to not have it.
4. `ZLE_REMOVE_SUFFIX_CHARS=$' \t\n;&|'` and `ZLE_SPACE_SUFFIX_CHARS=$';&|'`: this forces zsh completion to add spaces after completions, instead of removing them when typing some chars, such as ;, &, |. To make an example: typing 'ls /tm\<tab\>\` will result in ls /tmp/. Now if & or | or ; is typed instantly after, zsh will just keep those attached (aka 'ls /tmp&'), which is horrendous to read. With this change, instead, it would add a space in between and thus completing to 'ls /tmp &'. See [Screencast_20260405_153419.webm](/uploads/6ea8ff69758adbb59ea22caecb2599e7/Screencast_20260405_153419.webm)

Also: I have taken the liberty to format the file a little, and move some lines around, so that logically connected configs are close to each other, making the config file easier to read.

P.S: Zsh is a good shell, but damn its defaults are atrocious!
2026-04-07 08:49:35 +10:00
Hadi Chokr
aef6cf6e61 Switch to safer and better kmscon for tty.
Is a better maintained Userspace Alternative to the Kernel Virtual terminals with better security, mouse/touchpad support, scrolling, multi seat, not kernel panicing but restarting, hardware acceleration etc.

Signed-off-by: Hadi Chokr <hadichokr@icloud.com>
2026-04-06 15:01:15 +02:00
Nate Graham
bd14f5c033 Move strace to development and delete debug
It's the only thing in there, and strace is pretty much just a
development tool.
2026-04-05 15:55:04 -06:00
Nate Graham
7015f4cfe1 Don't explicitly ask for libmtp and smbclient in network
kio-extras depends on them, so we'll get them anyway.
2026-04-05 15:55:04 -06:00
Nate Graham
9b28265c49 Don't explicitly ask for freerdp in network
krdp requires it, so we'll get it anyway.
2026-04-05 15:55:04 -06:00
Nate Graham
def1838c84 Move busybox from cli to core
This is something we'll never want to move elsewhere because that
defeats the point of it as an always-available rescue toolkit.
2026-04-05 15:55:04 -06:00
Nate Graham
9e09d57741 Move xdg-desktop-portal-gtk from core to kde-dependencies
It's an optional dependency of plasma-workspace, so it belongs here.
2026-04-05 15:55:04 -06:00
Nate Graham
474a42651d Don't explicitly ask for archlinux-keyring and xsettingsd in core
The former is a dependency of base, while the latter or a dependency of
kde-gtk-config. So we don't need to ask for them explicitly.
2026-04-05 15:55:04 -06:00
Nate Graham
f40f49d781 Move noto-fonts packages from core to kde-dependencies
They're required by KDE software, but strictly speaking unnecessary in
an environment without any KDE software.
2026-04-05 15:55:04 -06:00
Nate Graham
21c00b1261 Move mkinitcpio from core to build
It's only needed for building KDE Linux.
2026-04-05 15:55:04 -06:00
Nate Graham
a0054ba2e4 Don't explicitly ask to install socat
It's already listed in the Arch distro-dependencies file for
kwallet-pam; no need to ask for it again here.
2026-04-05 15:55:04 -06:00
l10n daemon script
c265521dbf GIT_SILENT made messages (after extraction) 2026-04-05 00:42:52 +00:00
Jonas Harer
647a1a14e2 Add a fish-like UX to zsh
This adds and configures the following packages:

* `zsh-history-substring-search` provides a substring search through history and suggests possible arguments
* `zsh-autosuggestions` gives suggestions during typing
* `zsh-syntax-highlighting` colors commands based on their syntax

Resolves #521
2026-04-04 14:22:36 +11:00
l10n daemon script
120d0262b5 GIT_SILENT Sync po/docbooks with svn 2026-04-04 01:47:15 +00:00
Nate Graham
f545b53c07 Remove unused update scripts
Nowadays you can use `updatectl` or Discover. These are unused and
redundant; delete them.
2026-04-03 13:07:29 -06:00
Hadi Chokr
1906f717a9 Revert "Disable auto-chmod feature for now"
This reverts commit 5bc8c980c3

5339ac1fd5 fixed the bug.

Closes https://invent.kde.org/kde-linux/kde-linux/-/issues/576
2026-04-03 18:40:12 +02:00
Hadi Chokr
0d90bcdb08 Hotfix: delete debugroot after making the debug archive and move it out of tempfs-based /tmp to disk-based /var/tmp
This will unbrick the pipeline.
2026-04-03 16:46:05 +02:00
Hadi Chokr
629f02995d Figure out if space is really causing pipeline failures 2026-04-03 09:03:34 +02:00
Nate Graham
b032557a5e Stop trying unsuccessfully to remove rust altogether
cxx-rust-cssparser needs both!
2026-04-02 20:03:41 -06:00
Nate Graham
4bb759baba Stop trying unsuccessfully to remove corrosion
It's needed by cxx-rust-cssparser:

```
error: failed to prepare transaction (could not satisfy dependencies)
:: removing corrosion breaks dependency 'corrosion' required by kde-banana-cxx-rust-cssparser-git
```
2026-04-02 19:22:50 -06:00
Nate Graham
5bc8c980c3 Disable auto-chmod feature for now
It's broken; see https://invent.kde.org/kde-linux/kde-linux/-/issues/576
2026-04-02 12:39:42 -06:00
Hadi Chokr
b7dcc999f5 Add auto-chmod for better UX than "permission denied" for non-executable files
If running a file/script/binary in the CLI without the executable bit set, it will fail with "permission denied", which isn't clear about what happened and is annoying. Instead, have a small stub that asks the user if they want to make the file executable and run it, saving time and keypresses while being clearer about what is happening.
2026-04-01 09:33:30 +02:00
Hadi Chokr
2c86554883 Use long options for gettext 2026-04-01 09:02:21 +02:00
Hadi Chokr
2f60e16d43 Remove double SPDX Header in .gitignore 2026-04-01 09:00:43 +02:00
Nate Graham
96d1fceb8a Document what each of the package lists is for
And, if relevant, when to add things to it and when not to.
2026-03-31 23:01:49 -06:00
l10n daemon script
6c81288876 GIT_SILENT Sync po/docbooks with svn 2026-04-01 01:47:12 +00:00
Nate Graham
f236f97981 Configure cp and rsync to preserve metadata by default
Metadata is data; losing it by accident when using common command-line
tools is data loss.

Let's harden against this by aliasing `mv` and `rsync` to versions of
themselves with metadata-preserving arguments invoked by default,
similar to what we do for `grep` to enable colorized output.
2026-03-31 13:52:54 -06:00
Thomas Duckworth
6f1ccfcbaf Move mimeapps.list mv operation to mkosi.prepare.chroot
I messed up the execution order which ended up removing the shipped kde-mimeapps.list.
2026-03-30 11:27:26 +11:00
Thomas Duckworth
d45cf74d39 Ship our own kde-mimeapps.list file
Allows us to easily assign systemwide default applications for KDE Linux. This is required for Package Compatibility Helper to work, and saves us editing the packaged kde-mimeapps.list in place to set Firefox as the default web browser.

See https://specifications.freedesktop.org/mime-apps/latest/file.html for the lookup order.
2026-03-29 08:53:36 -06:00
Thomas Duckworth
544a4c65fc Enable pwfeedback for sudo
Adds a nice asterisk display when you type your password into sudo.

This might be controversial, but I think this is a useful change because:

- it doesn't undermine security in any realistic way,
- it's slightly more user friendly in general for everyone, and aligns with the expected UX of a standard password entry box,
- it removes a UX hiccup for new users, many of which I have seen get confused about why their password "doesn't type".

If we're striving for mass adoption, this is the type of thing that should be put under the microscope.

Ubuntu does this (unintentionally, since they use sudo-rs), and Zorin OS intentionally does this as they are quite unique in trying to create an end-to-end intuitive UX for your average non-tech savvy person, which is something we should strive to do.
2026-03-29 16:41:48 +02:00
Hadi Chokr
889bb68506 Preinstall cdemu-client for virtual disc drive support
It enables:

- Mounting disc images without burning them to physical media.

- Using image formats that "mount" usually can’t handle well, such as multi-session or mixed audio/data discs.

- Installing or running old games that expect an optical drive.

- Working with non-ISO images like .bin/.cue, .nrg, and .ccd.

- Creating a blank virtual disc for CD/DVD burning software.
2026-03-29 16:41:04 +02:00
Thomas Duckworth
589f9ff3a1 Remove empty file
My mistake - 146bb92c08 left it in place.
2026-03-29 20:48:59 +11:00
Akseli Lahtinen
fb1360015d environment: Add SSH_ASKPASS environment variable, point it to ksshaskpass
Some GUI applications such as Dolphin GIT integration ask for SSH
password during use. This let's those applications know
what our GUI tool for it is.

If this is not set, those applications may fail and expect the
user to enter the SSH key through a terminal prompt, which
is not available in GUI applications.
2026-03-26 22:47:13 +02:00
l10n daemon script
25f3ef842a GIT_SILENT Sync po/docbooks with svn 2026-03-26 01:45:26 +00:00
l10n daemon script
e351b62d39 GIT_SILENT made messages (after extraction) 2026-03-26 00:42:11 +00:00
Thomas Duckworth
3767ae6262 Don't disable user session freezing if nvidia module isn't loaded
nvidia-utils from Arch ships a blanket rule that disables user session freezing on suspend. While this might be necessary on NVIDIA hardware, it's actively warned against by systemd and hence should not be set for everyone else.
2026-03-25 15:48:19 -06:00
Daniele Md
ebc501b72a removed duplicated wordchars in zsh config 2026-03-25 09:00:05 +00:00
l10n daemon script
3fc7b70c6d GIT_SILENT Sync po/docbooks with svn 2026-03-25 01:47:44 +00:00
Vishal Rao
a07511a08c Increase default boot timeout
For people like me with displays that take a few seconds to show the boot menu (mode switch?) leaving little to no time for us to react if we want to, say, select a different entry or edit kernel params.
2026-03-24 10:58:31 -06:00
Yago Raña Gayoso
2fd1d8f84b Calamares: disable cancel during installation
Once the installation step has begun, cancelling it leads to an unbootable system
2026-03-24 09:11:32 -06:00