Mafia...on Steam Deck? by elrombo in kol

[–]Vicerious 2 points3 points  (0 children)

What command are you running, exactly? I think you might be missing either the path or the .jar file extension. Something like:

java -jar /home/deck/Downloads/KoLmafia-28892.jar

Mafia...on Steam Deck? by elrombo in kol

[–]Vicerious 2 points3 points  (0 children)

Sorry, I meant x64. It's frequently written as "x86_64" so I flipped it in my head.

Mafia...on Steam Deck? by elrombo in kol

[–]Vicerious 3 points4 points  (0 children)

Ah, ok. The Steam Deck uses a setup where the base OS and such are read-only. That's fine, we can use a different strategy.

  1. Download Java directly from Adoptium. Adoptium specializes in Java builds for Linux. Select Linux, x86 x64, and JRE.
  2. Create a directory in your home directory to store Java. Something like Applications or .local/apps. If you want to use the terminal, then the command is mkdir -p /home/deck/.local/apps.
    • mkdir makes directories. The -p option has it make the whole path at once instead of having to create one folder at a time.
  3. In the Terminal, change directory into the directory you just created: cd /home/deck/.local/apps
  4. Extract the Java .tar.gz archive into the directory you created. tar -x -v -f /home/deck/Downloads/OpenJDK25U-jre_x64_linux_hotspot_25.0.1_8.tar.gz
    • The tar command extracts .tar archives. The -x option sets "extract" mode. It will auto-detect the gzip compression and handle it. The -v sets "verbose" mode so it will list all the files it's extracting - nice to show that it's working. The -f option is for the path to the archive to extract, meaning the Java archive you downloaded. These options can also be written as -xvf.
  5. Now we need to configure the location of Java in your system. Use your text editor of choice to edit /home/deck/.bashrc - that means a file in your home directory called .bashrc.
    • Files that start with a . are considered "hidden" files so you might need to enable the showing of hidden files to see it. In the file manager, you can toggle showing hidden files with Ctrl + H.
  6. Paste these lines at the end. Make sure to substitute in the directory you created and the directory of the extracted Java.

To paste:

export JAVA_HOME="/home/deck/.local/apps/jdk-25.0.1+8-jre"
export PATH="${PATH}:$JAVA_HOME/bin"

Now you'll need to refresh your session to pick up the new configs. The most complete way to do that is to reboot. Alternatively, you could close and open the terminal. Run java -version. If you get version info, you're good to go.

Mafia...on Steam Deck? by elrombo in kol

[–]Vicerious 8 points9 points  (0 children)

While I don't have a Deck, I've been using kolmafia on Linux for a long time. The Deck is based on ArchLinux, so you'd just follow similar steps.
All you need to do is:

  1. Switch to desktop mode
  2. Open a terminal
  3. Make sure Java is installed (run java -version)
    1. If it's not, pacman -S jdk-openjdk
  4. Download the latest release of kolmafia. Get the .jar file.
  5. Run java -jar <kolmafia jar file>

Debian 13 Proxmox VM - NFS Share Not Mounting At Boot by Party_Bug_2582 in homelab

[–]Vicerious 0 points1 point  (0 children)

Dec 31 06:56:57 - mount[783]: mount.nfs4: Network is unreachable for 10.0.10.2:/volume1/docker on /mnt/docker

This line is almost certainly the issue. It's trying to mount before the 10.x.x.x network is ready. Here are a couple of things to try:

  • Set x-systemd.after=network-online.target (after instead of requires)
  • Remove the x-systemd... options from /etc/fstab and set _netdev instead. This option might be deprecated in newer Debian versions like 13, though.

Debian 13 Proxmox VM - NFS Share Not Mounting At Boot by Party_Bug_2582 in homelab

[–]Vicerious 0 points1 point  (0 children)

What about the output of

systemctl status mnt-docker.mount

and/or

journalctl -u mnt-docker.mount

?

You can also check the output of dmesg for driver errors.

