linux

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

supernicepojo, in linux mint became super slow

Your drive. Get a new one, like today, get your info off that old drive and replace it.

jackpot,
@jackpot@lemmy.ml avatar

fuck

satanmat, in ELI5 the whole Wayland vs X11 going on.

Okay ELI5

X11 is a win doing system. It is old and has been around for years.

Wayland is a new one.

They both are the core that a gui sits on.

Wayland has some great new stuff but some people don’t like change

answersplease77,

which one is lighter/faster on old laptops?

drndramrndra,

Wayland has some great new stuff but some people don’t like change

More like: it was released 15 years ago and it’s still broken for a lot of people, while x11 is actually working without issues.

pastermil, in TIFU by rebooting before rebuilding my initfs

A Gentoo LiveUSB and some chroot would save your day!

taladar,

Adding a netboot.xyz EFI boot menu entry can be useful if you do not need a live system often and do not have a USB stick when you do.

pastermil,

But don’t you need a wired network connection for this to actually work?

taladar,

I have only tried it with wired but it uses ipxe and that is supposed to work with Android USB tethering too to bridge to other kinds of network access.

Anonymouse,

I have the Debian netinst disk, but it doesn’t include the dm-cache modules, so I downloaded the live DVD last night. I only get about an hour a day to work on stuff.

ogeist, in Display blacks out while opening and closing applications on Wayland KDE.

Are you on the open source drivers or in the official ones? You should be using the open source as they are better in this case.

I have the impression it has to do with your monitor as well, could it be some HDR functionality? Try opening the OSD of your monitor and check if something changes when on the application

ogeist,

Also check the AMDGPU archwiki, there are some troubleshooting suggestions you might want to look at.

catfooddispenser, in ELI5 the whole Wayland vs X11 going on.

Dude come on. Make an effort. If you really haven’t a clue then start by reading the KDE developer’s blog “Pointiest Stick” and github user Probonopd and his article + links gist.github.com/…/9feb7c20257af5dd915e3a9f2d1f227…

sentient_loom,
@sentient_loom@sh.itjust.works avatar

STFU

Burghler,

Costs very very little energy to just keep on scrolling buddy pal

purahna, (edited )
@purahna@lemmygrad.ml avatar

Not only is @jacksilver right, but additionally, this article is extremely biased in favor of Xorg and is much more of a (completely unfair and one-sided) take-down of Wayland oriented at technical folks and not at all an explainer for laypeople

jacksilver,

Not OP, but the point of asking for an ELI5 is that sometimes you don’t even know where to start. For example I clicked the link you provided and only have more questions as I don’t really know what people mean by display servers, etc.

Sure I could look everything up and try to understand, but the hope is someone in the community might provide a better or faster summary than what can currently be found online.

baru,

Something similar has been asked loads and loads of times. It’s not needed to investigate, just searching for previous discussions is enough. It sometimes surprises me that people don’t read one of the many times the same was asked before. That said, despite the same questions coming up many times there’s often multiple people who will gladly explain things. So I agree that it doesn’t make sense to complain about it. I’m a bit surprised that nothing would come up though. It really gets asked regularly.

superbirra,

yeah, but the time of web forums with losers banning you because you couldn’t find a post from 17 years earlier on the same subject is long gone. YAY!

jacksilver,

I get your point. I don’t know about OP, but I hadn’t seen a similar thread, but I usually browse all so easily miss posts for specific communities.

Also, I’ve found search on Lemmy hit or miss. The federation aspect of everything makes search sometimes difficult or confusing. For example, what community would most likely have already provided an ELI5 post and how would it have been phrased?

ProgrammingSocks, in Looking to make the switch

Linux Mint Debian!! It’s simple, already set up, easily extensible, and is based on one of the most popular distributions. You can always find out how to do something on Debian and it won’t break on you.

hanke,

Why tve Debian version? I’d recommend Linux Mint as well, but I’d recommend the normal one.

ProgrammingSocks,

Snap being partly proprietary while also being forced on Ubuntu users leads me to avoid Ubuntu derived distros. Plus my philosophy when it comes to Linux is that you wanna stay close to a distro’s upstream, so I only really recommend the big ones like Debian, Fedora, Arch, or openSUSE. The less levels of maintainers the better, essentially.

hanke,

I get your point. But Linux Mint does not have Snap by default, so that does not really apply.

I’d still recommend the normal Ubuntu based one since there is so much easily available help out there for any Ubuntu based system.

The Debian dist is (iirc) just there in case Ubuntu becomes unsuitable as an upstream in the future. I would treat it as a safe backup option, not a primary choice and def. not something I’d recommend to beginners.

But that’s just my take on it :)

bjoern_tantau, in PipeWire 1.0 Released For Managing Audio/Video Steams On The Linux Desktop
@bjoern_tantau@swg-empire.de avatar

