linux

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

Secret300, in Gentoo goes Binary (packages)

That weirdly makes me wanna try it less. That was it’s whole thing. It’s a convenient thing tho

Krause,
@Krause@lemmygrad.ml avatar

Why “less”? Gentoo is about choice, you can still compile all packages, this just gives you the option to install binaries if you prefer that.

Death_Equity, in Could 2024 be the year of the diagonal linux desktop?

I see their point, but they need to stop microdosing if they lack the self-control or memory to keep the walls from getting a bit runny.

tourist,
@tourist@lemmy.world avatar

I never knew people could microdose deliriants

Death_Equity,

Benadryl is basically that.

M500, in eGPU docks?

Makes me wonder if this is a possible future. Just get a small nuc like computer and connect it to an egpu.

Aties,

I went down this path, but mini itx nucs with a GPU slot seemed to be better as long as you’re not using the egpu on multiple devices; if you are, then it might be worth considering just making a PC a host and running sunshine/moonlight. While I haven’t tried connecting to my host on the steamdeck, I have on my laptop and felt like it could be used for gaming

jcarax,

I think dynamic graphics switching would be far preferable for a desktop scenario, but for a laptop an eGPU is an attractive proposition.

Matty_r,
@Matty_r@programming.dev avatar

For sure. It’s something I’ve considered for a while simply because I don’t need that extra heat/noise created by the GPU when I’m only doing my day job.

M500,

My only problem with this is that the docks are like $300. I guess igpus are getting good enough that I’ll probably never need a dgpu again.

Still surprised how well the steamdeck can handle resident evil 4 remake.

I really don’t need better graphics than that. In fact, they don’t even need to be that good.

ursakhiin,

It definitely is, but likely comes with a slight performance sacrifice due to bus speeds.

sparky,
@sparky@lemmy.federate.cc avatar

It’s more than slight! I ran a 3090 in an eGPU for a while and it lost around 40% of performance compared to when it was in my case.

ursakhiin, (edited )

That can depend on a lot of factors, though. From the bus of the enclosure to the speed of the USB port and cables you used.

I wouldn’t have expected a 40 percent drop on the modern USB standards, but I’d still expect a drop. I was thinking closer to 20 percent.

UntouchedWagons, in Experience with KDE on Fedora?
@UntouchedWagons@lemmy.ca avatar

KDE on Fedora is great. My only complaint is by default Firefox doesn’t use the KDE file picker, it uses (presumably) Gnome’s file picker. This is fixable but I shouldn’t have to do it.

juli,

Even the flatpak version? No idea why fedora is still not yet on the flatpak version.

UntouchedWagons,
@UntouchedWagons@lemmy.ca avatar

No idea, I try to avoid containerized software on desktops unless absolutely necessary like discord and jellyfin.

juli,

Why?

SimplyTadpole,
@SimplyTadpole@lemmy.dbzer0.com avatar

I use the Flatpak version of Firefox on Fedora Kinoite and it uses the KDE file picker without problems, I guess it’s an issue with the RPM version.

mortalic,

Oof, that would annoy me greatly. Obviously those are two of the heavier usage items I’d need.

Corngood, in Looking for input regarding finding an IDE (spoilers: involves Emacs and Vim)

I use Emacs + spacemacs in VI mode as a base for all my text editing on both Linux and windows (which is unfortunately required for work on occasion) machines.

For dev environments I mostly use nix + direnv + direnv-mode.

For C# I use the above plus omnisharp-roslyn + lsp-mode.

I tinker in all sorts of languages, and they all have at least basic support in the Emacs ecosystem. The popular ones should have fully functional language servers and debugger adapters.

throwawayish,

I use Emacs + spacemacs in VI mode as a base for all my text editing

Do you specifically prefer using Spacemacs as a base over Doom Emacs? Or is the usage of Spacemacs primarily attributable to it coming earlier to the scene?

