linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

jlow, in New laptop

Have no idea if they’re any good but since you ppstwd this in Linux maybe one from the people that do PopOS:

system76.com/laptops

JoeyJoeJoeJr,

I would not recommend them. I bought a Galago Pro in 2020, and it’s been a huge disappointment. Pop!_OS was very buggy, and their support was not helpful. I ultimately installed Ubuntu, and it’s now significantly more stable, but I’m left asking the question “why did I pay a premium for a clevo, when I’m not getting anything out of the custom software or support?”

Even with Ubuntu, it’s not a good laptop. The speakers are worse than my phone, a fully charged battery will die completely in less than a day when the laptop is suspended, it runs unbelievably hot. As a developer who depends on this machine for daily work, it’s been intensely frustrating.

possiblylinux127,

That’s not the experience I’ve had. Maybe they have gotten better as my battery life is a full day and the speakers are great. I wish it had more thunderbolt but that may be fixed if or when they release there own hardware.

JoeyJoeJoeJr,

The battery life and speakers will certainly be model dependent. The quality of the machine I received and the lackluster support, given the price I paid, are what I find most frustrating. The computer would be fine for ~$600, but I paid over $1000. I paid a premium expecting System76 to hold themselves to a high standard, and so far, they’ve let me down in multiple ways.

I do recognize with a different model, the experience could be 180°, but if buying from them is a roll-of-the-dice, for me personally, that’s enough to buy from someone else next time.

possiblylinux127,

I have this device and it works well. Keep in mind there support is based in Denver Colorado so if your international you may have a issue.

Aurenkin, in Microsoft says a Copilot key is coming to keyboards on Windows PCs starting this month

Can they just make the copilot shortcut on my taskbar permanently fuck off? It appears erratically and I don’t seem to be able to get rid of it when it’s there.

nik282000,
@nik282000@lemmy.ca avatar
Aurenkin,

I dual boot PopOS which has been great. Only use Windows for a couple of games that don’t work well with proton.

nik282000,
@nik282000@lemmy.ca avatar

F. I still have a W10 drive for VR games.

humanplayer2,
@humanplayer2@lemmy.ml avatar

Immerge more! Hide the task bar, use only desktop icons to launch your games.

theshatterstone54,

Use CTT’s winutil. I’m guessing it can get rid of that (and also telemetry and it makes updates less annoying and gives you a Ninite-like way to easily install a bunch of software and apply a bunch of tweaks etc.)

NotSoCoolWhip,

Right click taskbar.

Taskbar settings

Turn off copilot

BiggestBulb, (edited ) in Can't connect to some specific wifis
@BiggestBulb@kbin.run avatar

This sounds like the same issue I went into on my old account multiple times: @BiggestBulb

Edit: found my comment on it: https://kbin.social/m/technology@lemmy.world/t/716519/-/comment/4237782

mhz,

Link is not working

lemmyvore, (edited ) in A tool to filter and reorganise iCalendar (ICS) files?

I think it should be fairly trivial to do with Python and a calendar library, you’d just have to go through the input entries, keep the ones with the properties you like and dump those to the output.

I’m not well versed in Python either but I had a specific calendar problem once — had to clear a calendar storage that went back years and the provider’s UI didn’t let you delete the base calendar — and after looking it up it was a few lines of Python.

That’s probably why you don’t find established tools because every person who runs into this stuff has a super specific need.

flyos,
@flyos@jlai.lu avatar

Thanks! I found something interesting, a function named icalfilter from the ical2html package in Debian/Ubuntu. Very easy to use to filter by categories. Unfortunately, this same package does not exist for openSUSE, but worse case scenario, I can use my Debian server to work on those ICS files.

Telodzrum, in Is DNS Bloat too?

If you can’t remember the IP address of every site you’d like to visit, you don’t deserve the internet.

CaptDust, (edited )

Pro tip, You don’t have to remember it. I have all my favorite IPs in a nice address book, keep it in my drawer next to my passwords

j4k3,
@j4k3@lemmy.world avatar

My DNS Rolodex is beside my slide rule and abacus.

andrew,
@andrew@lemmy.stuart.fun avatar

Ah yes. BIND v1.

snaggen,
@snaggen@programming.dev avatar