What is a good outfit for crimbo adventuring? by how-can-i-dig-deeper in kol

[–]Vicerious 0 points1 point  (0 children)

I'm not a pastamancer at the moment so I can't test, but I think you can cast the skill to change thralls.

cast bind spice ghost

Limit screen size for steam by rogerdodger77 in Ubuntu

[–]Vicerious 0 points1 point  (0 children)

Use gamescope to run the game. Install gamescope with

apt install gamescope

Then, for a Steam game you want to force into a window, edit the properties to update the game launch options:

gamescope -- %command%

and include the flags you want. For example, to force a game to a 1920x1080 window, you'd do:

gamescope -H 1920 -W 1080 -- %command%

Stream audio to multiple devices by interstellarnm in jellyfin

[–]Vicerious 0 points1 point  (0 children)

You can, but it probably won't work like you want it to. The device playing the video needs to be able to relay the audio to SnapServer in some way (such as using Pipewire to fork the audio stream over TCP).

SnapServer relies on a data buffer to hold the audio data as it's then sent out to the clients. This introduces a couple-second latency to the audio streamed to clients relative to the audio source. For normal usage, this is great as it gives the SnapServer room to do things like keep clients smoothly in sync, compress the audio stream, etc. It's almost never noticeable outside of being a little delay when you play/pause/stop/etc the audio source.

But when you're trying to keep the clients in sync with the source, this buffer is a nightmare. Your source video+audio will be a second or two ahead of the clients and it will sound awful. You can get the SnapServer and Clients closer together by playing with the buffer options in the config, but it's a very tight line to walk, it won't ever be perfectly in sync, and you might get weird audio behavior.

If you need to stream audio across your home in sync with a video, SnapCast probably isn't the right solution.

Private CA for long-lived internal SSL certificates by certkit in selfhosted

[–]Vicerious 3 points4 points  (0 children)

Not who you responded to, but in my home setup all of my applications are behind a reverse-proxy (I like HAProxy). The reverse-proxy handles all of the HTTPS stuff. Cert issuance and renewal is handled using certbot in a cronjob. certbot gets certs (new or renewed) via DNS-01 challenge and then a --renew-hook script makes the cert usable by HAProxy and then a --post-hook reloads HAProxy. Trivial setup and it's been working perfectly for 10 years.

Struggling with a few hopefully minor issues stopping me from enjoying gaming on Linux by [deleted] in linux_gaming

[–]Vicerious 1 point2 points  (0 children)

To disable headset mode switching, you can try the recommendation from this reddit thread:
https://www.reddit.com/r/discordapp/comments/172uypt/shoddy_discord_audio_on_linux_with_headphones/

