stewie410

joined 1 year ago
[–] [email protected] 2 points 5 days ago (2 children)

Yeah, I know, “RTFM.”

Sorry, I didn't mean to come across in a condescending way, if that's how it read. I've only ever used rclone for Google Drive, and its been quite a while since I've personally set it up, as I no longer daily-drive linux (outside of WSL).

A “remote” presumably means a remote folder/share/whatever in the cloud, in this case on Proton Drive, yes?

Yes, following the documentation, you would run rclone config, then answer as follows:

  • Create/Edit/Quit: n
  • Name: proton
  • Storage: protondrive
  • User: [email protected]
  • Password: y to enter your password; then enter your password twice as prompted
  • 2FA: If you have 2FA configured, enter the 6-digit OTP; else press <Enter> to skip
  • Keep this "proton" remote?: y

This should create a proton-drive remote called "proton", which you can reference in further rclone commands. For example:

# Check if out of sync
rclone check 'proton:' ~/proton 2>&1 | grep --quiet ' ERROR :'

# Sync local/remote
rclone sync 'proton:' ~/proton

If I want to set Rclone to automaticlly sync, say, my home folder to Proton Drive, Rclone has to run as a service on startup for this to work.

In the past, I wrote a script to handle the check/sync job, and scheduled it to run with crontab, as it was easier for me to work with. Here's an example of the script to run rclone using the proton: remote defined above:

#!/usr/bin/env bash

# Ensure connected to the internet
ping -c 1 8.8.8.8 |& grep --quiet --ignore-case "unreachable" && exit 0

# If in-sync, skip sync procedure
rclone check 'proton:' "${HOME}" |& grep --quiet ' ERROR :' || exit 0

# Run sync operation
rclone --quiet sync 'proton:' "${HOME}"

If scheduling with crontab, running crontab -e will open your user's schedule in the $VISUAL, $EDITOR or /usr/bin/editor text editor. Here, you could enter something like

0,30 * * * * /home/your_user_name/proton_sync.sh

Which would try to sync once every 30 minutes (crontab-guru).

you can use systemd to set up rclone as a system or user service

This is also an option, assuming your system is using systemd; which most distributions have moved to -- you typically have to go out of your way to avoid it. I also don't have much experience in writing my own service/timer files; but it looks like systemd-run may have you covered as well (source):

# Run every 30 minutes
systemd-run --user --on-calendar '*:0/30' /home/your_user_name/proton-sync.sh

While I know writing config files and working with the terminal can be intimidating (it was for me in the beginning, anyway); I'd really recommend against running random 'scripts' you find online unless you either 100% trust the source, or can read/understand what they are doing. I have personally been caught-out recently from a trusted source doing jank shit in their scripts, which I didn't notice until reading through them...and Linux Admin/DevOps is my day job...

[–] [email protected] 3 points 5 days ago (7 children)
[–] [email protected] 1 points 4 months ago

If you'd be interested in another souls-like, I can recommend Remnant 2 (or the previous title) -- though, not the same combat style by any means.

[–] [email protected] 2 points 4 months ago (1 children)

We ran RocketChat at work for a few years before migrating to Teams.

RC could be good, but maintaining it long-term was an enormous pain. Maybe it's better now, certainly if you're using docker... But a manual install was always a laborious task on upkeep for us. Also worth making sure you don't need commercial features, as they've removed free features in the past to drive sales...

[–] [email protected] 0 points 6 months ago (1 children)

I don't know all of the regex rules (look ahead/behind, etc); but it's honestly not that bad. If you can learn the syntax for a programming language, you can learn the basics of regex..

[–] [email protected] 4 points 6 months ago

I played the 2-3 demos before release, and have been continuing that trend since launch. "Nearly" at 100% achievements, though the remaining 3 are the big ones, so dunno how long it will take.

I have found that I enjoy the game more on low stakes (white/red), as the higher stakes are really just more annoying/RNG to me than anything.

Still, Stuntman will get me through.

[–] [email protected] 1 points 6 months ago

Bit of a boring answer, but Gran Turismo 4 on the PS2 has stolen many hours off of my life.

Another honorable mention would be the rhythm game "Frequency".

A third, which isn't a game, is eJay Club World; though that's more of a DAW than anything.

[–] [email protected] 1 points 6 months ago

I'm the sysadmin (and transitioning to DevOps) at work, but the DBs are 100% in control of our two devs (one of which being the head of IT).

Apparently we're going to hire a third Dev, who will moonlight as our DBA -- oh, and for 30K/yr.

I'm sure this will go well.

[–] [email protected] 5 points 6 months ago (3 children)

My parents recently got a new washer/dryer set; they had to buy commercial (though available to consumers) units to get non-smart units.

[–] [email protected] 1 points 7 months ago

We've been running KVM on CentOS/Rocky hosts for our VM platforms; seems to work fine for our needs.

I'm not sure how ESXi would differ as I've never used it, but may be an option if you want to roll your own vs proxmox.

[–] [email protected] 0 points 7 months ago

I'm sure we'll keep using .intranet because why should we ever change?

[–] [email protected] 3 points 8 months ago

I assume this has changed with the modern releases then? My S10 had a ton of non-removable apps, primarily those from Samsung.

There's really only a couple of things I missed from the S10 on my P7:

  • The edge panel (ended up using Panels
  • A tile to toggle ringer/vibrate/silent in the notification shade
    • I've gotten used to it now, but still prefer the way it's handled in OneUI
view more: next ›