Compare commits

...
Sign in to create a new pull request.

18 commits

Author SHA1 Message Date
b8c1977874 Revert "add xorg-x11-xinit-session"
All checks were successful
os / build (push) Successful in 12m26s
This reverts commit 01cb23083b.
2026-06-30 16:36:26 -03:00
6ecad0c5c4 Revert "SE policy test"
This reverts commit 73798e518e.
2026-06-30 16:36:09 -03:00
73798e518e SE policy test
All checks were successful
os / build (push) Successful in 11m6s
2026-06-30 16:00:36 -03:00
01cb23083b add xorg-x11-xinit-session
All checks were successful
os / build (push) Successful in 11m9s
2026-06-30 15:44:47 -03:00
5ed5474c79 remove redshift
All checks were successful
os / build (push) Successful in 10m50s
2026-06-30 14:24:36 -03:00
bf6c8088a9 try to fix crash when logging in
Some checks failed
os / build (push) Failing after 1m5s
2026-06-30 14:19:13 -03:00
68f16029f6 delete kscreenlock file
All checks were successful
os / build (push) Successful in 14m22s
2026-06-24 13:31:27 -03:00
3eb414dcca fix plasma start error 2026-06-24 12:45:57 -03:00
fa84b015ce Update dockerfile for almalinux 10.2 2026-06-24 11:17:05 -03:00
2476823914 Convert Github action to Forgejo 2026-06-24 11:12:48 -03:00
Anders da Silva Rytter Hansen
21d16dee46 disable kde screenlocker 2026-03-28 10:16:59 -03:00
Anders da Silva Rytter Hansen
f7879d4b15 Touchpad tap 2026-03-27 18:28:08 -03:00
Anders da Silva Rytter Hansen
d0ef166f9c Install firefox 2026-03-27 18:20:20 -03:00
Anders da Silva Rytter Hansen
3edbb69990 remove unfound and unneeded packages 2026-03-27 18:12:27 -03:00
Anders da Silva Rytter Hansen
49e3336047 Installer flere pakker 2026-03-27 18:08:28 -03:00
Anders da Silva Rytter Hansen
4c1d58ba7f Add X11 config files 2026-03-24 10:59:42 -03:00
Anders da Silva Rytter Hansen
4df5c089e0 add -y to command 2026-03-24 10:42:07 -03:00
Anders da Silva Rytter Hansen
a4d1194e48 add github actions 2026-03-24 10:34:58 -03:00
5 changed files with 130 additions and 6 deletions

71
.forgejo/workflows/os.yml Normal file
View file

@ -0,0 +1,71 @@
name: os
on:
schedule:
- cron: '0 5 8,18,28 * *'
push:
paths:
- 'Dockerfile'
- 'etc/**'
- 'usr/**'
- 'repo/**'
- '.forgejo/workflows/os.yml'
- 'buildinstallxfce.sh'
- 'buildinstallxfceaddons.sh'
workflow_dispatch:
env:
REGISTRY: forge.pc-rytteren.dk
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: almalinux-10
permissions:
contents: read
packages: write
steps:
- name: Get current date
id: date
run: echo "date=$(date +'%Y%m%d')" >> $FORGEJO_OUTPUT
- name: Checkout repository
uses: actions/checkout@v4
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# Vi konstruerer tags her med branch-navnet som præfiks
tags: |
type=ref,event=branch
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=${{ github.ref_name }}
type=raw,value=${{ github.ref_name }}-10
type=raw,value=${{ github.ref_name }}-10.${{ steps.date.outputs.date }}
- name: Log into Forgejo Container Registry
if: github.event_name != 'pull_request'
run: |
buildah login -u ${{ github.actor }} -p ${{ secrets.PACKAGE_TOKEN }} ${{ env.REGISTRY }}
- name: Build image with Buildah
id: build-image
run: |
# Vi bygger med 'raw-img' lokalt
buildah bud \
--label "org.opencontainers.image.source=https://pc-rytteren.dk/forge/${{ github.repository }}" \
-t raw-img .
- name: Push to Forgejo Container Registry
if: github.event_name != 'pull_request'
run: |
for tag in $(echo "${{ steps.meta.outputs.tags }}"); do
echo "Tagging and pushing: $tag"
buildah tag raw-img "$tag"
buildah push "$tag"
done

