linux

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

ipsirc, in What is the point of dbus?
@ipsirc@lemmy.ml avatar

dbus can also start a program. For example when one notification was generated and no notification daemon is running, then dbus launch one to handle the request.

RedKrieg,
@RedKrieg@lemmy.redkrieg.com avatar

Doesn’t systemd have the ability to do this as well with unix sockets?

renzev,

I posted this in another comment, but to me it just sounds like this autostart mechanism in dbus is just a poor re-implementation of an init system

cbarrick, in Why do you use the terminal?

I’m a software developer. I think about my interactions with computers as language. And Posix shell is a pretty good programming language.

So interacting with the computer this way just makes sense to my monkey brain.

Tiuku,

I’m a shell user too, but as programming languages I would rate Bash utter garbage. Fine for little piping but for longer scripts I will be reaching for Haskell.

cbarrick,

Shell and Haskell are for different purposes.

Shell is for composing tools that work on text streams.

Haskell is for writing new tools or for programming against other (more structured) data models.

Also, shell programs are small. The interpreter can be tiny. Re-compiling every new tool can add a ton of bloat.

Also also, the key to effective shell programming is to recognize it as a macro language.

kusivittula, in Dual Booting Windows 11 and Fedora Silverblue / Kinoite - how to shrink my Windows partition and where to go from there?

yes partitioning is the correct term, and windows already has a tool for managing disks. you should find it as disk management or something similar. then as you install linux, it should give you the option to install alongside windows. but for this to work you need the usb drive to be flashed correctly as gpt or mbr depending on which one your windows has (type “list disk” in cmd and see if theres * under gpt), and rufus lets you choose this for your distro, so pick the same one. i have heard windows updates may wipe the bootloader, but you should be able to just install it back if that happens. i never update as i only use windows for my school stuff anyway. linux will not wipe windows unless you choose to do so in the installer.

BiggestBulb,
@BiggestBulb@kbin.social avatar

Thank you so much for the detailed answer 🙏

mlg, in KDE's Nate Graham On X11 Being A Bad Platform & The Wayland Future
@mlg@lemmy.world avatar

Nvidia on Wayland moment

Gaming on wayland moment

Battery/Usage on wayland moment

KDE devs making gestures only available on wayland because memes (there is literally a 3rd party github script to achieve the same thing on X11)

X11 being reliable because Xorg devs aren’t stupid

My real issue with Wayland is that it took like 15 years to become acceptably usable. I’ll switch once XFCE moves over in several years, but until then, there is no incentive for worse performance and non exitestent support.

ExLisper,

Exactly. For 10 years the groupthink was that Wayland doesn’t offer anything interesting and X is just fine. Now suddenly everyone who’s still using X is stupid. Amazing what couple of memes can do.

yukijoou,

it’s that wayland wasn’t ready, and now is ready. it took a long time, because building a new protocol like that takes a while if you want to do it well, and lots of coordination between many people. it still has issues, but they’re being adressed. slowly, because x11 was full of half-assed solutions done quickly, and they don’t want that to happen again

dreugeworst,

X11 being reliable because Xorg devs aren’t stupid

Not gonna disagree with the rest of what you said, but the Xorg devs and Wayland devs are mostly the same people

chitak166,

They’ve been working on the same software for 20+ years?

Woah.

tetris11,
@tetris11@lemmy.ml avatar

It’s not about reliability though, X11 is hard to maintain and the devs themselves feel burned out. Wayland at least offloads some of that burden to the desktops

yukijoou,

X11 being reliable because Xorg devs aren’t stupid

xorg devs are wayland devs. nowadays, most of the people that used to work on xorg now work on wayland. they’re not stupid, they realised that x11 is too dated for modern systems (see asahi linux) and now are working on a replacement

wwwgem, in I've started building a TUI for Lemmy
@wwwgem@lemmy.ml avatar

Wish someone would come with something like tut for mastodon.

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

While complex tuis are definitely not my cup of tea (I prefer cli tools to be simple, otherwise I would probably use a proper gui), I’m really happy that I’m not the only one wishing for a way to access lemmy from the terminal.

possiblylinux127, in KDE's Nate Graham On X11 Being A Bad Platform & The Wayland Future

I don’t see why we need convincing that Wayland’s better. Most Linux users either use it currently or are possibly looking to switch in the future. The other people who are not are likely going to use X for eternity

Infiltrated_ad8271,
@Infiltrated_ad8271@kbin.social avatar

I think real X11 fanboys are almost non-existent. Wayland wouldn't be so rejected if it wasn't that it still has a lot of compatibility issues, I think most people just want everything to work and don't care whose fault it is.

lemmyvore,

Yeah I don’t get why some people would think sticking to X is fanboyism. Nobody likes X, let alone love it. Most people’s relation to X is pragmatic, it’s “it works and does everything I need”.

