cdombroski

u/cdombroski@programming.dev
0 posts · 19 comments

Recent posts

No posts.

Recent comments

on $HOME, Not So Sweet $HOME · c/linux · 13 pts · 1y

Here's the closest thing we have to a solution: xdg-ninja

It looks in your home for known files and folders outside of the proper xdg locations and tells you if and how you can move them to their proper place

If the package you're using stays up to date and doesn't require much setup, you could plug a dockerTools.buildLayeredImage into the imageFile attribute. The name and the tag in the built image should match what's in the image attribute. An example (busybox is only included for debugging):

        image = "my-calibre-web:latest";
        imageFile = pkgs.dockerTools.buildLayeredImage {
          name = "my-calibre-web";
          tag = "latest";
          contents = [ pkgs.busybox ];
          config.Cmd = [
            "${pkgs.calibre-web}/bin/calibre-web"
            "-p"
            "/config/app.db"
            "-g"
            "/config/gdrive.db"
            "-i"
            "0.0.0.0"
          ];
        };

Having 3 or more identities often causes authentication to fail before it gets around to trying password authentication (or even all the possible keys). Recommend configuring the client to turn off PubkeyAuthentication by default (so that hosts that you don't have a key for will prompt for a password) and specify which key to use on the appropriate hosts using IdentityFile (might need to specifically turn PubkeyAuthentication back on, I don't remember how openssh handles having a default host block with specific host blocks)

on Plex for books? · c/selfhosted · 3 pts · 2y

The calibre content server also serves OPDS. Once you have a OPDS server in place you'll need to point a capable reader at it, but after that syncing and reading happens in the reader.

on *Permanently Deleted* · c/linux · 4 pts · 2y

Typically xdg-ninja will tell you how to set things up so as many dot files and directories as possible end up in the correct xdg location instead of cluttering up the top level of your home directory.

NetworkManager (network interface/connection management)

Pretty sure you mean systemd-networkd here. I find systemd-networkd to be very nice for headless systems, but NetworkManager seems to be a better fit for desktops because of the integrations it has available with KDE/Gnome/system tray

on State of gaming on linux? · c/linux · 2 pts · 2y

steamtinkerlaunch makes running Skyrim with ModOrganizer2 very simple. Other external programs will probably still be tricky though

Ubuntu has significant differences from Debian so it wouldn't make much sense to be able to install it as a "flavor" of Debian. However, *Ubuntu are pretty much already metapackages on top of regular Ubuntu. So instead of having different installers for each one, you could just make it an option during install and provide an easy means to add/switch other options later

I've always used this docker image to do pg upgrades. It runs pg_upgrade to recreate the system tables and copy the user tables (which normally don't have any storage changes). It does require that the database isn't running during the upgrade so you're going to have a bit of downtime. Make sure you redo any changes to any configuration files, especially pg_hba.conf

Nvidia was also the default choice for linux until about 5 years ago. Both companies used to only have closed source drivers and AMD's was not very good. The situation got better when AMD rewrote/open sourced their linux driver in 2017

on eReader recommendations? · c/books · 1 pts · 3y

Not sure if this fits what you're looking for, but FBReader (Android | Apple) on a mobile device is what I use. It can sync your personal books along with reading position and bookmarks using Google Drive and can access any OPDS catalog. It also supports most (DRM-free/unDRMed) formats

on Wayland pros and cons? · c/linux · 5 pts · 3y

Relatedly, pretty sure most autotypers don't work. I know that keepassxc can't do autotype in wayland