suprjami

joined 1 year ago
[–] suprjami@lemmy.sdf.org 10 points 1 year ago

If you run your scripts through https://shellcheck.net it'll pick up things like this. Also available as a Linux package for offline use.

[–] suprjami@lemmy.sdf.org 15 points 1 year ago* (last edited 1 year ago) (5 children)

What have you found bad about bash arrays? I have some simple usage of those (in bash) and they work fine.

[–] suprjami@lemmy.sdf.org 2 points 1 year ago

No worries! I hope this helps you enjoy Flatpak :)

[–] suprjami@lemmy.sdf.org 11 points 1 year ago (2 children)

You added the Flatpak repo as a "system" repo with:

flatpak remote-add flathub https://dl.flathub.org/repo/flathub.flatpakrepo

As such, the downloaded applications are stored by the system in /var like you said.

If you run installs as user installs, eg:

flatpak --user install com.example.appname

Then the application is stored in your home directory, not in /var.

You can also add the Flatpak repo as a "user" repo, eg:

flatpak --user remote-add flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Now all installs will behave as if you passed --user to the install command. All installs will go to your home directory, none will go to /var

[–] suprjami@lemmy.sdf.org 1 points 1 year ago (1 children)

The installer lets you do a custom partition layout.

[–] suprjami@lemmy.sdf.org 10 points 1 year ago (4 children)

It's fine. I give my systems a 20G or 30G root file system.

If you use Flatpak then make sure you do user installs. If you add the remote as a user remote then all installs are user installs.

If you use VMs then create a storage pool for the disks in your home filesystem. I create a /home/libvirt/ for this.

Basically just be mindful not to fill your root filesystem.

[–] suprjami@lemmy.sdf.org 4 points 1 year ago (2 children)

I love XFCE but I use MATE's Caja file manager on mine.

[–] suprjami@lemmy.sdf.org 2 points 1 year ago

Yes. All Flatpak apps can be used on any distro.

I'm using the Fedora Flatpak Firefox on Debian, because Fedora's Flatpak runtime supports Kerberos authentication, the Flathub runtime doesn't.

[–] suprjami@lemmy.sdf.org 4 points 1 year ago (3 children)

Every Flatpak vendor

So who's that? Flathub and Fedora, the latter of who automate the Flatpak builds from distro packages anyway.

If you're using a smaller distro which is not backed by a huge security team then this is probably an advantage of using Flatpak, not a negative.

[–] suprjami@lemmy.sdf.org 26 points 1 year ago (2 children)

aiui apt will compare downloads from repositories against the repository signing key, whereas downloading a deb and installing it manually with dpkg bypasses that.

So theoretically the Debian website could get compromised and provide you a malicious deb package. That has happened to other Linux distros before so it's not entirely unrealistic.

Practically I think that's very unlikely.

I know apt has the --download option if you'd like to fetch deb packages on the commandline, though I'm not sure if apt compares the package with the key during this process. I hope it does. You could probably run apt in verbose mode and hopefully see this happen.

Some references:

[–] suprjami@lemmy.sdf.org 6 points 1 year ago (1 children)

I've tried several dotfile managers, but after adding my files I interact with them so infrequently I forget how to use them.

The thing which finally stuck is this method from Atlassian: https://www.atlassian.com/git/tutorials/dotfiles

Your entire home directory is a bare git repo which ignores untracked files. It's just plain git so there is no additional tool to learn or forget.

I've put my vim plugins as git submodules so they're easily and efficiently tracked and updated too.

 

My favourite song from their album In the Shadow of a Thousand Suns which is a gem of symphonic black metal.

Mostly written by Ken Sorceron during a brief hiatus in the band, it also features Ashley Ellyllon who was the keyboardist from Cradle of Filth.

After this album they dropped most symphonic elements and became a more regular black metal band. However, this album has been in my regular rotation since it came out and is one of my favourite albums of all time.

view more: next ›