This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index 4682262..1b4166d 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -15,6 +15,12 @@ optdepends=('python: use cec in python applications') | |
source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/$pkgname/archive/$pkgname-$pkgver.tar.gz") | |
sha256sums=('7f9e57ae9fad37649adb6749b8f1310a71ccf3e92ae8b2d1cc9e8ae2d1da83f8') | |
+prepare() { | |
+ cd "$pkgname-$pkgname-$pkgver" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# PROVIDE: conan | |
# REQUIRE: networking | |
# KEYWORD: | |
. /etc/rc.subr | |
name="conan" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /home/deck/.config/systemd/user/flatpak-pid.path | |
# | |
# Enable with | |
# systemctl --user enable --now flatpak-pid.path | |
# | |
[Unit] | |
Description=Monitor for flatpak pids to maximize them in gamescope | |
[Path] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bindmounts.service | |
[Unit] | |
Description=Bind mount files over readonly steamos system | |
After=local-fs.target | |
Requires=home.mount -.mount | |
Before=multi-user.target | |
[Service] | |
Type=oneshot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Proton leaves behind proton_dist.tar files that are not needed after extraction to ./dist | |
# Clear proton_dist.tar files | |
find /home/deck/.local/share/Steam/steamapps/common -name 'proton_dist.tar' -delete | |
# Logs are kept on the /home partition in /home/.steamos/offload/var/log | |
# Set max logsize to 10M | |
# Force reloading of journald configuration | |
# Force rotation and clear any archived logs over 10M | |
sed -i'' -e 's/^#SystemMaxUse=/SystemMaxUse=10M/' /etc/systemd/journald.conf | |
systemctl force-reload systemd-journald |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /home/deck/.config/systemd/user/dedup-compatdata.service | |
[Unit] | |
Description=Use hardlink(1) to dedup Steam compatdata | |
[Service] | |
Type=oneshot | |
ExecStart=hardlink -v /home/deck/.steam/steam/steamapps/compatdata | |
[Install] | |
WantedBy=default.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo steamos-readonly disable | |
sudo rm /usr/share/applications/org.mozilla.firefox.desktop | |
sudo steamos-readonly enable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if btrfs property get -ts / ro | grep -q true; then | |
#sudo btrfs property set -ts / ro false | |
sudo steamos-readonly disable | |
echo "Filesystem set to read/write" | |
else | |
#sudo btrfs property set -ts / ro true | |
sudo steamos-readonly enable | |
echo "Filesystem set to read only" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/dotnet/runtime/blob/main/docs/workflow/requirements/freebsd-requirements.md#running-on-freebsd | |
# https://github.com/Thefrank/dotnet-freebsd-native-binaries/releases | |
# Create Jail (With allow_mlock=1 for dotnet) | |
iocage create -n Kavita -r 12.2-RELEASE ip4_addr="vnet0|10.1.0.44/8" defaultrouter=10.0.0.1 vnet=on allow_raw_sockets=1 boot=on allow_mlock=1 | |
# Install required packages (lttng-ust is in release_2 for fbsd 12) | |
pkg install --yes libunwind icu libinotify lttng-ust krb5 openssl ncurses bash git npm-node14 node14 | |
# note: had to build node14 from ports on release_2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This rule is needed for basic functionality of the controller in Steam and keyboard/mouse emulation | |
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE:="0666" | |
# This rule is necessary for gamepad emulation; make sure you replace 'pgriffais' with a group that the user that runs Steam belongs to | |
#KERNEL=="uinput", MODE:="0660", GROUP="steamcontroller", OPTIONS+="static_node=uinput" | |
KERNEL=="uinput", MODE="0660", GROUP="steamcontroller", OPTIONS+="static_node=uinput" | |
# DualShock 4 wired | |
SUBSYSTEM=="usb", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE:="0666" | |
# DualShock 4 wireless adapter |
NewerOlder