My company actually used a whiteboard instead of a DNS for our internal network. We used it as a temp solution during setup, then 5 years later it was still in use. It worked quite well.

user224,
@user224@lemmy.sdf.org avatar

Unironically, I used to remember 3.
2 for servers with internet radios and 1 for google. But I forgot. Except 149.13.0.82.

hihellobyeoh,

I remember 1 of the Google dns ones, only because when trouble shooting network issues it is my go to ip to ping so I know the instant I am connected again.

user224,
@user224@lemmy.sdf.org avatar

Oh, I forgot about DNS servers. Then I remember:
8.8.8.8 - Google
9.9.9.9 - Quad9
1.1.1.1 and 1.0.0.1 - Regular Cloudflare
1.1.1.2 and 1.0.0.2 - Cloudflare “Malware blocking”
1.1.1.3 and 1.0.0.3 - Cloudflare “Malware and adult content blocking”
45.90.30.180 and 45.90.28.180 - NextDNS

And I think 2960:fe::fe is also Quad9, but I’ll have to check. Nope, it’s 2620:fe::fe. So just the ones above.

bionicjoey,

Oh, you like the internet? Name every IP address!

Klear,

127.0.0.1

mons,

0.0.0.0/0

Don’t even get me started with IPv6!

Synthuir, (edited )

I know this one! All credit goes to FauxPseudo@lemmy.world


<span style="color:#323232;">"^s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:)))(%.+)?s*$"
</span>
bionicjoey,

That is a forkbomb and you can’t convince me otherwise

SteveTech,

I can’t say it isn’t a fork bomb, but it does happen to match IPv6 address with regex.

regexr.com/7prgg

umbrella,
@umbrella@lemmy.ml avatar

i dare you to run it

Dirk,
@Dirk@lemmy.ml avatar
Synthuir,

Thanks for the heads up, let me know if it’s fixed now.

Dirk,
@Dirk@lemmy.ml avatar

Looks fine 👍

Hotzilla,

GPT4 was able to explain that

Mixel,
@Mixel@szmer.info avatar

Always have a few paperstickers with My favourite webpages.

kanzalibrary, in Booting up Libreboot T440p laptop with Windows 10 (No NVIDIA GPU Requried)

I’m really curious from this, is there any perfomance impact if we change to Libreboot? if so (boost windows performance at least up to 10%) then I’ll take it for my audio plugins set live. Really cool to see T440p Libreboot-ing here!

Zeon, (edited )

Not that I’ve tested, but the peformance gain would probably be slim. Overall, its running pretty smooth on my setup.

aBundleOfFerrets,

Modern OS pretty much takes completely over after the preboot is done. There will be very negligible difference in the os unless the old firmware was poorly configured (fairly common, admittedly)

lvxferre, in Microsoft says a Copilot key is coming to keyboards on Windows PCs starting this month
@lvxferre@lemmy.ml avatar

Oh “great”, more crap between Ctrl and Alt.

[Grumpy grandpa] In my times, the space row only had five keys! And we did more than those youngsters do with eight, now nine keys!

giloronfoo,

From the picture, it’s just the context menu key with a new key cap.

lvxferre,
@lvxferre@lemmy.ml avatar

Aaaaah. I really, really wanted to complain about the excessive amount of keys.

(My comment above is partially a joke - don’t take it too seriously. Even if a new key was added it would be a bit more clutter, but not that big of a deal.)

lolcatnip,

That’s still a new key for some people. My laptop doesn’t have a context key, for example.

ipsirc,
@ipsirc@lemmy.ml avatar

In my time it was also nine. Back to the roots. ;->

en.wikipedia.org/wiki/Space-cadet_keyboard

GraniteM,
porl,

Why doesn’t my keyboard have a thumbs-up key?!

possiblylinux127, in Linux Distros Evolution - January 2024 Update: Pop!_OS in Decline?

Pop os is incredibly ancient. I imagine it will explode in popularly when Cosmic is released and the distro gets a refresh.

mmstick, (edited )
@mmstick@lemmy.world avatar

2022 was only a year and a half ago, and we ship the latest Linux kernel, firmware, Mesa libraries, NVIDIA drivers and libraries, Pipewire/Wireplumber, ZFS, Firefox, Alacritty, Lutris, Steam, and Rust. Since when did we start considering that to be “incredibly ancient”? The next LTS release is not yet available to base Pop!_OS upon, but we ship newer kernels and drivers than the latest version of Ubuntu.

