linux

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

TunaCowboy, in Recommendations

“The Linux Command Line” by William Shotts is a fairly comprehensive guide to basic use, you can find a link to the .pdf here: linuxcommand.org/tlcl.php

bionicjoey,

This is my go-to recommendation for anyone wanting to learn the Linux CLI

ransomwarelettuce,

I am familiar with command line, but will check it out, still ought explore the full potential of journalctl.

library_napper, in Mullvad has Deb and RPM repositories now!
@library_napper@monyet.cc avatar

Nice. I accidentally discovered that mullvads wireguard app somehow magically bypasses some captive portals. Yay free internet!

pete_the_cat, in Need some help with Xubuntu networking please.

One of the network managers is apparently set to enable DHCP on the interface it manages, that’s the only reason that I can think of why a device set with a static IP is switching to using DHCP.

You’re going to want to check the systemd units (sudo systemctl list-unit-files --state=enabled, if that doesn’t work you can replace the state flag with –no_pager and grep for enabled ) to see what is managing the interface(s) and then ensure that their config is set to static. You may have two conflicting services like systemd-networkd and NetworkManager fighting.

Tippon,

Thanks, I’ll try that tonight and see how it’s set up.

P.S. Apologies for the slow reply, I accidentally switched accounts and didn’t see the replies here.

pete_the_cat,

No worries, sometimes I end up replying days or a week later myself haha

Tippon,

I couldn’t see anything obvious, but I noticed something else

I noticed last night that the ethernet adapters changed, and the static profiles didn’t update to match. The adapters were named something like enp6so, but used to be enp2so, for example.

The DHCP profiles matched the new device names, and the static profiles were stuck on the old names.

Changing the static profiles to match the updated device names and deleting the DHCP profiles seems to have worked for now, but I don’t know why they changed in the first place.

pete_the_cat,

Glad that helped you, they shouldn’t be changing since the names are based on their location in the PCI bus instead of being generic (eth0, eth1, etc…). IIRC you can specify udev rules to name the devices what you want using UUIDs or something that way you’ll always know what they’re called. I’d suggest reading about Ethernet device naming in Linux if you want to know more.

pete_the_cat,

Glad that helped you, they shouldn’t be changing since the names are based on their location in the PCI bus instead of being generic (eth0, eth1, etc…). IIRC you can specify udev rules to name the devices what you want using UUIDs or something that way you’ll always know what they’re called. I’d suggest reading about Ethernet device naming in Linux if you want to know more.

Tippon,

I’ve always dealt with names like eth0 and eth1 in the past, but now I’m only getting enp2s0 and enp5s0. I assumed that it was something that had changed over the last few years that I hadn’t noticed, but I’ll look into it further. Thanks :)

pete_the_cat,

Yeah,Persistent Device Naming became mainstream a few years back.

neo, in "Combokeys" instead of hotkeys. [Feature/new command suggestion]
@neo@lemmy.comfysnug.space avatar

i prefer key chords as a name for that tbh

people_are_cute, in Flatpack, appimage, snaps..
@people_are_cute@lemmy.sdf.org avatar

The best of them all, αcτµαlly pδrταblε εxεcµταblε.

Build once, run natively on literally any PC OS including Windows and MacOS!

Squid,

Interesting read, love stuff like this but it seems they’d be a lot of dev overhead to truly make something large and agnostic but still gotta commend it!

ipsirc, in "Combokeys" instead of hotkeys. [Feature/new command suggestion]
@ipsirc@lemmy.ml avatar
pete_the_cat, (edited ) in Recommendations

Install stuff, try and make it better but end up breaking it horribly, and then spend time fixing it. This is how I’ve learned everything over the years.

I distro hopped for a few years but eventually settled on Arch over a decade ago. It was a lot more difficult to install back then, but it will still get you comfortable with the CLI if you’re not comfortable with it already. Also, if you don’t know already, Arch pretty much has the best Wiki available and it works with almost all distros since most only differ in package management.

I actually got heavy into Linux during my freshman year of college (2004) back when Linux wasn’t supported for most things, so I wiped Windows off of my PC, and forced myself to use Ubuntu for 2 months, which required me to figure out how to install WINE and Microsoft Office. It was a pain, and after two months I put Windows back on it for dual-boot and ease of use purposes but largely used Linux once I got over the learning hump.

I’d suggest setting up a Level 1 hypervisor like VMware or Proxmox so that you can have multiple things running at once independent of each other, but a Level 2 hypervisor like KVM works just as well, but you have to make sure that you don’t break the host OS somehow hahaha

I’m a Linux System Engineer now 🤓

UnRelatedBurner,

idk how people do this.

  1. I try using linux.
  2. I try playing games.
  3. it says “bad platform” and closes. like what do you do? force the emulation harder?
pete_the_cat,

I’ve never seen an error that just says “bad platform”.

