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
| # | |
| # /etc/udev/hwdb.d/90-capslock-to-ctrl.hwdb | |
| # | |
| # Remap CapsLock (0x3a) to Left Control for ANY keyboard | |
| # | |
| # For immediate effect, run: | |
| # > systemd-hwdb update | |
| # > udevadm trigger -s input | |
| evdev:input:* |
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 |
NewerOlder