possiblylinux127, (edited )

2022 did not ship the latest of everything. Check the versions compared to Debian, Ubuntu for Fedora. They are all out of date.

It isn’t a big deal as I use pop os on a work machine with distrobox.

kariboka,

Pop is awesome!

lemmyvore, (edited )

There are people for whom 2 weeks is too old, don’t mind them.

Ironically it’s also this type of user that tends to get in over their head with rolling bleeding distros and destroy their system. 😄

I tend to think about it as the “wild” years, it’s a time in a PC enthusiast’s life when they want to experiment with lots of stuff and only the most fresh will do. But there are lots of people who appreciate a bit of stability more.

buzziebee,

Yeah ignore the hate. I really don’t get what that other poster could possibly be missing. LTS versions are where it’s at anyway. I’ve been loving pop and am looking forward to cosmic (when it’s ready). Like you say with all the kernel and libraries updated it’s totally fine to stay on the LTS.

grimaferve, (edited ) in Linux Distros Evolution - January 2024 Update: Pop!_OS in Decline?

Makes sense to me. I'm a Pop! user since 22.04 and the wait is painful, although the blog posts definitely help a bit. Currently I have no problems but if something breaks I'll try out Nobara I guess. My /home is already partitioned so I can make that hop with minimal loss.

tungah, (edited )

Also switched distros from pop. I’ve had more success with Ultramarine than with Nobara on my nvidia-powered laptop. Check it out if Nobara gives you problems.

grimaferve,

I'm running full AMD on a desktop, I don't foresee any problems here. Hopefully your advice helps someone though!

Showroom7561, in Microsoft says a Copilot key is coming to keyboards on Windows PCs starting this month

Is copilot another windows app I’ll need to uninstall? Thanks for the heads up!

phoenixz,

It should be the reason to switch to Linux, finally, again.

library_napper, in What's your favorite music player on Linux?
@library_napper@monyet.cc avatar

On Android its NewPipe. No ads, free, I can create playlists, and I dont have to store anything local.

ChallengeApathy,

Try RiMusic on F-Droid. FOSS front-end to YT Music, like having Premium without a subscription. Aside from some crashing and offline downloads issues, it’s great.

library_napper,
@library_napper@monyet.cc avatar

Thanks. Just tried it but every time I add one song to the queue, it adds a ton of others to my queue that I did not add. How do I make it stop doing that?

ChallengeApathy,

That’s odd, did you go to an artist’s page directly? I just listen to full albums rather than creating a queue so maybe that’s why I didn’t encounter the issue you’re describing.

MonkderZweite, (edited ) in What is the point of dbus?

Btw, why do i need to start xfce/xfwm with dbus for automount in thunar to work, instead of just running dbus as a service on the side?

renzev,

By “start with dbus” do you mean with the dbus-launch utility? I think it’s needed because it sets some environment variables that thunar uses to actually find and connect to the bus. If you run just the daemon “on the side”, thunar won’t know how to connect to it. Kind of how you need $DISPLAY to be set correctly for X11 applications to work.

anothermember, in What's your favorite music player on Linux?

VLC because it works with everything and it doesn’t try to organise my music collection for me.

limelight79,

Yeah why the fuck does everything have to organize your collections?

I use Darktable for editing pictures; I have my own organization system and do not need Darktable’s help with that…why does Darktable feel the need to be my collection organizer, too? (Because other photo editing programs do it, that’s why, and apparently some people do use that feature. I just don’t need it.)

anothermember, (edited )

It just adds another layer of abstraction when my file manager works just fine. I think it started back in the iPod days, and now you have a generation of people who don’t know how to manage files.

limelight79,

Very possible. I like how Jellyfin and Plex are like, “We’ll use your collection where it sits and try to figure out show name, season, and episode number from your filename convention!” And it mostly works.

Unfortunately when I installed Jellyfin, it put a lot of metadata in my /var partition, which was low on space. Oops on that one. So I had to shut down Jellyfin and delete the data until I get that situation resolved (that partition needs more space anyway).