If anything, fanboyism is telling people they have to use Wayland when it doesn’t yet work for what they need it to do.

Just keep improving the damn thing and people will switch when it’s ready. There’s no convincing needed.

mnglw,

exactly this, I’ll use it when it works with no questions asked. I.e: when it becomes invisible to me as an enduser

as for now, it isn’t, far from it

UnityDevice, (edited )

I remember some 10-15 years ago when I’d look at the y windows website every couple of months hoping for some news of progress, simply because I was sick of x11 being so crappy. I hated it, it was so fiddly, it didn’t work right, I just wanted something that worked.
So you can imagine how happy I was when Wayland started taking off. Here was the promise of something better, something that just worked, it sounded amazing. And yet, today I’m still running xorg and I will be for the foreseeable future.

The reason is simply that in the time passed xorg just became usable, I don’t have to think about it, it works reliability, it has all the features I need and I hardly ever have to touch it. Meanwhile, I log into my Wayland session and instantly 3 or 4 of the applications I use daily either don’t work or act weird. I go and try and fix the issues and I’m told to just accept it, or that I actually don’t exist because Wayland works perfectly for everyone. And I’m not even using an Nvidia card, just plain Radeon.

So I quit and go back to what works. Maybe in a couple of years, until then: no thanks.

FiskFisk33, in KDE's Nate Graham On X11 Being A Bad Platform & The Wayland Future

Soo support for something like synergy would be great!

loutr,
@loutr@sh.itjust.works avatar

Input Leap (fork of a fork of synergy) supports Wayland under gnome, although it seems there are a few bugs remaining.

corsicanguppy,

Input Leap

Thank you for this information.

FiskFisk33,

I’ll watch that project with great interest!

mnglw, (edited )

fucking what synergy doesn’t work on Wayland? welp. I use that daily and no, that’s not optional, its rather critical for my setup

Joker, in Experience with KDE on Fedora?

Yeah, it works fine. You might want to tinker with the packages as others have suggested but it’s exactly what you expect from Fedora. The only difference is it’s Plasma instead of GNOME.

I had the same experience with GNOME on the family computer. I had to add extensions to make it more accessible. Then when they auto update you get dumped into vanilla GNOME until you log out and back in to re-enable extensions. I would get called over every time that happened. I switched it to Plasma and everyone is happy.

One thing worth pointing out is the dash to dock/panel, just perfection and appindicator GNOME extensions are all in the Fedora repository. When you install them from there, you don’t get that janky behavior during updates where you have to re-enable them. Those extensions go a long way towards making GNOME more accessible to users coming from Windows or Mac. Default GNOME is great if you use keyboard shortcuts but it’s not very intuitive when you’re starting out.

mortalic,

I don’t think you could have explained this any better… yeah, this exactly. I don’t want to get a phone call every time the update the damn system. Gnome can be different, simple, that’s fine, but it has to do that and get out of the way. If you make changes to it, it has to respect those changes. Everything else is garbage.

clubb, in Which distro in your opinion is the best for virtualization (Windows 10 on either KVM or VMware), stability, and speed?
@clubb@lemmy.world avatar

I know this isn’t the answer you were looking for, but they’re all the same. Arch, Debian, Ubuntu, Fedora, I’ve tried them all, and there isn’t a discernable difference.

mmababes,

Well, I’m currently using VMware on Ubuntu to run Win 10 and Kali Linux. I don’t know what exactly caused the problem, it was either Ubuntu’s updates or VMware’s updates, but now Win 10 is unusable because it crashes (same with Kali Linux)

Ubuntu imho is unstable in and of itself because of the frequent updates so I’m looking for another distro that prioritizes stability.

clubb,
@clubb@lemmy.world avatar

I mean Debian worked well before I fucked up

Shdwdrgn,

I would second Debian for stability, it’s what I use for all my VM servers. I have always preferred KVM however, as I had a lot of trouble with VMware hogging my cpu years ago. KVM has the virtual machine manager available for GUI monitoring but I’m not sure how far it goes for creating new VMs as I’ve always handled the setup directly from command line.

atzanteol,

Frequent updates? Are you on an lts version?

mmababes,

No, I was relatively new to Ubuntu when I started using it so I didn’t have the wisdom to choose the LTS version.

jjlinux,

Since you’ve been on Ubuntu, I would suggest Debian. The commands are pretty much the same across the board, and it’s one of the most stable distros in the wild.

Max_P,
@Max_P@lemmy.max-p.me avatar

Well, I’m currently using VMware on Ubuntu

Well there’s your mistake: using VMware on a Linux host.

QEMU/KVM is where it’s at on Linux, mostly because it’s built into the kernel a bit like Hyper-V is built into Windows. So it integrates much better with the Linux host which leads to fewer problems.

