Skip Navigation

Search

Firefox @lemmy.world

cursor behaviour ff mobile

I use Fennec F-Droid (This does apply to normal ff mobile). When I hold the space key of the onscreen keyboard to control the cursor in a website's input field it doesn't move character by character but word by word. Is there a flag in about:config that changes it to go character by character instead? Their implementation is buggy and painful for me and the sole reason for why I feel forced to use Brave 😭 pls help

Self Hosted - Self-hosting your services. @lemmy.ml

LMS to Lyrion migration in docker

I have LMS at its latest version (8.5.3) installed on a VM. I hadnàt updated for a while and so decided to do so. To my surprise, I learnt that Logitech Media Server is now called Lyrion Music Server. Has anyone migrated from one to the other in a non-painfull way? I did a quick search. There are some guides for Synology and QNAP servers but I was after a more generic guide for pure docker. Anyone come across any?

Programming @programming.dev

How do I post and store binary data correctly in Laravel?

I have the following migration:

(Schema::create('user_images',function(Blueprint $table){ $table->id(); $table->binary('image'); $table->unsignedBigInteger('user_id'); $table->foreign('user_id')->references('id')->on('users'); });)

And the following corresponding model:

`class UserImage extends Model { protected $fillable=[ 'image' ];

 undefined
        public function user():BelongsTo{
        return $this->belongsTo(User::class);
    }

  

}`

I am trying to create new UserImage records with UserImage::create but it is always failing, I am sending the image data using curl:

curl -v -F image=@$1 $URL/api/users -H "Accept: application/json"

I have tried so many things but I got different SQL-related errors, I am not sure how am I supposed to encode the image data to get them stored, I know that accessing $request->image returns only a temporary path of the image on the HDD.

Android @lemmy.world
  • Change the photo/media picker on Pixel 7?

Hey /c/android

I'd like to change the default media picker for my pixel 7, but I'm not sure how to do it. Right now, a lot of apps are getting me use Google Photos, which I think sucks. For instance, it won't show folders I've created using google gallery.

I like google Gallery better, but more and more apps are pushing me to use photos, and want something that's a bit more intuitive to use.

Are there third party apps I can use to do this, or a way to force my system to use just google gallery?

thanks a bunch

Steam Deck @sopuli.xyz

Unable to connect steam deck to xbox controller

The controller doesnt appear at all in the list of avialable bluetooth devices on the deck

  • I've updated the controllers firmare via accessories app
  • I've also checked in desktop mode its not showing
  • Putting a cable in it connects but I'm aiming for wireless so it can go on the TV

Its a 3rd gen xbox one controller - works fine with the PC

Steam Deck @sopuli.xyz

has anyone managed to run rocm on the deck?

I've been trying to install rocm on the deck following this guide