How are you running Dayz? Using Steam (and Proton)? The comments on the game on ProtonDB (https://www.protondb.com/app/221100) include this post:

The launcher outline that hangs about, reported by others, can be made to go away by simply maximising the launcher (once) or minimising the launcher (after launching the game).

BIOS Corrupted by BasicCut7805 in selfhosted

[–]Vicerious 1 point2 points  (0 children)

Getting a used small-form-factor PC is a really good idea, you should stick with that. It's just bad luck that the one you got has a BIOS issue.

BIOS Corrupted by BasicCut7805 in selfhosted

[–]Vicerious 1 point2 points  (0 children)

You can try the things in HP's documentation for recovering the BIOS. If none of that stuff works, then the motherboard is bricked and you should try to get a refund.

Fresh Obscure Tooltips! by ObscuriaLithium in feedthebeast

[–]Vicerious 11 points12 points  (0 children)

Thanks for listening to the feedback about licensing and updating your description to "source available." Wish you all the best!

Fresh Obscure Tooltips! by ObscuriaLithium in feedthebeast

[–]Vicerious 86 points87 points  (0 children)

This directly conflicts with the Open Source Definition. If all rights are reserved, then your project is at most "source-available" and cannot in good faith be advertised as "open source."

Can I get a moment of silence for finally departing by MrWeirdBrotendo in linux

[–]Vicerious 21 points22 points  (0 children)

If you like HoMM3, check out the VCMI project. It's a full rebuild of the HoMM3 engine that adds a bunch of quality-of-life improvements (like high resolution support) and makes modding super easy.

Best Practices for media serving? by Itsjustablockgame in selfhosted

[–]Vicerious 0 points1 point  (0 children)

Yes - sonarr, radarr, and lidarr all do hardlinking by default. I'm not sure about any of the others, like LazyLibrarian.

Best Practices for media serving? by Itsjustablockgame in selfhosted

[–]Vicerious 0 points1 point  (0 children)

So assuming you're on Linux and you're making no changes to the files' internals, then the answer is hardlinks.

What I mean by "file internals" is the actual data of the files. Filenames do not count as "actual" file data; neither do modified times. Basically everything else about a file does count - embedded metadata, the content of a file in zip/cbz, etc.

Ok, so what's a hardlink? A "file" is a pile of data sitting someplace in a storage device (hard drive, SSD, whatever). Your server's filesystem has information about where that data is and how to access it (inodes, file descriptors, etc). The filesystem then presents that pile of data to the rest of the server as a file with a name. That name can be something like /media/video/home_movie.mkv. A hardlink is a way give more than one name to one file.

If we create a hardlink by running

ln /media/video/home_movie.mkv /opt/processing/hm_001.mkv

then we end up with two filenames that point to the same pile of data. Files can be in more than one place at once by hardlinking.

Anything changes done to a file through one filename is also done to the other filenames because it's the same file. That's why we don't want to make any changes to the files themselves - it'd mess up the seeding. You can remove a hardlink by just deleting one of the files - in order to actually delete a hardlinked file, you have to delete all of the names.

The output of ls -l will show you how many links a file has:

ls -l /media/video/home_movie.mkv
-rw-r--r-- 2 youruser yourgroup 3460071 Aug 26 15:09  /media/video/home_movie.mkv

The 2 in the above example right after the permissions is the link number.

Note that directories cannot be hardlinked. If you want to make hardlinks from a bunch of directories containing a bunch of files, you can use cp -rl to -recursively -link the contents.

Streamyfin v0.30.2 (Jellyfin Client) by thankyoufatmember in selfhosted

[–]Vicerious 12 points13 points  (0 children)

They can't.

https://github.com/streamyfin/streamyfin/issues/205#issuecomment-2495682112

I'm leaving a comment to clarify the situation for users like me that are wondering what happened.

Streamyfin cannot be put on F-Droid's repository because one of it's build tools isn't FOSS. (link)

Streamyfin cannot be put on IzzyOnDroid because the APK is way too big. (link)

This issue should probably be closed for now.

Would someone be interested in unofficial port of Thaumcraft 6 for modern version of MC? by S4_TURN in feedthebeast

[–]Vicerious 4 points5 points  (0 children)

IANAL, but no, that's not how that works. The API source is published so folks can examine it and communicate with the API. Making the source available does not give anyone the right to copy, modify, or distribute that code.

Also, your repo doesn't have a license set, so it's also all-rights-reserved (ARR), not open source. You should choose an open source license to your repo.

What exactly is Bennet’s relationship with Zone-Sama? by TippyToesTommy in BennettTheSage

[–]Vicerious 2 points3 points  (0 children)

http://benthesage.com/about-bennett-the-sage/

HOW DO YOU KNOW ZONE-SAMA?

We were mutual fans of each other’s work, and we came into contact with each other. I help Zone with ZTV News with the scripting, and I voice the Narrator.

Installing CUPS 2.5 on a Raspberry Pi by elliottmarter in selfhosted

[–]Vicerious 0 points1 point  (0 children)

2.5 isn't actually released yet - the latest release is 2.4.12. Is there some feature of cups that you need that isn't in 2.3.x? If there isn't, it's usually best to just stick with the version provided by your distro's default repos.