I’ve seen so many audio changes on Linux. But Pipewire is the first one without any negatives.

Helix,

Yeah it’s basically Pulseaudio, but better. The devs have done a great job on iterating upon the already pretty good pulseaudio!

gens,

It’s more like JACK for desktop. PA was never good, just obvious bad design.

derphurr, in I'm an idiot (arm)

unar is the free version and should be in Ubuntu

harsh3466,

I’ve got unrar installed already, but what I want to be able to do is add/update files in the rar archives, which unrar can’t do.

Murdoc, in ELI5 the whole Wayland vs X11 going on.

I feel like you guys aren’t really “explaining like I’m 5”. Let me show you:
Sometimes, when a mommyboard and a daddy graphics card fall in love, the daddy graphics card puts his connector pins inside the mommyboard’s expansion slot. Then when they both get turned on, millions of tiny electrons surge out of his connector pins and into her expansion slot, where they travel up through mommyboard’s data bus, and into one of her memory cards. Meanwhile, there are thousands of image files inside mommy’s storage drives waiting to come to life, and every once in a while one of them ventures out of the storage drive and into her memory card. And if the electrons and the image file happen to meet at the same time, then 9 milliseconds later, a picture of a baby appears on the monitor!

PseudoSpock,
@PseudoSpock@lemmy.dbzer0.com avatar

It’s more incestuous than that… It’s a Motherboard with a Daughterboard. 😲

Patch,

What are you doing, step-board?

PseudoSpock,
@PseudoSpock@lemmy.dbzer0.com avatar

Wearing a “hat”!

neidu2,

And wayland represents the overly friendly postman that left the house with a satisfied smirk just as the daddy board came home from his hard workday as an xorg liason.

Hadriscus,

please tag this NSFW

chtk, in What's the best way to have a .bashrc that I can use throughout systems?
@chtk@feddit.nl avatar

You’ll want to look into a category of programs called dotfiles managers. There’s a bunch of them. Most of them are based on some kind of version control system, usually git.

I personally use yadm

gary_host_laptop,
@gary_host_laptop@lemmy.ml avatar

I think I maybe phrased it horribly, my question was more like, what do I need to learn in order to modify myself the .bashrc by myself instead of using a programme. Does it make sense?

OpenStars,
@OpenStars@discuss.online avatar

Bash syntax - I recommend Unix Power Tools by O’Reilly, but it is more advanced so maybe start with a basic version. People look at me funny whenever I say this, but I started myself with something like Unix for Dummies. Why not!?

Keep in mind that this is no trivial task: bash is basically a programming language unto itself - it even has conditionals, loops, variables, etc. Yet SO worth it if you use Unix and want to know more what it is doing.

You also should have a basic familiarity with Unix foundationals as well, to know why something such as this is very dangerous:

export PATH=“~/bin/:$PATH”

So, the easy way would be to just take the nice file, copy it wherever you want, and leave it at that. The hard way of actually understanding it may require a deeper dive into Unix. Unix Power Tools, with the picture of a drill on the cover, or maybe someone will recommend a better option but that’s what comes to my mind.

Have fun!:-)

dream_weasel,

So you can do what you like, but if you are going down the road of shell customization, I recommend you first consider if bash is the shell you want to keep by googling around and reading some articles.

I personally use ZSH (and I cannibalized ohmyzsh for the few configs I wanted instead of taking the whole giant bastard of a thing) but fsh is a fine choice if you don’t care about posix (a different discussion). There are some other options to consider as well, but if you’re gonna configure, don’t do it then do it again in a month with different syntax lol.

gary_host_laptop,
@gary_host_laptop@lemmy.ml avatar

Yeah, recently after posting this I went down a rabbit hole and found out about zsh and fish and I kind of like fish so I’m thinking about going straight to that, what a hard choice.

dream_weasel,

It’s a deep rabbit hole lol.

Elw,

This sounds really similar to how I do things but I use Ansible. What are the advantages to something like yadm, that is specifically designed for dot file management, and a generic config management utility like Ansible?

d3Xt3r, (edited )

I’ve only started using yadm recently so I may not be able to elaborate in detail, but for me the main draw for using yadm (as opposed to Ansible, which I use at work) is the simplicity. It’s basically just a bash script that uses git, so there’s no dependencies besides git and tools installed on most Unix systems. Ansible felt like overkill for what I needed, ie just something to manage and sync my dotfiles.

Also, maybe it’s personal bias, but I really hate installing/using Python-based programs - they often tend to go wild with their dependencies and eventually break. I recall trying to install Ansible on a Raspberry Pi at some point (via pip) and it failed because one of the dependencies couldn’t be compiled for whatever reason. I gave up after trying to fix it for a while, and dropped the idea. I’ve had similar experiences with other large Python projects, there’s always some drama. Why is why I prefer compiled binaries or simple shell scripts like yadm.