Furthermore, as you’re using it in “VI mode”, would it be fair to assume that you’ve got some experience/history with Neo(Vim) as well? If so, what led you to making the switch from (Neo)Vim to Emacs?

For dev environments I mostly use nix + direnv + direnv-mode.

Very interesting! Relying on Nix rather than Distrobox has been something I’ve been pondering upon. But besides the fact that I’m still very new to Nix as an ecosystem, I’ve also got my concerns related to what degree the containers can be sandboxed. Do you happen to have some insights on this?

Corngood,

Or is the usage of Spacemacs primarily attributable to it coming earlier to the scene?

Yeah, pretty much just that. If was to start again now I’d consider other options, but I have no serious complaints about spacemacs. I probably would have never got into Emacs at all if I had to start with vanilla.

Furthermore, as you’re using it in “VI mode”, would it be fair to assume that you’ve got some experience/history with Neo(Vim) as well? If so, what led you to making the switch from (Neo)Vim to Emacs?

Yeah, I used VIM (and I still do when I’m in an unfamiliar environment), but only before neovim existed. IMO Lisp is what makes Emacs great, and vimscript is (was?) an absolute nightmare for anything complex. I don’t think lua is a bad language, but I’ll still take Lisp any day for this purpose.

I’ve also got my concerns related to what degree the containers can be sandboxed. Do you happen to have some insights on this?

What I described isn’t using containers. Nix just provides an environment for processes to run in, and direnv-mode ensures it’s using the right environment for a given buffer in Emacs. So for example I don’t have OmniSharp or dotnet in my user $PATH, but they are provided by the nix expression in a particular project directory. That allows lsp-mode to start OmniSharp as a language server, or I can run dotnet build using the Emacs compile command.

You can define containers with nix and manage them with nixos-container. I do that for testing server deployments, or running sandboxed services, but I’ve never needed something that complex for a dev shell.

throwawayish,

I probably would have never got into Emacs at all if I had to start with vanilla.

Very interesting. I assume this is due to the amount of effort that would have been required for it to acquire some of the functionality you were expecting out of it. Am I right?

IMO Lisp is what makes Emacs great, and vimscript is (was?) an absolute nightmare for anything complex. I don’t think lua is a bad language, but I’ll still take Lisp any day for this purpose.

This is actually a great point that I somehow completely ignored so far. I intend to put my teeth in GNU Guix at some point in the future. As Guile Scheme and Lisp are -to my knowledge- at least in some way related, using Emacs should at least provide an excellent platform for me to get accustomed to what it is yet to come. Thanks for mentioning that!

What I described isn’t using containers. Nix just provides an environment for processes to run in, and direnv-mode ensures it’s using the right environment for a given buffer in Emacs. So for example I don’t have OmniSharp or dotnet in my user $PATH, but they are provided by the nix expression in a particular project directory. That allows lsp-mode to start OmniSharp as a language server, or I can run dotnet build using the Emacs compile command.

That sounds very compelling! Thanks for that insight! Perhaps I should stop procrastinating and get on with learning Nix 😅.

You can define containers with nix and manage them with nixos-container. I do that for testing server deployments, or running sandboxed services, but I’ve never needed something that complex for a dev shell.

Yet another reason in support of learning Nix.

Corngood,

I assume this is due to the amount of effort that would have been required for it to acquire some of the functionality you were expecting out of it. Am I right?

I didn’t really understand what Emacs was at the time, I just got fed up with trying to make vim into an IDE. Out of the box, spacemacs had good language support, modal editing, and looked ‘modern’.

What I love about Emacs now is Lisp and the package ecosystem. I have 396 packages installed, and many of them interact in quite complex ways. When I do a package upgrade it pretty much pulls the latest from the development branch of each package. Some packages haven’t been changed in 10 years, some are changed daily. It’s bleeding edge everything, and things don’t actually break that much. Lisp makes for (obviously IMO) beautiful, simple code, so most packages are a pleasure to fix, extend, or automate.

