Skip to content

Instantly share code, notes, and snippets.

View akdev1l's full-sized avatar

Alex Díaz akdev1l

View GitHub Profile
@akdev1l
akdev1l / Containerfile
Created May 7, 2023 15:30
container to get the MS fonts
FROM archlinux:latest as builder
RUN pacman -Syu --noconfirm \
&& pacman -S --noconfirm base-devel udisks2 p7zip \
&& useradd -m -G wheel builduser \
&& echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers
USER builduser
RUN mkdir ~/mscore-ttf \
@akdev1l
akdev1l / PKGBUILD
Created May 7, 2023 15:22
Patched PKGBUILD to work without root
# Maintainer: Loryeam <loryeam aaaatttt gmail ddooottt com>
# Contributor: Vaporeon <vaporeon@vaporeon.io>
# Contributor: Zepman <the_zep_man@hotmail.com>
# Contributor: Michael Lass <bevan@bi-co.net>
# Contributor: Doug Newgard <scimmia at archlinux dot info>
# Contributor: reflexing <reflexing@reflexing.ru>
# Instructions were copied from ttf-ms-win10-auto and slightly modified:
#
# BUILD INSTRUCTIONS:
@akdev1l
akdev1l / PKGBUILD
Created May 7, 2023 15:17
Patched PKGBUILD to work without root
# Maintainer: Loryeam <loryeam aaaatttt gmail ddooottt com>
# Contributor: Vaporeon <vaporeon@vaporeon.io>
# Contributor: Zepman <the_zep_man@hotmail.com>
# Contributor: Michael Lass <bevan@bi-co.net>
# Contributor: Doug Newgard <scimmia at archlinux dot info>
# Contributor: reflexing <reflexing@reflexing.ru>
# Instructions were copied from ttf-ms-win10-auto and slightly modified:
#
# BUILD INSTRUCTIONS:
#!/bin/bash
main() {
IFace="${1}"
MainIP="${2}"
DNSList="${3}"
BRIFace="${IFace}br"
nmcli conn delete "System ${IFace}"

Arch Linux SilverBlue - Bootstrap Process

  1. Create an arch linux chroot using podman:
podman run --rm -it \
    -v "$PWD:$PWD" \
    -w "$PWD" \
    archlinux:latest
@akdev1l
akdev1l / fedora-on-deck.md
Last active October 28, 2022 23:51
fedora on deck - current state

Fedora on Steam Deck

  1. Current process
  2. Known Issues

Current process

  1. Install Fedora from a USB drive to the Steam Deck (it does not seem like the kernel in SteamOS is patches so as long as we have a new enough kernel we should be fine)
  2. Install steam from RPMFusion (flatpak steam has some problems integrating with the host system)
# Don't put rpm package in subdir see: https://stackoverflow.com/questions/2565509/rpmbuild-generates-rpm-in-which-subdirectory
%define _build_name_fmt %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm
# Drop the RPM in PWD
%define _rpmdir %{getenv:PWD}
%define _srcrpmdir %{getenv:PWD}
%define _disable_source_fetch %{nil}
%define _sourcedir %{getenv:PWD}
Name: mouse_m908
Version: 3.1
Release: 1%{?dist}