Fixing computer problems is essentially just being good at searching for stuff related to your problem. For example in your problem it would just be googling “Linux bad platform ≤name of game>” and guaranteed someone else has had the same problem and either them or someone else has figured out a fix for it. You then apply that fix, if that doesn’t work, try the next result. If it gives you a new problem, rinse and repeat.

Look up the XKCD comic about fixing a computer, that’s literally how we do it. My dad asked me a similar question to yours, I literally printed out the comic and taped it next to the computer and said “this is what I do”.

About 2 years ago (I’ve been working from home for the past 3 years, a week here or there was spent at my parents), years after I had printed out that comic, he said “I just realized that your job is essentially knowing how to look for the information you need and how to apply it when you find it”. He’s an electrician, so not really the same set of skills haha.

UnRelatedBurner, (edited )

yeah, you’re right. The magic for me is when you dealt so much with this that you just know common errors (like reading java errors). And the bad part is when the google it part doesn’t work.

like recently I figured out that my mouse sends different packets wired and wireless. long story short wireless works bad. And I only found one source, that led to another([1], [2], [3]) but got to lazy caz I just plug my mouse in and the problem is gone, lol

pete_the_cat,

Yeah, you run into common (or uncommon but repeatable) errors often that you’re either like “I know exactly how to handle this” or “I remember running into this before but just need to jog my memory real quick…”

I had a similar odd issue with my HDDs. I had 20 HDDs in my system of various ages, and they would seemingly randomly throw shit tons of R/W checksum errors and drop out of its assigned zpool. It was almost never the same drive. SMART said the drive was perfectly fine. It would happen on brand new drives I got a week ago and drives that were years old. I swapped power cables, SATA/SAS controllers (three different HBAs and 3 onboard controllers) and cables, bought a UPS, etc… and nothing seemed to work. I didn’t think it was a PSU issue since I had a 1.5 KW PSU and my Kill-A-Watt meter was only showing about 600w at full load. This took literal months of troubleshooting. Someone on Reddit finally suggested trying another PSU or limiting the amount of drives attached to the PSU. I bought a cheap 400w PSU and connected about 8 drives to that… and all the errors stopped.

It turns out that there wasn’t enough power supplied on the 5v rails to write the data without errors 100% of the time, but it had enough power supplied on the 12v rail to spin all the motors. First time in 25 years I’d ever seen that, but that was also the first time I’ve ever had like 20 drives connected to one PSU. I was literally about to throw in the towel because drives dropped out on a daily basis, but after like 2 or 3 total dropped no more usually failed.

UnRelatedBurner,

Oh wow, I feel for you. I bet when u did solve it it felt wonderful. That’s the high I’m chasing with software at least.

also side note, as I feel like this thread is over: DANG I love this platform. I’m not even alive for 20 years and your not the first guy on here who gives me free advice from 20+ years of experience. This shit is pure gold for someone who wants to learn. And it’s not even like I’m here to use people, I stayed because how kind and helpful everyone is.

Anyone who reads this in the future, you’re the good side of the internet. I’m showing some threads to my friends from time to time and if it’s more then 3 sentences they’re like “ah, wall of text, I ain readin allat”.

pete_the_cat,

Yeah it was a massive relief! I’m always willing to help and share all of the knowledge I’ve gained over the years, gotta make use of it somehow! Back when I was your age I felt the same way, I was part of a private hacking/security community and dudes would spout out stuff about Linux, Windows, and network tech that I had no idea about and I was always thinking “I aim to be like you some day” 😊

SandbagTiara2816,
pete_the_cat,

Thanks, I was too lazy to look it up.

SandbagTiara2816,

No problem!

ransomwarelettuce,

Yeah actually somewhat of a related experience I been using Linux for 3 years, 2-3 months on Ubuntu then manjaro one week and skipped next to arch till now ( hopped into nix and artix for a while too ).

The experience I have i gained through installing arch from scratch fixing things playing with Wayland and pipewire from the early days.

I am bit scared is of the edge cases, I have a software engineering background, or actually I still into it and was looking for some sources fro the most common problems and how to diagnosi edge case ones.

pete_the_cat,

Nice, so you already have the groundwork laid. It’s a constant learning experience!

nayminlwin,

Yeah, I really only started to learn, when I started resisting the urge to reinstall everything if something goes wrong and instead start trying to properly fix it.

pete_the_cat,

I would always crawl back to Windows, so that’s why I forced myself to just use Linux and force myself to fix everything that popped up, that was the key moment.

brax, in Flatpack, appimage, snaps..

I hate all three. Why do we need to the same dependencies in a thousand different places? There’s gotta be something better between typical software repos and these stupid packed applications.

superbirra,

debian repos are ok w/o using all this shit

subwoofer,
@subwoofer@lemmy.gockandgum.party avatar

Flatpaks work by using a shared runtime, you don’t have the same dependencies in a thousand different places

UdeRecife, in "Combokeys" instead of hotkeys. [Feature/new command suggestion]
@UdeRecife@literature.cafe avatar

Espanso. A text expander that also runs commands.