I intend to put my teeth in GNU Guix at some point in the future.

Me too, but I nix has served me well, so I haven’t been motivated.

throwawayish,

Thank you so much for your insights! Much appreciated!

Some packages haven’t been changed in 10 years, some are changed daily. It’s bleeding edge everything, and things don’t actually break that much. Lisp makes for (obviously IMO) beautiful, simple code, so most packages are a pleasure to fix, extend, or automate.

I want to have a better idea for much time is spend on ‘management’; fix, extend and/or automate etc.

Corngood,

I want to have a better idea for much time is spend on ‘management’; fix, extend and/or automate etc.

Not that much really. I usually upgrade everything once a month or so. The last couple of times were smooth. I think the last problem I hit was:

github.com/emacs-lsp/lsp-mode/issues/4153

This was actually triggered by upgrading omnisharp, which started sending a new notification that lsp-mode didn’t explicitly ignore.

By the time I hit it, that issue had already been reported, so I was able to quickly work around it with a snippet in my main config. I could have also just rolled back omnisharp.

Most problems I’ve had have been solved by upgrading spacemacs to latest.

throwawayish,

Honestly, that’s very encouraging! Thank you so much for providing me with very valuable insights and information! Have a good one! Cheers!

Quazatron, in What is the point of dbus?
@Quazatron@lemmy.world avatar

It would not be created if existing plumbing covered all use cases.

Don’t assume you know better and that developers are simply reinventing the wheel.

turkalino,
@turkalino@lemmy.yachts avatar

Reinventing the wheel? Making new systems which create more problems than they solve? Adding abstractions which actually make things more complex?

Nah, those things have never happened in software

redcalcium,

Every 10 years, a new abstraction layer will be added to the system. I wonder how an average linux desktop would look like under the hood in 100 years.

Quazatron,
@Quazatron@lemmy.world avatar

There is a lot of ‘reinventing the wheel’ in software, and I did not claim otherwise.

When new abstractions are beneficial, other programs take advantage of them and the whole ecosystem moves forward. When they are not, nobody cares and they are ignored and die. In that respect, open source software development is very much like evolution.

Judging by apps using it, looks like this abstraction is indeed useful.

GustavoM, in Gentoo goes Binary (packages)
@GustavoM@lemmy.world avatar

Gentoo “purist”: “Welp, Gentoo is now officially dead.”

Non-gentoo user: “Welp, Gentoo is now just another Arch fork LMAO!”

Ramin_HAL9001, (edited )

Non-gentoo user: “Welp, Gentoo is now just another Arch fork LMAO!”

To be fair, you can still build packages and fine-tune the builds with the Emerge system flags, which is sort-of Gentoo’s killer feature. It is just that they have recognized that most people will install probably 99% of all software without changing the default flags, and so why not give them those packages pre-built.

So I guess this make Gentoo more similar to Nix OS or Guix OS but without the high-tech package manager and dependency resolution.

Donovar, (edited ) in Where can I post questions on how do construct formulas in Onlyoffice/Libreoffice spreadsheets?

Are the numeric values always correctly sorted in the cells below the alpha data cells? IE, youd never have A numeric values, then B numeric values, then more A numeric values?

Also just to be clear, are you putting the results in a single cell, or does the comma in your example denote separation between two cells? I’m guessing two cells. I want to work on this, but I just want to make sure I’m working on the correct thing :)

BlindFrog,

To clarify the first, yes to your example, I think so. I’m trying to optimize my scanning process, so, optimally, yes, I would only record all A numeric values in one go, and not come back to them again for the rest of the list. Good question; I never thought about this as a complication. So, I have shelves among shelves with a strict naming convention and containers with a different naming convention. I’m figuring out how to help me and my family be lazier and just capture the shelf name, then all the stuff there, then move on to the next place.

To clarify the second concern, yeah, I meant to make the comma denote two separate cells. I’m not sure how to make a table on lemmy through the Boost app.

Donovar,

