From 3c29e2816fed330ee5325361f717c4f97d483e07 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Thu, 12 Dec 2024 15:07:44 -0500 Subject: [PATCH] updates to fedora-kinoite --- .../graduated/fedora/fedora-kinoite.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/infrastructure/graduated/fedora/fedora-kinoite.md b/infrastructure/graduated/fedora/fedora-kinoite.md index aedc51f..894ad91 100644 --- a/infrastructure/graduated/fedora/fedora-kinoite.md +++ b/infrastructure/graduated/fedora/fedora-kinoite.md @@ -72,7 +72,11 @@ podman run --rm ghcr.io/containers/podlet --install --description "Local AI" \ -v ollama:/root/.ollama \ -p 11434:11434 \ --name ollama \ - docker.io/ollama/ollama > ~/.config/systemd/user/ollama.service + --restart always \ + docker.io/ollama/ollama > ~/.config/containers/systemd/ollama.container + +# Verify the service (Note the filename:service, this is required! You will get "Failed to prepare filename" without it) +systemd-analyze verify ~/.config/containers/systemd/ollama.container:ollama.service # Start the service systemctl --user daemon-reload @@ -153,6 +157,17 @@ Password manager. ```bash flatpak install com.bitwarden.desktop + +# Fix wayland scaling issues +cp /var/lib/flatpak/exports/share/applications/com.bitwarden.desktop.desktop ~/.local/share/applications +# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field +sed \ + -ri 's/(Exec=.* run )(.*)(com.bitwarden.desktop)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \ + ~/.local/share/applications/com.bitwarden.desktop.desktop + +# Validate desktop database and reload +desktop-file-validate ~/.local/share/applications/com.bitwarden.desktop.desktop +update-desktop-database ``` ### MPV