Ubuntu imho is unstable in and of itself because of the frequent updates so I’m looking for another distro that prioritizes stability.

Maybe, but it’s still Linux. There’s always an escape hatch if the Ubuntu packages don’t cut it. But I manage thousands of Ubuntu servers, some of which are very large hypervisors running hundreds of VMs each, and they also run Ubuntu and work just fine.

mmababes,

I just installed QEMU/KVM.

Hopefully, I’ll be able to get it to run Win 10 and Kali

Max_P,
@Max_P@lemmy.max-p.me avatar

It’ll definitely run Kali well, Windows will be left without hardware acceleration for 2D/3D so it’ll be a little laggy but it’s usable.

VMware has its own driver that converts enough DirectX for Windows to run smoother and not fall back to the basic VGA path.

But VMware being proprietary software, changing distro won’t make it better so it’s either you deal with the VMware bugs or you deal with stable but slow software rendering Windows.

That said on the QEMU side, it’s possible to attach one of your host’s GPUs to the VM, where it will get full 3D acceleration. Many people are straight up gaming in competitive online games, in a VM with QEMU. If you have more than one GPU, even if it’s an integrated GPU + a dedicated one like is common with most Intel consumer non-F CPUs, you can make that happen and it’s really nice. Well worth buying a used GTX 1050 or RX 540 if your workflow depends on a Windows VM running smoothly. Be sure your CPU and motherboard support it properly before investing though, it can be finicky, but so awesome when it works.

wildbus8979,

You can install the virtual drivers in windows to get better graphics acceleration.

Max_P,
@Max_P@lemmy.max-p.me avatar

They mostly don’t exist yet apart from this PR.

On Vista and up, there’s only the Display Only Driver (DOD) driver which gets resolutions and auto resizing to work, but it’s got no graphical acceleration in itself.

mmababes,

Thanks for the tip!

Aradia,
@Aradia@lemmy.ml avatar

I use virt-manager GUI to control KVM easily, but you can control anything easily with virsh command lines. I dislike VMware and VirtualBox, neither needed. Also, on terminal client virsh you can do much more configurations than just with virt-manager.

Still,
@Still@programming.dev avatar

virt-manager can also connect to remote hosts over ssh

jjlinux,

Remember that Desktop and Server editions are very different in terms of stability. Ubuntu has got to be one of the, if not the, most widely used linux distros for servers, that’s where the money is really in for them, so it’s more deeply tested before release to the public at large, but in my experience, in the last decade or so, Ubuntu is painfully lacking on too many fronts in it’s desktop versions.

dewritoninja,

My only issue with qemu is that folder sharing is not a great experience with windows guests. Other than that Ive had a great experience, especially using it with aqemu

Kovach, in Using Ubuntu 23.10 with QEMU/KVM. I want to share 3 folders with Windows 10 (guest) but only one is showing up
@Kovach@social.net.ua avatar
mmababes,

I’m trying

sundaylab, in Which distro in your opinion is the best for virtualization (Windows 10 on either KVM or VMware), stability, and speed?

I jumped onto the FreeBSD train a year ago and needed some virtualization tool for my job. A started using bhyve and must say that I am quite happy with it and don’t plan to move to any other tool soon. Not sure how it compares to other tools performance wise but it does the job for me.

boo_,
@boo_@lemmy.blahaj.zone avatar

I’ve really wanted to try bhyve but the lack of hardware passthrough support (PCIe GPU passthrough in my case) compared to KVM keeps me from it as of right now. Looks really good though.

Sethayy,

Any other BSD-based vm’s that do (PCI pass through that is)?

Ive wanted to swap my debian server over for a while, but the occasional windows only software is keeping me in linux (what a time to be alive lol)

jjlinux,

This has got to be 1 of the top 10 comments on “why Linux and not BSD?”

  • “Because I need to use some apps that only run in Windows.”
  • “Why not just use Windows?”
  • “Because (insert any excuse, valid or not)!”

It is, indeed, a funny time to be alive, haha!

boo_,
@boo_@lemmy.blahaj.zone avatar

I think Xen does? It’s available on a few different operating systems but idk how user friendly it is compared to QEMU/KVM or bhyve.

dutchkimble, in need help fixing a hardware problem using linux

Firstly, hats off to you for trying to properly diagnose the problem and trying everything that you did. Hope you find the solution soon. Some random suggestions if you haven’t already tried - clean the battery contacts (I’m not sure of the best method to do so but I’m sure you can find something online), check to see if the problem exists in different screen refresh rates, turn off auto brightness if its on.

This is something to try but not sure how to do this in Linux - dell.com/…/why-does-the-screen-flicker-while-runn…