No worries! I just like to be absolutely sure, because I’ve seen a lot of fringe cases in excel that really make you think hard about how you’re going to lay everything out. I just wanted to be sure before I worked on it. I love Excel, though, and wouldn’t have minded doing it over lol.

The formulas in my other reply should absolutely work. Let me know if you need help with that!

Also, I’d definitely be interested in a “Libre/OpenOffice help” group. I think it’s fun finding creative and clean ways to solve things that seem difficult.

Donovar, (edited )

Actually, shoot… After rereading your reply, I might have taken your example data too literally. Are the alpha values truly always alpha and your numeric values always numeric? Otherwise it won’t work, and I’ll have to find another solution.

Donovar, (edited )

Okay, I couldn’t wait so here are my formulas based on the following parameters:

1.) Numeric data always follows in rows after the correct alpha value. IE Anything between A and B values in the A column belong to the A group. Anything between the B and C values in the A column belong to the B group.

2.) You want the output to be in two separate columns.

Given that your input data is in column A and the value “A” begins at A1, here is your formula for B2 (B1 will be empty as there is no numeric value to tie to A1)

=IF(ISERROR(A2/1),“”,A2)

This will put numeric values only that are in column A into column B.

Again, given that your input data is in column A and the value “A” begins at A1, here is your formula for C2 (C1 will again be empty as there is no numeric value for your array in A1)

=IF(ISERROR(A2/1),“”, IF(ISERROR(A1/1),A1,IF(ISERROR(C1/1),C1,1)))

This will put the correct alpha values from column A into column C in the same rows as the numeric values from column B. If something goes really wrong, it will place the number 1.

Given that there are no gaps in your data, you should just be able to fill down and it’ll appropriately put the correct values into columns B and C. At that point, I’d just paste the values of columns B and C into a new sheet (or columns) and sort the data to remove the blank rows.

I just tested it in LibreOffice Calc, and it works perfectly (given those parameters).

Edit: Repeated a word.

BlindFrog,

I definitely feel like saying it again - it works! Thank you. For sure, I can modify the if statement for what I’m working with. Thank you so much!

Donovar,

Any time!

Donovar,

Still thinking about this, if the “alpha” value in column A is actually a date value, this formula would need more checks. Let me know if that’s the case, and I can work something out.

BlindFrog,
Donovar,

Nice!

onlinepersona,

Just FYI, There’s a button called “print screen” or “PrntScr” or something similar on most keyboards. If you hit that, it’ll take a screenshot that you can edit and upload :)

CC BY-NC-SA 4.0

redcalcium, in Using Ubuntu 23.10 with QEMU/KVM. I want to share 3 folders with Windows 10 (guest) but only one is showing up

Maybe check the xml tab? Could it be that those three entries share the same bus id?

mmababes,

These were the respective XML values of the folders:


<span style="color:#323232;">Important Folder A: domain="0x0000" bus="0x05" slot="0x00" function="0x0"
</span><span style="color:#323232;">Important Folder B: domain="0x0000" bus="0x06" slot="0x00" function="0x0"
</span><span style="color:#323232;">Important Folder C: domain="0x0000" bus="0x07" slot="0x00" function="0x0"
</span>

I need Windows and Kali Linux to study for an exam so after VMware stopped working on Ubuntu 23.10, I decided to use QEMU/KVM. Unfortunately, I couldn’t get shared folders or a bridge connection to work in KVM so I decided to just install Debian 12 on my PC and hope that VMware works on it. Shared folders and a bridge connection are must-haves for me.

redcalcium,

I haven’t tried this myself, but it seems if you want to mount multiple virtiofs drives in the guest os, you’ll have to use WinFSP.Launcher instead of default virtiofs windows service. You’ll need to:

  • stop and disable the default virtiofs service,
  • setup WinFsp.Launcher
  • run a command to mount your drive one by one

This wiki has the info on how to do that: github.com/…/Virtiofs:-Shared-file-system#multipl…