View file

@ -1,16 +1,35 @@
FROM quay.io/almalinuxorg/atomic-desktop-kde:10
RUN dnf update -y
# This may be necessary for the speakers and internal microphone
RUN dnf install -y alsa-sof-firmware
RUN dnf install --nogpgcheck -y https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm
RUN dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/andersrh/sonicDE/repo/rhel+epel-10/andersrh-sonicDE-rhel+epel-10.repo -y
RUN dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/g/SonicDE/SonicDE-EL10/repo/rhel+epel-10/group_SonicDE-SonicDE-EL10-rhel+epel-10.repo -y
RUN dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/g/xlibre/xlibre-xserver/repo/rhel+epel-10/group_xlibre-xlibre-xserver-rhel+epel-10.repo -y
RUN dnf install sonic-workspace-x11 sonic-win sonic-interface-libraries sonic-workspace --allowerasing -y
# This may be necessary for the speakers and internal microphone
RUN dnf install -y alsa-sof-firmware
RUN dnf install -y fish distrobox nvtop intel-media-driver libva-intel-driver htop
RUN dnf install xorg-x11-xinit xkbcomp xinput xlibre-xserver-Xorg xlibre-xserver-common xlibre-xf86-input-libinput cage weston xrandr -y
RUN dnf install --allowerasing -y \
sonic-workspace \
sonic-workspace-libs \
sonic-workspace-common \
sonic-workspace-x11 \
sonic-win \
sonic-desktop-interface \
sonic-interface-libraries
RUN dnf install --allowerasing -y sonic-keybind-daemon sonic-frameworks-windowsystem sonic-system-info sonic-screen sonic-screen-library sonic-sysguard-library
RUN dnf remove -y sddm && \
dnf install --allowerasing -y sonic-login-manager
RUN dnf install -y fish distrobox nvtop intel-media-driver libva-intel-driver htop firefox
# Remove plocate to avoid updatedb going crazy with scanning the file system once a day
RUN dnf remove -y plocate
@ -36,8 +55,6 @@ RUN dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docke
RUN rm -f /usr/lib64/libopenh264.so.2.4.1 /usr/lib64/libopenh264.so.7
RUN rpm -Uvh --nodeps https://codecs.fedoraproject.org/openh264/42/x86_64/Packages/o/openh264-2.5.1-1.fc42.x86_64.rpm https://codecs.fedoraproject.org/openh264/42/x86_64/Packages/m/mozilla-openh264-2.5.1-1.fc42.x86_64.rpm
RUN dnf install xlibre-xserver-Xorg xlibre-xf86-input-libinput xinput
# Install VLC
RUN dnf install vlc vlc-plugins-freeworld vlc-plugin-pipewire -y
@ -48,4 +65,4 @@ COPY etc /etc
RUN cd /usr/bin && wget https://raw.githubusercontent.com/CachyOS/CachyOS-Settings/refs/heads/master/usr/bin/kerver && chmod +x kerver
RUN rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \
bootc container lint
bootc container lint

View file

@ -0,0 +1,10 @@
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# update this file.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "dk"
Option "XkbModel" "pc105"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

View file

@ -0,0 +1,7 @@
Section "Device"
Identifier "Intel Graphics"
Driver "modesetting"
Option "ShadowFB" "false" # you don't need on recent hardware
Option "Atomic" "true" #only effective on Xlibre, or Xorg-git with a special patch
Option "TearFree" "false" # We will be using compositor, so TearFree (extra buffer) in the driver is not necessary
EndSection

View file

@ -0,0 +1,19 @@
Section "InputClass"
Identifier "Touchpad Tap"
# Matcher alle touchpads der bruger libinput
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
# Korrigerer hastigheden til 2x (til 4K / 200% skalering)
#Option "TransformationMatrix" "5 0 0 0 5 0 0 0 2"
# Bruger den ergonomiske 'adaptive' profil (1 0 er Adaptive)
#Option "AccelProfile" "adaptive"
# Holder grundhastigheden neutral (0.0)
#Option "AccelSpeed" "0"
# Valgfrit: Slå tap-to-click til, hvis du foretrækker det
Option "Tapping" "on"
EndSection