All the best

dingdongitsabear,

nah, tried that when I had windows on it. that and a bunch of other stuff from the unhelpfulest site on the webz - dell.com. screen rates and resolutions and auto brightness as well. the battery contacts are way too tiny for me to do anything meaningful there. besides, I’m thinking that if the battery is the problem, then there shouldn’t be any issues when running the thing on external power; it’s not like the battery is powering the laptop when connected to external power, it’s running on external power and using the surplus to charge the battery.

LainOfTheWired, in I didn't know where else to ask this, if there is another comm i should ask please lmk. Do you have any suggestions for wireless headphones i can use with linux?
@LainOfTheWired@lemy.lol avatar

If you want something that’s under £100 and don’t mind Bluetooth check out the soundcore life Q30s.

Honesty the first time I tried them I though they cost double what they actually do, and they’ve been my daily driver since.

For some reference I also have some audio technica ATH-M50Xs, but I find these more musical and they have ANC so I daily drive these and use my M50Xs for critical listening when needed( I’ve added that just so you know that I know what decent audio sounds like and don’t think that cheap beats knockoffs are good).

blakeus12,
@blakeus12@hexbear.net avatar

Thank you! I will definitely take a look at those

crony, in Why do you use the terminal?
@crony@lemmy.cronyakatsuki.xyz avatar

I’m just faster in the terminal than a gui

platypus_plumba,

Really depends on the task and how critical it is. I would never use gparted on the terminal, 3 clicks and I’m done in the UI, without risks.

crony,
@crony@lemmy.cronyakatsuki.xyz avatar

there is always fdisk, the tui parition manager.

helenslunch,
@helenslunch@feddit.nl avatar

There’s no way that’s true unless the GUI is straight garbage.

southernbrewer,

How can it not be true though? Terminal shines when you chain together more than one operation.

Imagine doing this in a GUI: list the files in a large directory, ignore the ones with underscores in them, find the biggest file, read the last 1000 lines from it and count the number of lines containing a particular string.

Thats a couple of pretty straightforward commands in a terminal, could take 30s for an experienced terminal user. Or the same task could take many minutes of manual effort stuffing round with multiple GUI applications.

I’m certain that I do tasks like that (ad hoc ones, not worth writing dedicated software for) tens of times in a typical work day. And I have no idea how GUI users can be even remotely productive.

helenslunch,
@helenslunch@feddit.nl avatar

How can it not be true though?

How can it? It’s very simple, it takes far less time to click a mouse than it does to type a command.

Imagine doing this in a GUI: list the files in a large directory, ignore the ones with underscores in them, find the biggest file, read the last 1000 lines from it and count the number of lines containing a particular string.

Okay. I’m imagining it, it’s incredibly easy. What else?

Thats a couple of pretty straightforward commands in a terminal, could take 30s for an experienced terminal user. Or the same task could take many minutes of manual effort stuffing round with multiple GUI applications.

My guy, you’ve never used a file explorer?

I have no idea how GUI users can be even remotely productive.

Back at ya

crony,
@crony@lemmy.cronyakatsuki.xyz avatar

I can type at 100wpm, its a lot faster do just run a couple of programs than open a heavy gui program and try to find the correct button to type.

helenslunch,
@helenslunch@feddit.nl avatar

I don’t care how fast you can type, you can’t type faster than I can click.

If the GUI takes any time to load at all, it’s garbage.

crony,
@crony@lemmy.cronyakatsuki.xyz avatar

That’s where alises and script’s come in, I can make a 20 click’s process in a gui be a single character command in the terminal.

helenslunch,
@helenslunch@feddit.nl avatar

I can make a 20 click’s process in a gui be a single character command in the terminal.

If you can make it a single command in the terminal then you can make it a single click in a GUI and the GUI still wins…

crony, (edited )
@crony@lemmy.cronyakatsuki.xyz avatar

for that I need to know gui codding and code the program it self, in terminal I just tie a few commands together and be done with it.

helenslunch,
@helenslunch@feddit.nl avatar

That’s unfortunate for you but really besides the point.

trevor, (edited ) in Do you mount an embedded Linux file system to the workstation and use your host scripts or do you SSH/SCP and deal with the limited shell commands?

People with PhDs in Vim will laugh at this, but I sometimes connect to remote systems through VS Code SSH connections when I’m working on a project with multiple files on a remote system.

kunaltyagi, (edited )

I’ve used mirror.vim for this. Pretty much similar UX as remote workspaces. Forone off editing, you can do vim ssh://remote/<abs or ~ location>

Sometimes, VS Code-ium is piss poor especially over bad connections but otherwise the remote management is quite awesome

And ofc, there’s emacs with TRAMP mode

  • 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 20975616 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 10514432 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/exception.html.php on line 73