Extra QEMU arguments to enable headless virgl
/hardware accelerated rendering:
-device vhost-vsock-pci,guest-cid=3 -display egl-headless,gl=on
On client:
rm -f /tmp/socket-local; waypipe -s /tmp/socket-local client # TCP
#!/bin/bash | |
git clone https://github.com/steam3d/MagicPodsCore.git | |
cd MagicPodsCore | |
ls | |
mkdir -p build | |
cd build | |
cmake .. | |
make -j$(nproc) | |
./MagicPodsCore |
Extra QEMU arguments to enable headless virgl
/hardware accelerated rendering:
-device vhost-vsock-pci,guest-cid=3 -display egl-headless,gl=on
On client:
rm -f /tmp/socket-local; waypipe -s /tmp/socket-local client # TCP
Run on host:
sudo visudo
pojntfx ALL=(ALL) NOPASSWD: /usr/bin/podman
Run inside of Toolbox:
#!/bin/bash | |
sudo podman run -d \ | |
--name=tailscaled \ | |
--restart=always \ | |
-v tailscale-data:/var/lib/tailscale \ | |
-v /dev/net/tun:/dev/net/tun \ | |
-v /run:/run \ | |
-v /etc/passwd:/etc/passwd:ro \ | |
-v /etc/group:/etc/group:ro \ |
#!/bin/bash | |
bash -c 'flatpak run com.github.dynobo.normcap --cli-mode | wl-copy' |
[ | |
{ | |
"identifier": { | |
"id": "tomoki1207.pdf", | |
"uuid": "6db08635-0c6a-45ba-9a4b-8c3e192c63c2" | |
}, | |
"version": "1.2.2", | |
"location": { | |
"$mid": 1, | |
"path": "/home/pojntfx/.vscode-oss/extensions/tomoki1207.pdf-1.2.2-universal", |
#!/bin/bash | |
ssh -J [email protected] [email protected] |
#!/bin/bash | |
gsettings list-recursively org.gnome.settings-daemon.plugins.power | grep sleep | |
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0 | |
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0 | |
sudo -u gdm dbus-run-session gsettings list-recursively org.gnome.settings-daemon.plugins.power | grep sleep | |
sudo -u gdm dbus-run-session gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0 | |
sudo -u gdm dbus-run-session gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0 |
#!/bin/bash | |
# 1. Go to "Settings → Networks" | |
# 2. Create a new profile | |
# 3. Go to "Identity" and set the name to "Shared", and the MAC address to that of your ethernet device (use the dropdown) | |
# 4. Go to "IPv4" and set the method to "Shared with other computers" | |
# 5. Go to "IPv6" and set the method to "Shared with other computers" | |
# 6. Select "Apply" to create the profile | |
# 7. Enable the profile by clicking on it | |
# 8. Run the commands below (replace wlp0s20f3 with your WLAN interface and enp0s13f0u3u1c2 with your LAN interface) |
#!/bin/bash | |
wget https://os.gnome.org/download/latest/gnome_os_sysupdate_installer.iso |