[-] sbeak@sopuli.xyz 1 points 4 hours ago* (last edited 4 hours ago)

When I first switched to Linux, I needed to find a suitable alternative to AIMP on Windows.

At the time I was running Fedora Workstation, so I first tried options that fit the GNOME desktop. The libadwaita apps I tried (G4Music, Amberol, etc) all suffered similar issues to do with shuffle, where it wasn't able to just go to a random track, instead ordering all the tracks randomly once and having a fixed queue. Amberol in particular had bad shuffling, only randomising all the tracks below the one currently playing (so the ones above are unchanged, which is stupid I think). I ended up using Tauon, which had a workable shuffle but admittedly less nice UI. I also remember that Tauon was not very configurable.

Next, I switched to KDE Plasma, so I ended up using Elisa, which fit the KDE desktop, had nicer UI than Tauon, but suffered from the same shuffle issue as the libadwaita apps, so I had to occasionally reshuffle the music to get consistently random tracks.

Having recently switched to EndeavourOS and really getting into the weeds of command line stuff, I decided to try using MPD and the client RMPC (suggested by Bread on Penguins). For god knows what reason, it's the only option that has proper good shuffle that's just randomly going to each track (besides Tauon and, on Windows, AIMP), and it is easily the most customisable. RMPC has excellent documentation making changing the configs super easy!

10
submitted 5 hours ago by sbeak@sopuli.xyz to c/linux@programming.dev

I love MPD and RMPC, it's probably the closest I have gotten to a "perfect" music player, it is super customisable and functional, but there are just a few things that I need to figure out how to change.

First, after each restart, the queue is cleared. How do I make sure that the queue by default is all the songs in my music directory?

Second, after each restart, shuffle (randomise) is reset to off, how do I change it so that shuffle is enabled by default?

Thirdly, is there a way to make MPD pause when headphones are disconnected?

Finally, how do I make MPD block screen lock when music is playing?

For your information, I am running EndeavourOS with KDE Plasma

[-] sbeak@sopuli.xyz 1 points 5 hours ago

Interesting, I might look at that later

[-] sbeak@sopuli.xyz 3 points 10 hours ago

I read an article somewhere about how solar panels can (and are by some countries) keep the ground below cool enough to grow plants and crops and such when the climate is otherwise not suitable to do so. Quite interesting indeed!

[-] sbeak@sopuli.xyz 1 points 12 hours ago

Perhaps that will work. I will try that out!

[-] sbeak@sopuli.xyz 1 points 12 hours ago

Joplin is awesome, super customisable, has many plugins to extend functionality, etc., but the main downside is that markdown files aren't saved as files that can be easily synced with something like Syncthing. Also, Quillpad has a slick UI that matches my theme, which is a nice bonus :0

One thing I will say, Quillpad isn't as customisable as Joplin (the toolbar of different functions can't be modified, for example) but it works for me and I like using it

I also like that you can view many notes at a glance (including some of the description) whereas Joplin only let you see the titles of the notes at a glance I think

[-] sbeak@sopuli.xyz 1 points 23 hours ago

OCR for screenshots sounds super cool :0

[-] sbeak@sopuli.xyz 3 points 23 hours ago

OK, no problem. Post has been edited

[-] sbeak@sopuli.xyz 1 points 1 day ago

I have edited the lost to clarify my requirements!

[-] sbeak@sopuli.xyz 2 points 1 day ago