(https://old.reddit.com/r/SteamDeckTricks/comments/102xxww/guide_how_to_install_rocm_for_gpu_julia/)

with the only exception that i used a generic ubuntu container on podman instead of using distrobox; I reach to the point where i need to use amdgpu-install to run rocm, but when i do it tries to install 30gb of files; which unfortunately it's not feasible on my metered connection and storage (╥﹏╥). From what i saw from this issue on github there should be a way to select only the needed binaries for the specific chipset;

The question is, what should i do to install only the stuff necessary for the deck?

Sorry for the long post.

Fedora Linux @lemmy.ml

power and lock screen management

Hi.

I'm using Fedora KDE spin since last year, and have a need for the commands / a script to change power management and lock screen settings via the console (instead of manually going through the GUI). I tried googling the commands, but feel like I didn't even get into the right direction.

If anyone could point me into the correct direction, that'd be greatly appreciated. A ready solution is nice, but I'd also like to know how to find such things by myself in the future.

Sorry if I use the wrong terminology, I used Windows until switched last year.

Stardew Valley @lemm.ee

How to rotate furniture in Stardew Valley planner?

The URL to the planner in question: https://stardew.info/planner/

Manga @ani.social

Find the title of a time-stop manga

Alright, bear with me since it has been a very long time and I can't get it out of my head. I can't for the live of me find what the title is. My memory may also be jumbled and mixed up so apologies in advance. Heck, I even forgot if this is anime or not, hentai or not and hesitate to ask here, but I think it's probably a manga and not a hentai either. I really wanted to read it again.

All I remember is:

  • The world time is stopped but the time for the characters is not stopped (they still grow old)
  • The ending is somewhat bittersweet as it follows a scene on the beach/sea view with a flock of birds that was once time-stopped, resumed flapping indicating that time has returned to normal
  • The power to stop the time is prolonged by each use (or was it their proximity?)
  • I forgot how both characters meet and this may come from other manga, but I remember it was also time-stop on a busy street and they notice each can still move
Nix / NixOS @programming.dev

[Help] System configuration files check wanted

Hello everyone, I'm very close to finishing my configuration files for NixOS. I have those working on my nixos installation on my external drive, but before I officially move to nixos I'd like to make sure that I'm not doing something wrong.

Could someone please check my config files? (I only use flakes.nix, configuration.nix, home.nix and hardware.nix and I'd say they aren't much complicated.)

My main concearn is that I probably use the import and modules functions wrong (yet somehow they work?). I've read and watched numerous guides for the last 3 months, but I think I still mess this up😅. I think following a bunch of different guides and videos added to the confusion a bit. (A recent guide I read made me have doubts about my set up.)

This is the link to my nixos configs:

https://codeberg.org/BlastboomStrice/dotfiles/src/branch/main/.config/nixos-conf

Hopefully by the end of the next week I'll be p

Fedora Linux @lemmy.ml

Installing flutter on linux immutable distro

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

Hi! I'm a flutter developer and I've recently switched from Ubuntu to Bluefin (based on Fedora Silverblue) I was trying to install flutter and all the dependencies it asks for when running flutter doctor and while for clang++, cmake and ninja I have been able to install them with Homebrew (brew install llvm cmake ninja) and the warning went away, flutter seems not to detect GTK 3.0 development libraries when installed through homebrew (brew install gtk+3)

After having looked a little bit online, I've seen that the problem is probably that it's searching the libraries in the wrong place and in fact even when I run pkg-config --modversion gtk+-3.0 I see the library as missing. Therefore, I tried setting the PKG_CONFIG_PATH env variable to the folder where brew installed my libraries (/home/linuxbrew/.linuxbrew/opt/gtk+3/lib/pkgconfig) and after that the output of the pkg-config progra

Flutter @programming.dev

Installing flutter on linux immutable distro

Hi! I'm a flutter developer and I've recently switched from Ubuntu to Bluefin (based on Fedora Silverblue) I was trying to install flutter and all the dependencies it asks for when running flutter doctor and while for clang++, cmake and ninja I have been able to install them with Homebrew (brew install llvm cmake ninja) and the warning went away, flutter seems not to detect GTK 3.0 development libraries when installed through homebrew (brew install gtk+3)

After having looked a little bit online, I've seen that the problem is probably that it's searching the libraries in the wrong place and in fact even when I run pkg-config --modversion gtk+-3.0 I see the library as missing. Therefore, I tried setting the PKG_CONFIG_PATH env variable to the folder where brew installed my libraries (/home/linuxbrew/.linuxbrew/opt/gtk+3/lib/pkgconfig) and after that the output of the pkg-config program above is the one expected. However, this doesn't seem to

Steam Deck @sopuli.xyz

Black Screen of Death

Steam deck (LCD model) will, at no point, turn on unless plugged into charger or hooked up to the dock, regardless of how much battery is left. No response when trying to do things like booting into bios or anything else. Works perfectly fine when plugged in, docked to TV or standalone. No feedback at all, either, from buttons or trackpad haptics either when unplugged.

I've done a bios/firmware reset thing while plugged in and let that go for a while, following the advice of a Steam community forum (not sure whether the blinking power indicator thing is supposed to stop blinking when it's done, but I definitely let it go for longer than the forum post was saying). Went through the process of going through and enabling the main channel OS updates as well through dev settings and updating didn't fix it.

