Skip to content

Instantly share code, notes, and snippets.

@lidgnulinux
lidgnulinux / Musl-appimage-on-glibc.md
Created February 20, 2025 11:45
Open Built-on-Musl Appimage on Glibc Distro.

Open Built-on-Musl Appimage on Glibc Distro.

What do we need ?

We need :

  • Appimage file which we built on musl environment.
  • cp command.

Steps.

@lidgnulinux
lidgnulinux / sway-xfce.conf
Created February 18, 2025 10:11
Using sway with xfce4.
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
@lidgnulinux
lidgnulinux / create_appimage_from_musl_rootfs_distro.md
Last active December 31, 2024 20:02
Create Appimage File using Minimal Rootfs Archive Musl Distro (e.g alpine linux).

Create Appimage Using Minimal Rootfs Archive Musl Distro.

What do we need / prerequisite ?

  • Rootfs archive musl distro, I'm using alpine minirootfs archive. We can get it here.
  • AppRun executable, it's needed for launch our app. Get it here.
  • Appimagetool, available here
  • Desktop file / .desktop.
  • Icon file.
@lidgnulinux
lidgnulinux / 00_qipy
Last active November 28, 2024 01:15
(WIP) simple qi frontend written using python.
#!/usr/bin/python3
import glob, os
import argparse
import shutil
import subprocess
import re
# from urllib.request import urlretrieve
# import requests
@lidgnulinux
lidgnulinux / retrieve_branch_and_push.md
Last active December 6, 2024 09:12
Dummy approach to update mirror repository.

Let's say we have branch(es) on main repository and we want to fetch it/them to our mirror repository, how do we do it ?

  1. Fetch the branch using this command !

    $ git fetch https://gitlab.com/main/repository remote_branch_name:local_branch_name
    
  2. Switch to new fetched branch !

#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.11.0-gnu Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (Ubuntu 14.2.0-4ubuntu2) 14.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=140200
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24301
@lidgnulinux
lidgnulinux / config-6.11.0-gnu
Created September 23, 2024 02:45
Kernel Linux Libre Config.
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 6.11.0-gnu Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.3.1 20230310"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=110301
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=20244508
@lidgnulinux
lidgnulinux / appimage_musl.md
Created September 10, 2024 11:51
Menjalankan berkas appimage di lingkungan musl.

Menjalankan Berkas Appimage pada Distro Non-glibc / Musl.


Persiapan.

  • Base image / arsip distro yg menggunakan glibc, sebagai contoh kita ambil Ubuntu Noble, Oracular, dll. Base image bisa diunduh di sini .
  • Berkas appimage, kami baru mencoba menjalankan berkas appimage Inkscape.
  • Module fuse, usahakan kita sudah menge-load module fuse.
@lidgnulinux
lidgnulinux / recipe
Created August 26, 2024 01:43
Example of package recipe for dragora distro.
# Build recipe for slurp.
set -e
program=slurp
version=1.5.0
release=0
pkgcategory=x-apps
@lidgnulinux
lidgnulinux / Alpine_Linux_minirootfs_install.md
Last active February 26, 2025 12:28
Install Alpine Linux Via Minirootfs Archive.

Install Alpine Linux Via Minirootfs Archive.

Prerequisites.

  • Any live usb bootable.
  • Alpine Linux minirootfs archive, we can get it here. We can choose alpine-minirootfs-3.20.2-x86_64.tar.gz.
  • Some partitions, for root system (/), efi (if you have uefi machine) and swap (optional).
  • Basic commandline knowledge.

Steps.