zkrzsz, (edited ) in Live (Animated) wallpapers programs for linux

There’s a KDE plugin for Wallpaper Engine

store.kde.org/p/1475528

Github: github.com/catsout/wallpaper-engine-kde-plugin

manito_manopla,
@manito_manopla@lemmy.ml avatar

I’m looking for something more universal, that works in any DE or WM and that doesn’t necessarily have to depend on kde plasma

leopold,

Plasma supports animated wallpapers out of the box. No need for third party plugins that rely on proprietary software like Wallpaper Engine.

lemba,

My top choice: KDE Plasma Wayland.

risencode, in Flatpack, appimage, snaps..

I use them all with no issues.

toastal, in Need Some Total Noob Advice for Installing and Running Linux

If looking to put in the work while also leveling up in programming since you have some basic experience already, NixOS/Guix should be on your shortlist.

Both have programmatic, declarative configuration instead of a mangle of configuration files that tend to break with entropy as software developers update config files & it’s very easy to miss a broken build until you restart (I remember when PAM had an update & a lot of folks, including myself, panicked as they could no longer log into their machines). Since these config files are tied to versions of software, such issues are much rarer, & with stateless config you get rollbacks to previous working versions for free. Both ship with a powerful package manager that can replace bad programming language package management & tools with overhead like Docker.

The biggest downside is having to learn Nix (language) or Guile Scheme to be able to script your config, but once you get the hang of it, it’s hard to feel confident in any stateful system & you learned valuable skills for package management.

throwawayish, in How do I change desktop environments on linux mint?

i’d like to try gnome or kde plasma

I’m surprised to see that no one has mentioned the following yet:

KDE Edition

In continuation with what’s been done in the past, Linux Mint 18.3 will feature a KDE edition, but it will be the last release to do so.

I would like to thank Kubuntu for the amazing work they have done. The quality of Plasma 5 in Xenial made backports a necessity. The rapid pace of development upstream from the KDE project made this very challenging, yet they managed to provide a stable flow of updates for us and we were able to ship good KDE editions thanks to that. I don’t think this would have been possible without them.

KDE is a fantastic environment but it’s also a different world, one which evolves away from us and away from everything we focus on. Their apps, their ecosystem and the QT toolkit which is central there have very little in common with what we’re working on.

We’re not just shipping releases and distributing upstream software. We’re a product distribution and we see ourselves as a complete desktop operating system. We like to integrate solutions, develop what’s missing, adapt what’s not fitting perfectly, and we do a great deal of that not only around our own Cinnamon desktop environment but also thanks to cross-DE frameworks we put in place to support similar environments, such as MATE and Xfce.

When we work on tools like Xed, Blueberry, Mintlocale, the Slick Greeter, we’re developing features which benefit these 3 desktops, but unfortunately not KDE.

Users of the KDE edition represent a portion of our user base. I know from their feedback that they really enjoy it. They will be able to install KDE on top of Linux Mint 19 of course and I’m sure the Kubuntu PPA will continue to be available. They will be able to port Mint software to Kubuntu itself also, or they might want to trade a bit of stability away and move to to a bleeding edge distribution such as Arch to follow upstream KDE more closely.

Our own mission isn’t to diversify as much as possible in an effort to attract a bigger chunk of the Linux market, and it’s with a bit of sadness that we’re letting this edition go. We focus on things we do well and we love doing to get better and better at doing them. KDE is amazing but it’s not what we want to focus on.

With Linux Mint 18.3, we’ll release one more KDE edition. I wanted this announcement to come before the release. It will hurt its popularity of course, but I wanted to give users time, either to react right now or to take their time, upgrade and adapt to this later on. I’m sure this edition will be missed and I hope its users understand our decision.”

From this Linux Mint blog post*.

Note that this doesn’t mean that you can’t use KDE Plasma (or GNOME for that matter). Though you have to be aware that you’ll be on your own whenever something breaks. And if you have to ask how to change Desktop Environment in the first place, then I think that you might not be ready yet for such a ride. Instead, consider using a distro that actually does offer GNOME and/or KDE Plasma editions of its distro; the likes of Fedora, openSUSE and Pop!_OS come to mind.

Alph4d0g, in Ending support for Windows 10 could send 240 million computers to the landfill. Why not install Linux on them?

That’s the MS business model in partnership with PC makers. It’s a juggernaut. They’ve operationalized it.

Floshie,

TIL that MS can be either mean MicroSoft or MassiveShit and that they would still mean the same shit

elbarto777,

Did you learn that just today???

violetraven,
@violetraven@lemmy.blahaj.zone avatar

WinTel 2.0 🤢

luthis, in Live (Animated) wallpapers programs for linux

Pretty sure I did with mplayer and/or feh but it was years ago

manito_manopla,
@manito_manopla@lemmy.ml avatar

Apparently it can be done with mplayer, I haven’t tried it yet, but later I’ll see if it works, and if so, I’ll stick with that option

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