Commit Graph

1073 Commits

Author SHA1 Message Date
Hadi Chokr
6dbd20b0a9 remove old runtime dep 2026-04-07 09:44:01 +02:00
Hadi Chokr
44c4244e0d Ups. 2026-04-07 09:44:01 +02:00
Hadi Chokr
a779a4bc18 Make kjar-install a proper program 2026-04-07 09:44:01 +02:00
Hadi Chokr
8f599c78c7 Set gettext as explicit dependency. 2026-04-07 09:44:01 +02:00
Hadi Chokr
cff23371dc Gettext in Bash. 2026-04-07 09:44:01 +02:00
Hadi Chokr
7f5572f258 Readd Integration. 2026-04-07 09:44:01 +02:00
Hadi Chokr
2d094068dd Apply review comments. 2026-04-07 09:44:01 +02:00
Hadi Chokr
8998e3c166 Let the User see the UI. 2026-04-07 09:44:01 +02:00
Hadi Chokr
0f31b91d92 WIP: Binfmt for .jar files 2026-04-07 09:44:01 +02:00
Hadi Chokr
df42a626fc Use a Notification that can be updated. 2026-04-07 09:44:01 +02:00
Hadi Chokr
bbd8257e84 Let the Flatpak mask. 2026-04-07 09:44:01 +02:00
Hadi Chokr
ca98bd2850 Let mask call flatpak run org.kde.kjar --generate-wrappers 2026-04-07 09:44:01 +02:00
Hadi Chokr
c9295afedb Add a mask function. 2026-04-07 09:44:01 +02:00
Hadi Chokr
d543066548 Fix REUSE CI. 2026-04-07 09:44:01 +02:00
Hadi Chokr
536b63c084 java: add kjar with on-demand installation 2026-04-07 09:44:01 +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