Have taken the backplate off and everything looks fine (I'm not an expert on mechanical things, though) and

Self Hosted - Self-hosting your services. @lemmy.ml

My internet disconnected and now Piped doesn't work.

I was turning on IPV6 in my router settings, and in order to do so, my router had to reboot, and without thinking, I went ahead. I then realised, my server is connected to said router, so after the router rebooted, I checked and saw that most of the docker containers were fine, except for the Piped container. When I go to the Piped instance that's hosted on my domain, it just brings up a Cloudflare Code 522 Error (I use Cloudflare)

I tried restarting the containers over and over again but no luck. Any advice? I will provide more information if needed.

EDIT: It's now solved, apparently during the reboot my ISP changed my IPv4 address.

Godot @programming.dev

Creating a pixel art game for mobile

I am experimenting with creating a pixel-art mobile game in Godot. I am having trouble with the viewport size regarding the pixel art assets. I've learned that I should set the scaling mode to integer, which adds black bars to the screen. My plan to get rid of the black bars is as follows:

  1. Find a way to resize the main viewport dynamically in runtime
  2. Calculate, based on the device's size, what size the viewport should be
  3. Apply that calculation when appropriate

Before I even try to get a calculation like that going, I want to make sure I can change the viewport's size in the code, which I couldn't figure out myself. I have tried the following:

  • Changing the project settings in a _ready function: Does nothing
  • Changing the project settings in a _process function: Does nothing
  • Setting get_viewport().size in a _ready function: Does nothing
  • Setting get_viewport().size in a _process function: Changes the size of the viewport, but without expanding it
  • Setting `g
Selfhosted @lemmy.world

Migrating away from Android Password Store

Looking to migrate away from APS as it is no longer in active development.
I need a solution that will still enable me to add/remove/change passwords from an Android device, a Linux device, and have all changes sync-up. (In GNU-pass-based APS, it's achieved by a git repo that saves passwords as gpg encrypted files) Preferably, I want it to still be self hosted, F-Droidable, and maybe a migration guide or tool to ease the transition.

Thanks!

Selfhosted @lemmy.world

[Solved] OPNSense accessible on WAN by default?

Solved : I was still on my local network instead of my LTE network, so I was accessing the global ip through the local network, and thus the access page.

Hello,

I am running OPNSense as my router for my ISP and my local network.

When I access my global ip, it lands me on the login page of my OPNSense router. Is that normal?

The only Firewall WAN Rule I added is the rule to enable my Wireguard instance (and I disabled it to test if that was the issue)

I was messing with the NAT Outbound for the Road Warrior setup as explained in the OPNSense Road Warrior tutorial, but that rule is also disabled.

I enabled OutboundDNS to override a local domain.

And I have a dynamic DNS to access my VPN with a FQDN instead of the ip directly.

But otherwise, I have the vanilla configuration. I disabled all of these rules I've created to make sure that they weren't the issue, and I can still access my OPNSense from the WAN interface.

So is that a normal default behaviour? If so, how can I

Steam Deck @sopuli.xyz

Getting my first steam deck tomorrow

Getting my steam deck tomorrow. Already had Linux like steam deck on my laptop a while ago (didn't work well because fuck Nvidia)

But wanted to know what you all think is important to put on a steam deck, that's not something that's not what duckduckgo says with the websites it has. (I worded that horribly)

What are some niche things can I could do/install/play on the steam deck that most people wouldn't really do or think about doing?

I don't know a lot about Linux as I wish but I know a ok ish amount. Just wanting to find anything really interesting or useful to do with my steam deck

Also anybody know any casual games I can play randomly on public transit and don't have to sit down and play. Things that I can just easily stop. (Something like balentro kinda way you can just stop whenever)

Selfhosted @lemmy.world

[Solved] Forward authentication with Authentik for Firefly3

*** For anyone stumbling on this post, and is as newbie as I am right now, forward auth doesn't work with FireflyIII.

I thought that forward auth was the same as a proxy, but in this case, it is the proxy that provides the x-authentik tags.

So for Firefly, set up Authentik as a proxy provider and not a forward auth.

I haven't figured out the rest yet, but at least, x-authentik-email is in my header now.

Good luck ***

Hello,

I am trying to setup Authentik to do a forward auth for Firefly3, using caddy. I am trying to learn External authentication so my knowledge is limited.

My setup is as follows.

By looking at the Firefly doc Firefly doc, I need to set AUTHENTICATION_GUARD=remote_user_guard AUTHENTICATION_GUARD_HEADER=HTTP_X_AUTHENTIK_EMAIL in my .env file. I used the base .env file provided by Firefly and modified only these two lines

Then, in my Authentik, I made a forward auth for a single app

Selfhosted @lemmy.world

SMTP options for Authelia

Hello,

I am trying to setup Authelia using apalrd tutorial.

In the configuration file, I need to setup a SMTP server to send email from.

I am currently using proton mail and they don't have smtp support out of the box, you have to go through their bridge.

I've tried to find tutorial on how to use Proton Bridge CLI to be able to use it as my SMTP locally, but the information seems scarce on that front. (keep in mind that I am no expert).

So my question is as follows : what are my option to have a functional SMTP configuration on my Authelia server?

Thank you