I’ve no issues using Ansible at work though. We use it on RHEL so it’s quite stable and doesn’t have the dependency issues you’d get on a bleeding-edge, ever-changing, end-user system. Plus it really shines at the Infrastructure as Code stuff so we use it to automate everything from networking gear to VMs. But I feel it’s overkill for something as simple as syncing a bunch of text files.

Dirk, (edited )
@Dirk@lemmy.ml avatar

I personally use yadm

I just use some code and Git.


<span style="color:#323232;">if [ ! -z "$PS1" ]; then
</span><span style="color:#323232;">    repo="${XDG_CONFIG_HOME}/dotfiles/"
</span><span style="color:#323232;">    br='origin/main'
</span><span style="color:#323232;">
</span><span style="color:#323232;">    title="e[1me[31mn ░▒▓e[7m    %s    e[27m▓▒░e[0mnn%snn"
</span><span style="color:#323232;">    status="$(git --git-dir="$repo" --work-tree="$HOME" status -s)"
</span><span style="color:#323232;">    diff=$(git --git-dir="$repo" --work-tree="$HOME" diff --stat --cached $br)
</span><span style="color:#323232;">
</span><span style="color:#323232;">    [ -n "$status" ] && printf "$title" "Uncommited changes!" "$status"
</span><span style="color:#323232;">    [ -n "$diff" ] && printf "$title" "Not yet pushed commits!" "$diff"
</span><span style="color:#323232;">
</span><span style="color:#323232;">    unset title status diff br
</span><span style="color:#323232;">    alias dotfiles="/usr/bin/git --git-dir=$repo --work-tree=$HOME"
</span><span style="color:#323232;">fi
</span>

The code runs when it’s an interactive shell with a PS1 prompt and just checks if any of the tracked files have changed or if there are commits that are not pushed. By configuration I ignore all untracked files. If something has changed or wasn’t pushed it always prints an annoying message.

Whenever I want to do something I use dotfiles … instead of git …, everything else works the same.

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

This is the fun way. I have a ton of configuration files in git and I symlink to them from various places with an install script. And zshrc has enough brains to determine the OS it’s running under and the hostname. Between those two, I can have it do all the Right Things no matter what system it’s on. So far, it deploys to my personal Mac, my work Mac, my personal Linux box, my SDF account, and my Android phone with tmux.

Basically I clone the repo into .local/share/beejsys and then run the install script and everything just works. And I don’t typically have to rerun the install script after a pull.

amzd,

Do I understand correctly you use the install script for files outside home dir? If so could you share this as I’m running into that issue.

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

No, they’re inside my home directory, alas.

SendMePhotos, in Where can I find work?

What if my experience is 0 but I want to go this route?

SheeEttin,

Get experience. Get the RHCSA cert or something.

agent_flounder, (edited ) in linux mint became super slow
@agent_flounder@lemmy.world avatar

I agree with the other comment to beware and look at getting a new drive in case this one is shitting the bed.

If it were my system I would look for any signs of disk related errors in the logs (likely would show in /var/log/syslog or maybe kern.log).

Also, did you empty your trash (if you used GUI to kill the files)?

You verified the disk has free space right? (Via df or whatever GUI tool, maybe disks or the file manager)

Another thing I might look at out of curiosity is disk io stats. Is the disk swamped with IO for some reason? We’re assuming the bottleneck is disk io but then again maybe something else weird is going on.

agent_flounder,
@agent_flounder@lemmy.world avatar

PS: if the disk fills up after deleting files (with rm) then some process may be the cause. Use the iotop command to show what processes are doing the most reading and writing, similar to top but for io.

If you haven’t you can also hunt down the biggest directories either with a disk usage analyzer or command line. Cd into whatever to level directly (your home dir) then: sudo du -dk | sort -n

SheeEttin,

I would also look at the SMART data and run a test.

mnemonicmonkeys, (edited ) in best foss cad software?

Honestly? Not much. FreeCAD is an abomination, so I’m keeping one of my computers on Windows so that I can still use Fusion360

xuniL,

Last time I checked Fusion360 worked on Linux with Wine/Bottles

mnemonicmonkeys,

Well that’s wonderful news!

bdonvr, (edited ) in Clear Course is Set for openSUSE Leap

I run Tumbleweed on my PCs and Leap on my server.

It feels so weird to update my server after a few weeks and have like no packages to update.

pastermil,

Meanwhile on Tumbleweed: “276 packages to update”

LodeMike, in [Resolved - now using Onboard] Any recommendations for an on-screen keyboard like the one that Windows has. The one that comes with Gnome is annoying to use...

YOU CAN EDIT TITLES???

mmababes,

Yup

LodeMike,

COOL

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