eldain, in need help fixing a hardware problem using linux

I would conclude from this that your dc-dc converter is out of whack and only works stable enough for a small range of input voltages. This hardware issue might require a hardware fix at a repair shop :/

dingdongitsabear,

thanks for the input. so no amount of tweaking and kernel switches and MSRs and what not can be utilized to lower or alter the performance so that it behaves? the repair route isn’t likely unfortunately

eldain,

Would you notice if it doesn’t? The screen flickering is obvious, what if your ram and ssd flicker, too? You can tinker with that laptop and try to reduce 3.3 or 5v power rail load with kernel flags, but until someone checks those power rails electrically I wouldn’t trust that laptop to be reliable for anything but a tinkering exercise. We sadly don’t get redundant power IC’s you could switch to, but the failure is common and the involved parts cheap. I wish competent repair shops were more common.

dingdongitsabear,

sure, it’s a decade old device worth like $100, if that. of course this is a tinkering exercise. but I’m referring to the fact that it works perfectly without battery, it obviously has some power limiting then (no speedstep, no turbo). so I was looking to recreate that behavior with the battery.

fiohnah, in What is the point of dbus?

My serious answer, not an argument: Use d-feet to inspect what’s available on the system and session buses. That’ll show the benefit of introspection and a common serialization mechanism.

About the security comments: Some access control mechanisms aren’t just allow/deny, and many need more than socket permissions. Those benefit from DBus policies, and PolicyKit integration helps for more complex needs. You can always DIY it, that’s Linux/FOSS life, but these are great tools to have in your toolbox. I’ll avoid credential passing via sockets whenever I can and have something else do it.

renzev,

Great point about policies! Setting permissions on sockets only gets you so far… I guess if you really wanted to, you could create an individual socket for every method of every resource, and have granular permissions that way. But that would be quite messy

downhomechunk, in What distros have you tried and thought, "Nope, this one's not for me"?
@downhomechunk@midwest.social avatar

Get that downvote finger ready!

Arch.

I know it’s what all the cool kids are using, and I keep trying to like it, but I just can’t get into it. I’m a slacker for life.

UNY0N,

No downvote here my friend. I love arch, but that doesn’t mean it’s for everyone. Plug-and-play distros are great too, they just have different strong points.

downhomechunk,
@downhomechunk@midwest.social avatar

Haha, I’ve been daily driving slackware since the late 90s. I like to tinker and install a lot of stuff. I seem to break anything with an automated package manager and dependency resolution.

UNY0N,

Oops, I seem to have misread you. Haha, ok, wow I am a total linux noob compared to you.

downhomechunk,
@downhomechunk@midwest.social avatar

Nah, I’m just a hobbyist. I’m a n00b compared to all the regulars in the slackware channel on IRC. But I love tinkering and learning. I’d need your help to install vanilla arch, just like you’d probably need mine to get started on slackware. (The slackware install is actually super easy).

I’ve been trying to distrohop the past couple months, see what else is out there. I wasn’t paying attention installing Garuda and borked my EFI partition. I did manage to chroot into my still working slackware partition, but I couldn’t figure out how to re-install grub. So I formatted and did a fresh slackware install.

LeFantome,

I am ok with that. If you would consider keeping the baby after ditching the bath water, maybe give EndeavourOS a try.

downhomechunk,
@downhomechunk@midwest.social avatar

That’s actually next on my list to check out.

slacktoid,
@slacktoid@lemmy.ml avatar

A wild slacker appears.

downhomechunk,
@downhomechunk@midwest.social avatar

Are you your own dependency manager too?

Some day I’m going to get someone in one of these “what distro should I try?” posts to install slackware and fall in love with it.

slacktoid,
@slacktoid@lemmy.ml avatar

Sbopkg has a slackbuild queue generator sqg which builds the dependencies for applications in it for you. apart from that I’m trying to package ROCm.

downhomechunk,
@downhomechunk@midwest.social avatar