amju_wolf, (edited )
@amju_wolf@pawb.social avatar

…which is pretty ironic considering that the way they do it (at least in Jellyfin) is extremely limited and for some reason they don’t use the file metadata. Like, I already have all the music metadata correct. So use that, not some fucking filename.

amju_wolf,
@amju_wolf@pawb.social avatar

Because unlike your file manager both Darktable and any decent music player can work with file metadata in addition to the actual files.

And why do they do it? Because most people like to use it that way - instead of painstakingly making sure your files are in the correct folders (and then being fucked when you want to play anything that’s not sorted like that - say, you have everything by artist and album, but now you want to play everything by a specific genre; or in image editing you want to filter by how you rated that picture so you know which one to pick for an edit).

Not everyone needs that, sure. But most people appreciate it - especially if the software does it well.

prole,

You can do all of that with most basic file explorers. I use Dolphin on KDE. Change the view to “details” and right click the top and choose which metadata fields you want to show up. Then you can sort or filter using metadata.

zxk, in Linux reaches new high 3.82%
@zxk@lemmy.world avatar

It was me checking out all the distros

markus99,

based autismo

shalva97,

I have spent 3 days trying to install 64bit Linux on a mini PC which has 32bit UEFI. The funny thing is that this device is so slow probably I will not use it, but I still want to make it work.

Decker108,

What brand is it? I’m waiting for my crowdfunded mini PC which will definitely be running Linux, so I’m curious as to other people’s experiences.

shalva97,

It is a ViewSonic, but I don’t know the model. I have it’s PCB and power supply only. CPU is Intel Atom x5-Z8350. Btw I have already installed Linux on it, was a really good feeling, now it is collecting dust on the shelf :D

Deckweiss, (edited ) in How do I see what pid/process has modified a linux routing table?

The better solution:

sudo apt-get install auditd

Set up watch: sudo auditctl -w /path/to/your/file -p wa -k file_change_monitor

Check log: sudo ausearch -k file_change_monitor


Alternative solution:

If you know the file that is being edited you can set up watches with inotifywait and log it to a file. This may possibly not work because lsof might not be quick enough.

sudo apt-get install inotify-tools

then put this script in autostart


<span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">
</span><span style="color:#323232;">FILE_TO_MONITOR="/path/to/your/file"
</span><span style="color:#323232;">LOG_FILE="/path/to/logfile.txt"
</span><span style="color:#323232;">
</span><span style="color:#323232;">inotifywait -m -e modify,move,create,delete --format '%w %e %T' --timefmt '%Y-%m-%d %H:%M:%S' "$FILE_TO_MONITOR" |
</span><span style="color:#323232;">while read path action time; do
</span><span style="color:#323232;">    # Get the PID of the process that last modified the file
</span><span style="color:#323232;">    PID=$(lsof -t "$FILE_TO_MONITOR" 2>/dev/null)
</span><span style="color:#323232;">
</span><span style="color:#323232;">    # Get the process name using the PID
</span><span style="color:#323232;">    PROCESS_NAME=$(ps -p $PID -o comm= 2>/dev/null)
</span><span style="color:#323232;">
</span><span style="color:#323232;">    # Log details to the file
</span><span style="color:#323232;">    echo "$time: File $path was $action by PID $PID ($PROCESS_NAME)" >> "$LOG_FILE"
</span><span style="color:#323232;">done
</span>

Don’t forget to modify the values at the top of the script and make it executable.

mikey,

They aren’t asking about changes to a file describing the routing config, rather the actual in-use routing config. Unless the routing rules are modified through a couple of files (which I doubt), this doesn’t answer the question.

Cool commands though.

Deckweiss,

My bad, I thought in Linux everything is a file

mikey, (edited )

Well, the routes might manifest somewhere as files, but I don’t expect anyone to be able to viably parse them without commands like ip or ifconfig (or know where the files even are).

Some devices (like disks for example) are very straightforward to use as files, while some other special files (like USB devices) are so weird/ugly to use that everyone uses tools/libraries to access them (like libusb).

This is very off-topic, but there’s a great talk by Benno Rice that talks about this (among many others): youtu.be/9-IWMbJXoLM

Deckweiss,

Thank you for the info and I’ll listen to that talk

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 18878464 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 171

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10502144 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 38