But to organise notes, you need folders. I'm looking for an app that lets you organise notes in a way that doesn't use folders. (so still able to group notes together and being able to separate them, but not with folders since Quillpad doesn't like folders)

[-] sbeak@sopuli.xyz 2 points 1 day ago

Does Vim have any live markdown preview or plugins that enable that? If it does that would be quite interesting

[-] sbeak@sopuli.xyz 4 points 1 day ago

I don't think Vim has a way to show all my notes in one place, or any way to organise notes? (unless it does, you never know)

Also, Vim-based editors have steep learning curves. It would be cool to learn how to use it, but I want to explore other options before I fall into the rabbit hole

[-] sbeak@sopuli.xyz 4 points 1 day ago* (last edited 1 day ago)

Alternatively, you could suggest an Android markdown editor that does create a folder structure and looks as good as Quillpad (and hence can be used with Obsidian or similar)

Quillpad is hard to best for me though...

43
submitted 1 day ago* (last edited 9 hours ago) by sbeak@sopuli.xyz to c/linux@programming.dev

My main requirement is that I am using Syncthing to sync my notes from my Android phone, which uses Quillpad. Quillpad is amazing and looks super nice, and functional too, but all the notes are in one big folder rather than being subdivided by notebook. So I require a markdown editor that can create "notebooks" but don't change the folder structure of the notes (I tested putting notes in subfolders, and quillpad thought the notes were deleted. Silly Quillpad!)

So the notebooks/similar organisation of notes needs to be specific to the app and should not change the folder structure. I would prefer if the app is open-source too, and something that fits with my desktop (KDE Plasma) would be cool too :D

~~This rules out Obsidian (which puts notes in a folder structure. Obsidian is great, but won't sync well with Quillpad)~~, Joplin won't work either. Ghostwriter is pretty much a markdown notepad (quite good, but can't see all my notes in one place)

I am using EndeavourOS with KDE Plasma

edit: To clarify, I want a markdown editor that is able to separate notes into different groups without using folders as Quillpad doesn't like folders. I also need to have a way to view all the notes at once in each group

Using a code editor VSCodium wouldn't really work as there isn't really a way to organise notes, aside from putting them in folders (which I don't want), and I am not yet ready to jump into the Vim rabbit hole of plugins and configuration

edit 2: Markdown editor to note organiser to satisfy the pedant

edit 3: Looks like Obsidian has tags, so I could use those to organise notes without folders. I will try that and see if it works!

edit 4: Obsidian does have tags, but it seems like you sort by tags by typing tag:#NAME, and you can't use spaces for tags. So not Obsidian then unfortunately. Are there any other options that have a larger focus on tags or similar?

1
submitted 3 days ago* (last edited 23 hours ago) by sbeak@sopuli.xyz to c/asklemmy@lemmy.world

This would be great if you wanted to talk to yourself without anyone understanding what you're saying, for example, or if you didn't want anybody to know what you were writing down. It might also be useful if you enjoy lots of foreign language media (see music, tv shows, movies) and want to experience the "original" rather than through dubs and subs.

Personally, I would go for either Russian, German, or Estonian, all three of which are because I frequently listen to lots of music that are in those languages

23
submitted 3 days ago* (last edited 3 days ago) by sbeak@sopuli.xyz to c/linux@programming.dev

edit 2: Found a video by "SpaceRex" on the differences between BTRFS and EXT4, super helpful! He explained it quite well...

edit: It seems that there isn't much difference between btrfs and ext4 aside from additional features of btrfs, which although I might not need right now, there doesn't seem to be any harm in using btrfs over ext4, so I will be using btrfs.

Which would be better? Fedora shipped with btrfs, does it have any additional features that are good (quick search shows compression, subvolumes, and snapshots as main selling points for btrfs, but are there any downsides?

11
submitted 3 days ago* (last edited 3 days ago) by sbeak@sopuli.xyz to c/linux@programming.dev

update: Using the tar command, I have created a tar archive that respects symlinks, so there aren't any duplicated files, hooray! Now I will go install EndeavourOS, wish me luck!

I was told that I might be able to get help in a dedicated community. I am using rsync to backup my home directory to an external SSD (I will rsync the other way later, this is because I will be reinstalling to a different distro). My laptop uses btrfs while the SSD uses exFAT. When sending files over, file sizes are WAY bigger, the home directory is around 385 GiB and there is over 700 GiB of free space, but it was unable to fit midway through transfer. I partially solved this by uninstalling problematic programs, like Steam and Kdenlive (which can be reinstalled later) and removing large files that I didn't need. Some of the bulk is also due to fit repos it seems (someone said those have loads of links or something?)

The external SSD has files already on it that isn't part of the home directory backup for distro hopping, and it will be used by Windows users (my family) so I can't reformat it. I might buy another external SSD for this purpose if using exFAT to backup is a real problem.

Now that I have successfully transferred my home directory with barely any space to spare, I have a few additional questions:

Once I reinstall and distrohop, will the symlinks come back when going from exFAT to BTRFS or are they gone forever and I'm stuck with massive files?

Will there be any additonal incompatibilities when copying the home directory from exFAT to BTRFS?

Is it safe to use an exFAT drive as a backup for the home directory, or is it better for me to wait until I can get an external SSD that I can reformat to be btrfs?

cross-posted from: https://sopuli.xyz/post/41202990

update: I was able to copy it! There are still some folders that are really big (as many have said, it is probably because symlinks aren't supported in exFAT. When I transfer these files over to btrfs, will the symlinks come back or are they permanently gone?) but, with the uninstallation of Steam and Kdenlive (each taking a ridiculous amount of storage), removing a couple games I don't really play, and removing old folders that lingered around from already uninstalled programs means I now have enough space to fit my home folder in the SSD (like 23 GiB left, so the lack of symlinks still hurts, but still, it fits!)

When running

rsync -Paz /home/sbird "/run/media/sbird/My Passport/sbird"

As told by someone, I run into a ran out of storage error midway. Why is this? My disk usage is about 385 GiB for my home folder, and there is around 780 GiB of space in the external SSD (which already has stuff like photos and documents). Does rsync make doubly copies of it or something? That would be kind of silly. Or is it some other issue?

Note that the SSD is from a reputable brand (Western Digital) so it is unlikely that it is reporting a fake amount of storage.

EDIT: Wait, is it because my laptop SSD is BTRFS and the external SSD is exFAT? Could that be the issue? That would be kind of weird, why would files become so much more bigger with the external SSD?

1
submitted 4 days ago* (last edited 3 days ago) by sbeak@sopuli.xyz to c/nostupidquestions@lemmy.world

update 2: The Linux community has suggested that I use a tar file to backup, as this preserves symlinks. With that, the home directory now takes up just 290 ish GiB, as it should. Now I will be distro hopping, wish me luck!

update: I was able to copy it! There are still some folders that are really big (as many have said, it is probably because symlinks aren't supported in exFAT. When I transfer these files over to btrfs, will the symlinks come back or are they permanently gone?) but, with the uninstallation of Steam and Kdenlive (each taking a ridiculous amount of storage), removing a couple games I don't really play, and removing old folders that lingered around from already uninstalled programs means I now have enough space to fit my home folder in the SSD (like 23 GiB left, so the lack of symlinks still hurts, but still, it fits!)

When running

rsync -Paz /home/sbird "/run/media/sbird/My Passport/sbird"

As told by someone, I run into a ran out of storage error midway. Why is this? My disk usage is about 385 GiB for my home folder, and there is around 780 GiB of space in the external SSD (which already has stuff like photos and documents). Does rsync make doubly copies of it or something? That would be kind of silly. Or is it some other issue?

Note that the SSD is from a reputable brand (Western Digital) so it is unlikely that it is reporting a fake amount of storage.

EDIT: Wait, is it because my laptop SSD is BTRFS and the external SSD is exFAT? Could that be the issue? That would be kind of weird, why would files become so much more bigger with the external SSD?

Thanks everyone for your help to troubleshoot! It was super helpful! Now I need to go to bed, since I've been up so late it's already tomorrow!

1
submitted 5 days ago* (last edited 3 days ago) by sbeak@sopuli.xyz to c/nostupidquestions@lemmy.world

I would like to distro hop to EndeavourOS, and it has been suggested that I use rclone to copy my home folder to an external SSD. Unfortunately, I don't have an external SSD at the moment, but I do have a phone that has plenty of free space. Is it a good idea to back up my computer files to an Android phone? My gut says it's not a very good idea, but I'm not sure why.

39
submitted 6 days ago* (last edited 6 days ago) by sbeak@sopuli.xyz to c/linux@programming.dev

Hello everyone, does anyone know of a batch resizing tool on Linux that can resize loads of images all at once while keeping all the images the same aspect ratio as before? I would like to make all my images in a game have either a width of at least 128 px or height of 192 px (e.g. an image that is 700x875 would resize down to 154x192px, so that width is > 128 px and height = 192 px. I think for most of the images resizing based on height will work, but you never know!)

edit: I have used a for loop that cds into each directory, uses imagemagick to resize all of them to fill/overflow area 128x192 with ^ tag and using morgify to modify in place, then cd back to the parent directory! Thanks everyone

17
submitted 1 week ago* (last edited 1 week ago) by sbeak@sopuli.xyz to c/programmer_humor@programming.dev

Here are some bad puns that are to do with data types. I'm sorry. Comment down some of your own concoctions!

  1. What does a programmer say when they is accused of lying? I promise I'm not boolean you!

explanation of the puns"Fooling" sounds very similar to "boolean", the latter being a data type commonly used when programming. Yes I will be explaining each and every pun. Yes, these puns are not very good at all, I'm not a professional comedian.

The one in the title is a play on words, as "Charlotte's Web" is a book that can be represented using a series of strings, a data type commonly used for storing words and letters, while a literal web is made of strings of silk.

  1. You try to pay with $100 of Monopoly money. in a supermarket. The cashier tells you that it's unfortunately not real.

explanation of the punMonopoly money does not have cents and is made of whole numbers, so it is an integer value, not of the "real" data type!

  1. What would you call fuel made of alphabet soup? CHARcoal!

explanation of punThe data type char stores characters, like the letters of the alphabet. This is a play on words with the word "charcoal", a common fuel used in barbeques and such.

  1. How do Japanese programmers read arrays? By decrementing from -1!

explanation of punMany Japanese texts read from right to left rather than left to right. Reading an array in reverse other would start at -1, getting the last item in the array, and the index would decrease from there. This is in contrast to the non-reverse order of increasing the index 0/1. (Of course, Japanese programmers don't actually read arrays like this usually)

not related to data types, but just came up with it as I was typing this:

f. What did the Python user say to the C++ user when they spilled coffee on their laptop? OOPs!

explanation of the punPython uses object oriented programming, or OOP

3

Hi all, in a live boot of EndeavourOS, the slider for display scaling didn't do anything. Is this a limitation of live boot (or at least EndeavourOS's live boot, since I recall it working with Fedora's live boot)? Like are the drivers required not installed in the live boot, or does EndeavourOS not support this for my particular hardware?

4
submitted 1 week ago by sbeak@sopuli.xyz to c/selfhosted@lemmy.world

Hi all, does anyone know of a good alternative to games like Wordle, Connection, and Skrbbl? Self-hosting puzzle and party games would be fun I think. Preferably options that have intuitive UI (else no one will use them!)

I have found a couple options, awesome selfhosted mentions scribble(dot)rs which seems pretty cool. Awesome selfhosted also suggests "word-mastermind", and the demo instance is down, is it any good? (a quick search shows a bazillion Wordle clones that people have made as a programming challenge. If I had the time I might try making my own, but I have loads of schoolwork on my plate right now)

20
submitted 2 weeks ago* (last edited 2 weeks ago) by sbeak@sopuli.xyz to c/linux@programming.dev

I am thinking of switching from Fedora 43 KDE to EndeavourOS during the holidays, mostly to try out new stuff, it being Arch-based and rolling release. It would also give me an excuse to finally overwrite my dual boot Windows partition that I now never use (initially set up for playing Minecraft Bedrock with my little brother, but with a PaperMC server w/ Geyser and Floodgate, Windows is no longer necessary). This would be my first "distro hop" (technically I switched from GNOME to KDE, but that's not really a distro hop since I didn't reinstall the whole OS), so I have a few questions.

  1. I have a self-hosted Nextcloud, so how do I make sure that my files will sync properly after I hop? (i.e. avoiding reuploading the same files twice when I set it up in EndeavourOS, not losing any of my files) Similar question on Forgejo/Codeberg and git, does it automagically figure out where the remotes are, or is there something else I have to do?

  2. How do I properly move program data/settings/etc? (e.g. default templates for LibreOffice, preferences in Godot, Minecraft worlds and mods installed with Prism Launcher) I understand that some programs have some of that built-in (see settings json in VSCodium, exporting bookmarks from Firefox/using Mozilla account to sync settings) but many programs don't have that functionality.

  3. I am currently very happy with KDE Plasma. I do have to ask, is there another option aside from KDE that is equally or more customisable? Or would it be better to stick with KDE for better support, compatibility, etc.?

  4. Are there any Arch/EndeavourOS-specific quirks that I need to know before making the move?

  5. Finally, does anyone have any tips for distro-hopping? That is, how do I not screw up and lose all my data? I do know that I have to back up all my files before doing this (obviously) in multiple locations.

edit: I have tested a bit in a live boot version of EndeavourOS, and it seems that everything works. Trackpad, Bluetooth, WiFi, sound, etc. all work. One thing I found weird was scaling didn't work (is that just a live boot thing?). Another thing, EndeavourOS uses X11 rather than Wayland like on Fedora. Will that break any programs? (probably not, usually it's the inverse, but just checking)

view more: next ›

sbeak

joined 8 months ago