Holy crap, how did I forget that existed? I would use that for complex stuff like vlc back in the day.

I’ve not heard of ROCm, but I think I get the gist. It’s something like Cuda for AMD?

Are you going to upload and maintain it if you get it working?

slacktoid,
@slacktoid@lemmy.ml avatar

Its easy to forget it cause the name is forgettable lol.

yeah basically. Its annoying af to build from source.

yeah i would like to do that but baby steps it needs to build and work.

downhomechunk,
@downhomechunk@midwest.social avatar

Come say hi at # on libera.chat if you are so inclined. We’re a group of wild slackers who all met on the main irc channel.

slacktoid,
@slacktoid@lemmy.ml avatar

For sure… And come drop in at :matrix.org if you use matrix. Its an unofficial room btw.

TeaEarlGrayHot, in eGPU docks?

I have extensively used an eGPU (Razer Core X) with an Nvidia RTX 3050 for gaming under Wayland. Using X11 gave me nothing but problems, but Wayland allows for full hotplug capabilities (as long as no monitors are ever connected to the GPU).

Of course, performance is fairly bad with the official Nvidia drivers + Wayland, but it’s good enough to play The Outer Worlds and a few other single player games, which is good enough for me! I have been entirely unable to get external monitors to work with the Nvidia driver (any help would be much appreciated), although they did work (coldplug) with the Nouveau driver.

When I was using Windows, I was able to hotplug/unplug the eGPU with monitors attached, effectively turning the GPU into an external docking station–I am closely following driver improvements, as this would be great to have on Linux to get around the 2-monitor limitation of the Intel iGPU.

Matty_r,
@Matty_r@programming.dev avatar

Hmm, that doesn’t sound great. Can I ask what laptop you were using and which distro?

TeaEarlGrayHot,

I’m using the Surface Laptop Studio with EndeavourOS (basically arch, so I have all the latest packages)–the performance issues stem from Nvidia’s drivers, so AMD should not suffer from the same problems, although I don’t have any AMD cards to test if hotplug with monitors is functional

Maxy, in eGPU docks?

Disclaimer: I have exactly 0 personal experience with eGPU’s.

According to the archwiki:

While some manual configuration (shown below) is needed for most modes of operation, Linux support for eGPUs is generally good.

p_consti,

Can confirm, I’m using a dock (from Razor) daily without problems. Hot switching doesn’t work though, you need to restart X/your display manager to connect or disconnect the eGPU. I’d recommend the gswitch utility to configure the graphics card to be used (on X11). Haven’t tested much on Wayland, but I know that at least Gnome (Wayland only) has trouble mixing eGPU and the internal display if that is important.

lurch,

If you use X and need to restart it, you can probably preemptively use XPRA to proxy your Xclients and move them to the new Xserver, except maybe for those that need low latency or DRM (e.g. games)

Matty_r,
@Matty_r@programming.dev avatar

I don’t think hot switching is an issue. It would be setup and not disconnected unless I’m traveling. Does it use the egpu for everything when its connected? Or can you set it up like hybrid where it’ll only use it for games etc?

p_consti, (edited )

I use it for everything, because I connected my external monitors through the eGPU. wiki.archlinux.org/title/PRIME has a few methods for running only selected applications via the eGPU, but I haven’t tried them. Edit: See also wiki.archlinux.org/title/External_GPU#Xorg for eGPU specific setups.

Matty_r,
@Matty_r@programming.dev avatar

Perfect. Thanks!

vrighter, in Bluefin | The Next Generation Linux Workstation

“the next generation cloud-native”

that’s as far as I got. Cloud native is an immediate, non-negotiable red flag for me

Antiochus,

They need to work on their branding. “Cloud Native” triggers images of subscription services and data mining. But the idea here is that the whole OS and its components are all sort of containerized, so you can just pull pre-configured “cloud” images that are guaranteed to work out of the box to your machine.

  • 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 24442160 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 174

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