towelie

joined 1 week ago
MODERATOR OF
[–] towelie@lemm.ee 1 points 39 minutes ago* (last edited 9 minutes ago)

I'm going to go against the grain here and recommend that you NOT use Mint. I've been using a linux for a month now, so I'm new to it like you.

My first time trying Linux was Mint, and I didn't like it at all. There was too much crap downloaded on it, and it abstracted the underlying systems too much, so I found it all very confusing. I suggest that you download a distro that Mint is based on, and then install the actual stuff you want on it.

Mint is based on Ubuntu, which is based on Debian. I decided to go with Debian as a total noob and it makes waaay more sense to me this time around. I enjoy customizing it to my liking rather than Mint doing it all for me—often in ways I don't like.

[–] towelie@lemm.ee 2 points 46 minutes ago* (last edited 45 minutes ago)

Realistically, we are so fucked. One single bomb on a highway or railway can completely decimate any one of our province's ability to move people or goods and perform services. Our border is too long and wild to be defendable. And they could probably take out our entire military logistics in a single night of bombings. All of this isn't even to mention that if they wanted to go all out insane they could make nuclear threats if the Canadian government doesn’t capitulate. I'm not saying we couldn't resist once occupied, it's just fucking hideous to think about.

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

Just chiming to throw some light hearted shade at lemmy.world for defederating from the piracy communities. My time on lemmy.world was really poor, and I came away not thinking too highly of Lemmy as a whole. My experience in different instances has been a world of difference, and I finally get fantastic content in my feeds and am fully on board with Lemmy

[–] towelie@lemm.ee 1 points 3 hours ago (1 children)

So I accidentally disabled the UserJS toggle, and now I can't interact with the UI at all to re-enable it. Any ideas how I can fix that in the configuration files?

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

Appreciate it. I wish it was a tin-foil conspiracy; the reality is much more grim. We want this, apparently.

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

It's way too early to put on a tin foil hat — and I know nothing about the German election to base this on — but given Trump's comments about Musk potentially helping him commit voter fraud in the USA, paired with Elon's constant meddling in Germany lately, is it too far to suggest that there may be enough evidence to consider that Elon may have meddled in the German election?

I see a lot of people blaming Americans for voting in a fascist, and sure, a lot definitely did; but enough doubt has been sewn for me that I'm not even certain that they did vote Donald Trump in

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

Ugh this takes me back to my electrician days: trying to splice these fuckers in a dark, hot attic, with only a blue-hued headlamp to help you piece out what color everything actually was. Good times.

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

Man I miss my Sony Ericsson. Phones used to be unique

[–] towelie@lemm.ee 3 points 8 hours ago (2 children)

I can't entirely recall the precise details now, but I was trying to uninstall Nvidia and Mesa packages to fix some driver issues. Some mesa-related packages were remaining, and I couldn't figure out why, so I manually typed their names in and purged them, then proceeded to watch python, the desktop environment — everything — all uninstall haha.

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

Sex with a hella sexy robot? Nice.

Using a hella sexy robot to fill the emptiness of no intimacy or authentic mutual connection? Not nice.

For some reason sex with a robot doesn't feel gross to me — until they start using it to fill a hole (hehe)

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

I will never forgive Microsoft for just straight up deleting everyone's (mine) MineCraft purchases and accounts, and then having the gall to tell us to buy it again. It's still in my Microsoft Store purchase history, for Christ's sake.

I'd sooner buy Skyrim 4 more times than buy back what was stolen from me.

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

Definitely. Quite a few are obvious, most are not so obvious because MAGATs sound like broken records anyway; but some are very clearly humans, die hard MAGATs, who are feeling betrayed right now by Trump's antics and the state of the country. Never thought I'd see the day.

Either that, or everyone is a bot and nothing is real anymore (also likely?)

 

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 5 days ago* (last edited 4 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 ›