Harisfromcyber

joined 2 months ago
[–] Harisfromcyber@lemmy.ml 3 points 1 month ago* (last edited 1 month ago)

I believe that might be for games you access via the website. My situation is more for when you have the whole game downloaded offline and want to set it up.

[–] Harisfromcyber@lemmy.ml 2 points 1 month ago

Thanks! So I would just set up Wine according to this, configure the prefixes and then run the game?

On another note, It just hit me that Proton was Valve's version of wine (from my understanding). I'll definitely give this a shot. Thanks moonpie!

26
submitted 1 month ago* (last edited 1 month ago) by Harisfromcyber@lemmy.ml to c/linux@lemmy.ml
 

Hey all,

I have been searching online for this question, but was not able to get a solid answer. Is there a way/playbook for installing proton (regular and GE), setting prefixes, installing the GOG game, all over CLI?

The closest thing I found to this was maybe https://github.com/Open-Wine-Components/umu-launcher, which I saw mentioned in https://wiki.archlinux.org/title/Gaming#Game_launchers.

This question is more of me trying to learn more about game configuration on Linux over command-line rather than just relying on Steam, Lutris, Heroic, to do all the hard work for me. Any suggestions for this would be highly appreciated.

Edit: I would like to do this without https://sites.google.com/site/gogdownloader/, if possible.

[–] Harisfromcyber@lemmy.ml 1 points 2 months ago

Thanks for sharing. I do something similar with the --delete option on an external drive in case I screw something up.

[–] Harisfromcyber@lemmy.ml 2 points 2 months ago (1 children)

I would say the following:

  • Encrypt with a strong password 3+ word (your password manager should help you with this) for FDE
  • for admin account (root), if there is a way to disable it in the setup configuration menu, disable it. Its recommended to use sudo when you need elevated perms rather than su root.
  • backup all your files to an external drive, you can use rsync,rclone sync, or other items to do this. FreefileSync as well.
  • before you switch over, run a flatpak list --columns=application to output all the flatpaks you have installed. This way you dont have to try to remember what you had installed
  • Gnome software center is a bit slow and laggy, at least my experience on Pop! and Debian. I would recommend just using cli for apt installs and/or dpkg installs.

For the flatpak output, i would recommend the following script to help download all automatically:

flatpak_packages=(
	com.calibre_ebook.calibre
        all flatpaks listed here
)

flatpak_install(){
	for i in "${flatpak_packages[@]}"
	do
		echo "Installing $i"
		flatpak install --user flathub "$i" -y
	done
}

This will go through each flatpak and install it for you, saying yes to all so you don't have to do anything. Don't forget to run:

sudo apt install flatpak -y
flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo

That's my brain dump at the moment lol. Lmk if you have any questions.

[–] Harisfromcyber@lemmy.ml 1 points 2 months ago

Thanks! good to know. I'll keep that in mind.

[–] Harisfromcyber@lemmy.ml 2 points 2 months ago (2 children)

I wasn't aware of the full impact of -z. Thanks for clarifying that for me (thanks to @hades@feddit.uk as well!). I'll definitely keep an eye on the speed with -z vs without it when I do my next dry run.

[–] Harisfromcyber@lemmy.ml 5 points 2 months ago

Thanks for sharing! glad to see the --delete item being the key.

 

I wanted a sanity check on my current rsync flags. Posts on Reddit seem to highlight the use of rsync -avz for most use cases, for some instances even for when someone asks for mirroring a drive: https://www.reddit.com/r/DataHoarder/comments/rau071/rsync_command_to_mirror_drive/. This has not worked for me for the following case:

Drive #1:

file1.txt
file2.txt

Drive #2:

file1.txt
file2.txt
file3.txt

With -avz, file3 on the destination would not be deleted. With experimenting, I ended up now using rsync -havziP --delete-after --info=progress2 dir1/ dir2/, which actually ended up mirroring the drives for me. My question is: is this the best rsync approach for mirroring drives or was there a better option that works better?

Side note: it is interesting that rclone sync from rclone (https://rclone.org/commands/rclone_sync/) claims to delete by default, while with rsync it seems to be something you have to distinctly mention.