Salta fins al contingut

Ajudeu a desenvolupar KDE Linux

L'equip de KDE Linux sempre aprecia l'ajuda per a fer créixer el KDE Linux com a sistema operatiu del futur!

  • Per parlar amb els desenvolupadors de KDE Linux, utilitzeu Matrix.
  • Per a proposar canvis, envieu una petició de fusió a un dels repositoris git pertinents.
  • Per a informar de problemes en el propi sistema operatiu KDE Linux (és a dir, disseny del SO, integració, serveis del sistema, etc.), utilitzeu invent.kde.org, i ignoreu el rètol roig d'advertència a la part superior de la pàgina.
  • Per a informar de problemes a Plasma de KDE o de qualsevol aplicació de KDE, utilitzeu bugs.kde.org.
  • Per a obtindre ajuda amb alguna cosa relacionada amb KDE Linux, utilitzeu discuss.kde.org, i etiqueteu la publicació amb «kde-linux».

Imatges d'IC

Comproveu el registre de construcció de la canonada. Hauria d'esmentar on s'han publicat les imatges.

També podeu navegar per les imatges des d'aquí.

Millorar la velocitat de construcció local

Per tal d'accelerar les construccions locals, creeu un fitxer mkosi.local.conf a l'arrel del repositori amb el contingut següent:

[Content]
Environment=LOCALE_GEN="en_US.UTF-8 UTF-8" # substituïu pel vostre «locale»
Environment=MIRRORS_COUNTRY=vos # substituïu pel vostre codi de país
Environment=PARALLEL_DOWNLOADS=50 # si la connexió amb Internet és ràpida

Heu d'utilitzar la unitat d'emmagatzematge Btrfs del «docker», en cas contrari això no funcionarà.

Si el sistema de fitxers amfitrió utilitza Btrfs (com el KDE Linux), afegiu el següent a /etc/docker/daemon.json

{
  "storage-driver": "btrfs"
}

Documentació oficial del «docker» que explica això es pot trobar aquí.

Si no utilitzeu Btrfs a la vostra màquina amfitrió, encara podeu crear un volum Btrfs sobre un fitxer semblant a això:

systemctl stop docker.socket docker.service || true
fallocate -l 64G /store/docker.btrfs
mkfs.btrfs /store/docker.btrfs
[ -d /var/lib/docker ] || mkdir /var/lib/docker
mount /store/docker.btrfs /var/lib/docker
systemctl restart docker.socket docker.service

Després executeu:

./build_docker.sh --incremental

Building Custom System Images

You can generate custom KDE Linux images to test package integrations or system modifications locally. The build process uses mkosi wrapped in a Docker container.

To include custom packages, add the desired package names to the relevant configuration files (such as the [Packages] section in mkosi.conf or the specific .packages files) before running the build script.

Run the build with:

./build_docker.sh

Once the build finishes successfully, the output will be a .raw image file located in mkosi.output/.

Quick Testing with Virt-Manager

The fastest way to test your changes is to boot the .raw image directly as an existing disk in a Virtual Machine, bypassing the full installation process.

  1. Open Virtual Machine Manager and start the New Virtual Machine wizard.
  2. Select Import existing disk image and choose your generated .raw file.
  3. Allocate at least 4GB of RAM and 2 CPU cores.
  4. Important: In the VM configuration, ensure the Firmware is set to UEFI and Secure Boot is disabled.

For a more permanent setup or instructions on using other virtualization tools like VirtualBox or UTM, refer to the Installing in a Virtual Machine guide.


Article escrit per , i d'acord amb la llicència CC-BY-4.0.