towelie

joined 1 week ago
MODERATOR OF
[–] towelie@lemm.ee 6 points 17 minutes ago* (last edited 14 minutes ago)
  • Keeps your progress if you exit without saving
  • Supports tabs so you don't have 5 separate notepad windows open
  • syntax highlighting for programming languages and markdown format
  • plugin support
  • can handle extremely large text files (I've opened 50gb text files and used ctrl+f to find terms and it worked fine)
  • superb tools for manipulating text (e.g., use reg expressions). Super easy and flexible in making mass edits.
  • dark mode support. That alone makes it superior lol

If you just need a quick window open to make a note you might actually prefer Sticky Notes over Notepad!

[–] towelie@lemm.ee 4 points 2 hours ago* (last edited 2 hours ago) (2 children)

Sorry, I misread. What is bad about the UX exactly? You don't need to customize anything if you don't want to; "it just works". And I dont follow you on how having the option to customize things makes it a bad user experience. You're assuming the native UI is bad for some reason.

I've used Plex a lot too back in the day but there's nothing it provides that Jellyfin doesn't do out of the box + self-hosted + for free.

[–] towelie@lemm.ee 1 points 2 hours ago

Man I've been looking for this exact sort of project for ages. Thanks for sharing, OP!

[–] towelie@lemm.ee 2 points 3 hours ago
[–] towelie@lemm.ee 10 points 3 hours ago* (last edited 3 hours ago) (4 children)

You can change the UI design to whatever you want with a custom CSS. Can make your own or there's a plethora of themes on GitHub. I remember trying one that replicated the Netflix app, and don't hold me to it but I think I saw a Plex one as well.

Also, regarding the metadata, there are options that auto populate it for you. Idk how it does it, but my haphazard library of torrents all had accurate metadata AND it downloaded the subtitle files as well.

[–] towelie@lemm.ee 15 points 3 hours ago

I tried Jellyfin two years ago and was so fed up troubleshooting the installation that I swore it off. Tried it again a few months ago and it worked flawlessly! Now I host movies, shows, music, ebooks, and audiobooks for a handful of friends and family. My jellyfin instance is probably siphoning $120/month from Netflix's subscription revenue lol

[–] towelie@lemm.ee 3 points 14 hours ago* (last edited 14 hours ago)

Three of them in government have done it now. Elon did it a few weeks ago, it was widely condemned, and then two other losers (Steve Bannon and another figure who's name I don't know) did it at CPAC in the White House just the other day. You're being disingenuous by refusing to look into it — claiming its leftist rhetoric before youve even looked for yourself — but nonetheless engaging in discourse with us about it. Why won't you at least go look? Then we will have something we can talk about

[–] towelie@lemm.ee 18 points 1 day ago* (last edited 1 day ago)

Same with my partner's American family. They dont believe a word about what's happening. And if we can't turn the domestic terrorists in our homes back to reality what chance do we stand turning back the country.

[–] towelie@lemm.ee 4 points 1 day ago* (last edited 1 day ago)

The Dataview plugin is the most critical one. You can create queries with the metadata in your notes (YAML frontmatter and # hashtags). If that sounded like a bunch of non-sense I highly encourage you to dig into it, because I had no idea what those words meant either but it took my note taking to a new level. I think of my Obsidian vault as my second brain.

Below are some cool examples of vaults that you can click through. Also note that because the obsidian pages are in markdown format you can use the Jekyll engine to directly turn them into web pages without any coding (this is how GitHub Pages works)

https://forum.obsidian.md/t/14-example-vaults-from-around-the-web-kepano-nick-milo-the-sweet-setup-and-more/81788

If you know how to do a bit of coding (or use ChatGPT) you can incorporate APIs from other apps in your obsidian vault. Maybe you want to make a fancy home page that displays all your tasks from ToDoist, alongside the RSS feeds to your favorite podcasts and YouTube channels. Maybe you are tracking your habits and using DataView to compile all relevant instances of #habit tags into one calendar for a birds eye view.

[–] towelie@lemm.ee 6 points 1 day ago

Its a staggeringly powerful app. Utilizing the markdown format and the Dataview plugin to create queries with metadata in your notes allows you to build INSANE knowledge management systems.

Example of some set ups here: https://forum.obsidian.md/t/14-example-vaults-from-around-the-web-kepano-nick-milo-the-sweet-setup-and-more/81788

[–] towelie@lemm.ee 2 points 1 day ago* (last edited 1 day ago) (1 children)

Take a look a SyncThing! It's a free FOSS app for syncing files and is available on all devices, and it's all self hosted. I initially used it for Obsidian syncing, but it's proved incredibly useful beyond that

[–] towelie@lemm.ee 2 points 1 day ago

Cheers I'll skibidi to that

 

The title's a bit disingenuous, I know: this didn't come out of nowhere. White supremacism is as American as Manifest Destiny and has been heavily intertwined with Nazism from its inception. That overlap with the Republican party, and their gradual slip into the extreme far-right, is evident.

But Seig Heils? Even the most dense among them must know that blatant Nazism hurts their legitimacy in the eyes of the public, even among MAGATs (as is evident right now if you peek at their echo chamber on Reddit). Surely they would have a much easier time pushing their rhetoric and establishing their agenda by keeping a purposeful distance from that sort of indefensible imagery and symbolism. How do they expect to keep cohesion in the military when you imply to the soldiers that they are Nazis now, seig heils and all.

Why Nazis?

Any theories as to where this is coming from? Follow the ketamine-fueled leader? A directive for operative Krasnov, from Putin himself, to implode the country? True Nazi beliefs among the Heritage Foundation, Proud Boys, etc? I just don't understand how they thought this would fly. I don't understand anything anymore lol.

 

I hear this is a rite of passage. I made it 4 weeks before I rekt all my shit (it was nvidia related). Where do I claim my sticker?

In all seriousness, now that I understand better these commands that I've been haphazardly throwing around, Id like to do a clean install. God knows what else Ive done to it. Can i just reinstall to my root partition and have my home partition work as expected?

 

I mean I feel stupid typing it now, but I've been using Windows since I was 5 years old, and Linux for about 30 days. It was not apparent to me that many of my folders were actually shortcuts to stuff in my user directory, and now that I know to look out for them the location of my applications make sooo much more sense.

 

cross-posted from: https://lemm.ee/post/56161993

12
submitted 4 days ago* (last edited 3 days ago) by towelie@lemm.ee to c/linux@lemmy.ml
 

Hi all. Today I was messing around with making custom icons in Debian 12 and I was having a heck of a time. I finally figured it out and wanted to share my solution. Below is a .sh script that will automate creating and replacing existing icons.

How it works

The script takes a path to an .svg file as an input argument. It then searches the /usr/share/icons/hicolor folder's subdirectories for .pngs of a matching name, notes their resolutions, and utilizes InkScape to convert the .svg to .pngs and replace the icons.

To utilize, save the script below as an .sh file and provide it an input .svg as follows:

sudo ./icons.sh /home/USERNAME/icon.svg

(note: your input .svg file must match the name of the existing icon you are trying to replace. Check the folder path below to determine the correct name)

Script

#!/bin/bash

# Define the base directory where icons are located
BASE_DIR="/usr/share/icons/hicolor"

# Ensure the script is run as root to modify files in /usr/share/icons/hicolor
if [ "$(id -u)" -ne 0 ]; then
    echo "This script must be run with root privileges to access the icons folder."
    exit 1
fi

# Check if Inkscape is installed
if ! command -v inkscape &> /dev/null; then
    echo "Inkscape is not installed. Please install it and try again. (sudo apt install inkscape)"
    exit 1
fi

# Input SVG file filepath
INPUT_SVG="$1"
if [ -z "$INPUT_SVG" ]; then
    echo "Usage: $0 /path/to/input.svg"
    exit 1
fi

# Validate that the input SVG file exists
if [ ! -f "$INPUT_SVG" ]; then
    echo "Input SVG file does not exist."
    exit 1
fi

# Loop through all resolution folders (resolutions like 16x16, 32x32, etc.) in the /usr/share/icons/hicolor folder
for resolution_dir in "$BASE_DIR"/*x*; do
    # Check if the resolution folder contains an 'apps' subfolder
    if [ -d "$resolution_dir/apps" ]; then
        echo "Found apps folder in $resolution_dir"

        # Extract the resolution size (e.g., 16x16)
        resolution=$(basename "$resolution_dir")

        # Get the name of the input SVG file (without the .svg extension)
        base_name=$(basename "$INPUT_SVG" .svg)

        # Define the target PNG file path in the current resolution folder
        target_png="$resolution_dir/apps/$base_name.png"

        # Check if the resolution folder already contains a PNG file to replace
        if [ -f "$target_png" ]; then
            echo "Found existing $target_png. Replacing it."

            # Use Inkscape to convert the SVG to PNG at the correct resolution
            inkscape "$INPUT_SVG" --export-type=png --export-filename="$target_png" --export-width="${resolution%x*}" --export-height="${resolution#*x}"

            # Confirm creation
            if [ -f "$target_png" ]; then
                echo "Successfully created $target_png"
            else
                echo "Failed to create $target_png"
            fi
        else
            echo "No existing $target_png found. Skipping this resolution."
        fi
    else
        echo "No 'apps' folder found in $resolution_dir. Skipping."
    fi
done

echo "Icon update process complete!"
view more: next ›