shaked_coffee

joined 2 years ago
[–] shaked_coffee@feddit.it 1 points 3 weeks ago (1 children)

Unfortunately the issue persists even if I give Heroic access to the all user files (filesystem=home), but maybe the issue is more an issue of Steam rather than of Heroic, since from Heroic I'm able to launch games and even add them to Steam (they actually appear on Steam Library, and manually launching from a terminal the command Heroic automatically added to steam games are launched properly).

I tried to give Steam flatpak full access to user's files as well, but after having done that I got an error when launching steam pointing me to this doc page so I think some additional steps would be needed for that change (?)

[–] shaked_coffee@feddit.it 1 points 3 weeks ago (1 children)

Because sometimes I have the laptop connected to the TV using Steam's Big Picture mode with a controller and it would be nice to launch also my Heroic games from there without having to go back to the desktop

 

I've installed "Overcooked 2" and "Moving Out" through Heroic Games Launcher (flatpak) and then used the ad-hoc option to add it to steam (also installed as flatpak). If I try to launch the game from Heroic it works properly, and it works also if I try to launch it from the command line with the command it added to steam

flatpak run com.heroicgameslauncher.hgl --no-gui --no-sandbox "heroic://launch/legendary/8e29583ae4b44a21883038668f7e301e"

but if I click the PLAY button on steam, the game fails to launch and the following error is printed on terminal:

chdir "/var/home/lez"
Game Recording - would start recording game 12260096395435835392, but recording for this game is disabled
Adding process 532 for gameID 12260096395435835392
ERROR: ld.so: object '/var/home/lez/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/var/home/lez/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/var/home/lez/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
pid 534 != 532, skipping destruction (fork without exec?)
Game Recording - game stopped [gameid=12260096395435835392]
Removing process 532 for gameID 12260096395435835392

Anyone else faced this issue? If so how did you fixed it?

[–] shaked_coffee@feddit.it 2 points 1 month ago

IT WORKED! Thank yoy again for the help :)

[–] shaked_coffee@feddit.it 1 points 1 month ago

I've tried first removing the -it flag as suggested by @farcaller@fstab.sh in another comment and see if that works out. Otherwise I'll try to debug with a logfile as you suggested, thanks!

[–] shaked_coffee@feddit.it 1 points 1 month ago (1 children)

Oh you are right, thank you. I've tried removing it and see if it fixes the issue 🤞

[–] shaked_coffee@feddit.it 1 points 1 month ago

Thank you for pointing it out. I'll fix it as soon as possible and see if it solves the issue.

However, the script I pasted is fired by another script (called docker_backupper.sh, that is the one triggered by the cronjob and whose purpose is firing a specific script for each service to be backed up) and that script has the #!/bin/bash on top, so I fear adding it also to the "invoked scripts" won't change that much

 

I've made the following backup script for my immich stack to be automatically run every day

# Load variables from the .env file
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
set -a
source "$SCRIPT_DIR/../.env"
set +a

# Create a dump of the database and back it up
docker exec -it immich_db pg_dumpall -c -U immich > immich/latest_db_dump.sql
rustic -r $BUCKET_NAME/immich backup immich/latest_db_dump.sql --password=$REPO_PWD

# Backup the library, uploads and profile folders from the upload volume
rustic -r $BUCKET_NAME/immich backup immich/uploads_v/library --password=$REPO_PWD
rustic -r $BUCKET_NAME/immich backup immich/uploads_v/upload --password=$REPO_PWD
rustic -r $BUCKET_NAME/immich backup immich/uploads_v/profile --password=$REPO_PWD

# Apply forget policy
rustic -r $BUCKET_NAME/immich forget $RUSTIC_FORGET_POLICY --password=$REPO_PWD

and when I test it everything works properly, and the created sql dump file is complete and properly backed up.

However, when the execution is triggered automatically by a cronjob (as specified in this crontab line)

"30 3 * * *    root    /home/admin/WinguRepo/scripts/docker_backupper.sh"

