Skip to content

Instantly share code, notes, and snippets.

View mirkobrombin's full-sized avatar
🙈
Working on Vanilla OS 2

Mirko Brombin mirkobrombin

🙈
Working on Vanilla OS 2
View GitHub Profile

Applications and games in this list, are just my personal experiments. Bottles support more games and applications like other users reports. This list should not be intended as "What run on Bottles" but "Oh, these works".

Official installers

Bottles now supports installers, check here.

Games

Games tested using Bottles Gaming environment.

@mirkobrombin
mirkobrombin / Vanilla-first-setup-example.json
Last active September 19, 2022 05:24
Vanilla-first-setup-example.json
{
"log_file": "/custom/log/file/path.txt",
"distro_name": "Vanilla OS",
"distro_logo": "vanilla-os-symbolic", // or full path
"steps": {
"welcome": {
"type": "default" // will use the default Vanilla OS Welcome screen
// "type": "custom",
// "options": {..}
},
import os
import shlex
import subprocess
class Diskutils:
@staticmethod
def pretty_size(size: int) -> str:
if size > 1024**3:
return f"{round(size / 1024 ** 3, 2)} GB"
# network.py
#
# Copyright 2023 mirkobrombin
# Copyright 2023 matbme
#
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundationat version 3 of the License.
#

cpak runtime mount

(override) Mounting:  /proc/
exists /proc/
(override) Mounting:  /sys/
exists /sys/
(override) Mounting:  /tmp/
exists /tmp/
(override) Mounting:  /tmp/.X11-unix
exists /tmp/.X11-unix
# keyboard.py
#
# Copyright 2024 mirkobrombin
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundationat version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@mirkobrombin
mirkobrombin / distrobox-vos-virt-manager
Last active June 17, 2024 15:19
Running virt-manager on Vanilla OS via Distrobox
DBX_SUDO_PROGRAM=pkexec /usr/share/apx/distrobox/distrobox create \
--pull \
--root \
--init \
--unshare-all \
--image ghcr.io/vanilla-os/pico:main \
--name libvirtd \
--additional-flags "-p 2222:22" \
--init-hooks "apt update && apt install -y openssh-server libvirt-daemon-system libvirt-clients qemu-system qemu-utils virt-manager && systemctl enable ssh.service && systemctl enable libvirtd && usermod -aG libvirt $USER"
@mirkobrombin
mirkobrombin / vos-recovery.sh
Last active August 1, 2024 20:16
vos-recovery
#!/bin/bash
mkdir -p /mnt/boot /mnt/init
mount LABEL=vos-init /mnt/init
mount LABEL=vos-boot /mnt/boot
first_line=$(head -n 1 /mnt/boot/grub/grub.cfg)
if echo "$first_line" | grep -q "set default=0"; then