(the line is taken from the nixos configuration file, that's why it also contains the user executing the operation)

it seems something breaks in the dumping process, because the script completes successfully but the sql dump file is an empty file (as can be noticed in the following output of rustic -r myrepo snapshots

snapshots for (host [wingu-box], label [], paths [immich/latest_db_dump.sql])
| ID       | Time                | Host      | Label | Tags | Paths                     | Files | Dirs |      Size |
|----------|---------------------|-----------|-------|------|---------------------------|-------|------|-----------|
| 10a32a83 | 2025-01-06 20:56:48 | wingu-box |       |      | immich/latest_db_dump.sql |     1 |    2 | 264.6 MiB |
| 1174bc2e | 2025-01-07 12:50:36 | wingu-box |       |      | immich/latest_db_dump.sql |     1 |    2 | 264.6 MiB |
| 00977334 | 2025-01-08 03:31:24 | wingu-box |       |      | immich/latest_db_dump.sql |     1 |    2 |       0 B |
| 513fffa1 | 2025-01-10 03:31:25 | wingu-box |       |      | immich/latest_db_dump.sql |     1 |    2 |       0 B |
4 snapshot(s)

(the first two snapshots were manually triggered by me executing the script, the latter two instead are triggered automatically by the cronjob)

Any idea about what is causing this behavior?

EDIT: Solution found thank's to @farcaller@fstab.sh comment:

You don’t need -it because you don’t run an interactive session in docker. It might be failing because you ask for a pseudoterminal in an environment where it doesn’t make sense.

[–] shaked_coffee@feddit.it 1 points 3 months ago (1 children)

But if the atproto team actually releases a way to selfhost a relay server as well (and not just a data server), in theory if bluesky enshittifies you could always fork the app, selfhost your PDS and Relay and migrate, while still being able to interact with the people in the "mainstream bluesky".

I know this is a big if, and that at the moment it's not reality, but the Atmosphere it's at leaat 10 years younger than the Fediverse. So I'd say let's not call it shit yet and just see how it evolves...

[–] shaked_coffee@feddit.it -1 points 7 months ago

Maybe take a look at PhotoSync as well, it's not foss but it's a really well-done app and seems to be what you are looking for

[–] shaked_coffee@feddit.it 22 points 7 months ago

Imho the card view redesign was more than needed, thank you!

Big kudos to the thunderbird team, since the supernova announcement they've done a really good job

[–] shaked_coffee@feddit.it 77 points 7 months ago (21 children)

Anyone willing to summarize those mistakes here, for those who can't watch the video rn?

[–] shaked_coffee@feddit.it 4 points 7 months ago

Agree, it doesn't mean the project it bad but it still seems a bit weird. I've texted one of the Dev on Reddit to ask for some clarification about the whole thing, and maybe understand the reasons behind this choices.

Will update you here if they reply

[–] shaked_coffee@feddit.it 6 points 7 months ago (2 children)

As I replied to the other comment, I wasn't aware of the recent happenings. I've been using Floorp for a while now and when I installed it it was fully opensource.

However, it seems like it's fully opensource again now (sources in the other reply)

 

cross-posted from: https://feddit.it/post/9251429

I was previously using PopOS! 22.04 on my tuxedo laptop and I'd installed on it Howdy to take advantage of the IR camera and have a windows hello alike face recognition feature.

Everything was working fine, but after some time GNOME 46 and its new goodies were too tempting to stick with Pop's old GNOME version (at least for me) and therefore I switched to Ubuntu 24.04

However, when I tried to install howdy using the PPAs as I did with Pop I noticed it wasn't working because of some changes that were made regarding on how Python is managed, and I couldn't find a solution for that. Looking at howdy's GitHub issues, there are a lot of them talking about this problem that seems to be started with 23.x versions already, but having so many issues created a bit too much confusion to me and I didn't manage to find a working solution from there.

Is there anyone here using Howdy on Ubuntu 24.04? How have you managed to install it?

 

I was previously using PopOS! 22.04 on my tuxedo laptop and I'd installed on it Howdy to take advantage of the IR camera and have a windows hello alike face recognition feature.

Everything was working fine, but after some time GNOME 46 and its new goodies were too tempting to stick with Pop's old GNOME version (at least for me) and therefore I switched to Ubuntu 24.04

However, when I tried to install howdy using the PPAs as I did with Pop I noticed it wasn't working because of some changes that were made regarding on how Python is managed, and I couldn't find a solution for that. Looking at howdy's GitHub issues, there are a lot of them talking about this problem that seems to be started with 23.x versions already, but having so many issues created a bit too much confusion to me and I didn't manage to find a working solution from there.

Is there anyone here using Howdy on Ubuntu 24.04? How have you managed to install it?

 

Today thanks to a NetworkChuck video I discovered OpenWebUl and how easy it is to set up a local LLM chat assistant. In particular, the ability to upload documents and use them as a context for chats really caught my interest. So now my question is: let's say l've uploaded 10 different documents on OpenWebUl, is there a way to ask llama3 which between all the uploaded documents contains a certain information (without having to explicitly tag all the documents)? And if not is something like this possible with different local lIm combinations?

 

Yesterday I was trying to install the Ubisoft version of AC Odissey on my PopOS! machine, and I wasn't able to do so because when I try to launch Ubisoft Connect from Lutris, it asks me to do the login and then shows only a black rectangle.

I tried looking online for a solution but as far as I understood it's a problem of the new Ubisoft Connect UI and I wasn't able to find any fix... can someone help?

It really sucks because it prevents me to play some games that are supposed to run on Linux just because at the time I bought them on Ubisoft Connect instead of Steam :/

 

I've recently bought my first Tuxedo laptop, an InfinityBook Pro 16 - Gen8 and after having some minor issues with Fedora on it (mainly with the Tuxedo Control Center) I moved to PopOS! and since then it worked flawlessly. Or at least, it used to work flawlessly until last week, when the laptop started to reboot at (apparently) random points of its usage. This is REALLY annoying.

Does anyone encountered the same issue? Have you identified its causes? And how have you fixed it?

 

I recently finished the episode of The Verge's podcast #Decoder with the interview to Bluesky's CEO and it seems a quite interesting project. At the beginning I wasn't looking really into it because of their choice of using a new protocol instead of the existing ActivityPub, but after listening to her and the reasons behind this choice maybe I'll give them a chance.

What do you think? Do you use it alongside with the fediverse?

 

A couple of years ago with my old phone (running if I don't remember wrong Android Pie) and my old laptop (running Manjaro KDE) I discovered KDEConnect and how it could enable a clipboard sharing feature similar to the one Apple provides between Macs and iPhones. It was great! Now, after having changed both my phone (now running Android 14) and my laptop (now running PopOS! 22.04) I wanted to reproduce that magic but I found out that with Android 10 some complications regarding clipboard sharing arrived and so it doesn't work out-of-the-box anymore :(

I found some saying that the only way to do that was by the persistent notification button (still ok but meh) and some others reccomending some adb commands to make it work as it was before (which would be great but I wanted to investigate a bit more before pasting some random commands to my terminal)... but it was all kinda old content (referring to Android 10 or at most 11), what's the situation as of today? Do you use clipboard sync? And if so, how?

 

Since I recently set up a decently powerful homelab, with a bunch of services running on docker behind traefik, I thought it would have been cool to try out selfhosting a matrix homeserver for personal use (at the beginning it will be just me, potentially it will extend to some friends and/or a small organization of around 20 people working together). At first I was thinking about going with Dendrite, but then I've seen it still doesn't support Threads, nor Matrix 1.5 API and that despite the announcement of a couple of months ago its repo hasn't yet be moved to the new element-hq GitHub as it happened with Synapse. This made it seem kinda like a "2nd class citizen" compared to Synapse, and therefore made me think if the latter would have been a better option to selfhost. And then I bumped into Conduit.rs so now I have 3 option to be undecided about!

Therefore, here I am asking for your preferences and advices: which is your favourite one / which one would you recommend for my use-case?

 

I know this question has been asked many and many times, but a) this kind of things can change with time (bugs may get fixed or appear, new generations can fix hw problems and get new ones, etc.) and b) I didn’t find it on Lemmy yet (but maybe this is just me being bad searching stuff in the fediverse), so here it is once again.

So, I need to buy a new laptop and I’m undecided between those two machines that, from what I’ve seen, are very very similar, but not exactly the same (apart from the chassis, that should be exactly the same, right?)… What are some differences I could use to decide?

And, if you own one of this two, would you recommend it? Why/Why not?

 

In the last months, the battery of my S2 tablet was draining really quickly, untill it died and I wasn’t able to recharge it. So, I thought that the battery was dead (it served me for a bunch of years so it could have been acceptable) and I ordered on Amazon a new battery to replace it.

After replacing the battery, though, the tablet turned on saying the new battery was at 50% and, when plugged in, it was acting as if it was charging. Apart from the fact that it wasn’t charging the battery that instead was quickly draining even if plugged in.

Obviously I tried cleaning the charging port, changing cable, changing power adapter, changing socket on the wall, but nothing worked. So I assumed that the new battery they sent me was broken and I purchased a new one but when it arrived: exactly same situation.

Could it be that I was very unlucky and I got a broken new battery twice? Or maybe the problem is somewhere else? Did anyone encounter a similar issue?

view more: next ›