There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

linux

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

aurtzy , in (Guix GNU+Linux) Need help with packages with older versions than wanted on the Guix Channel.

I was pretty much finished writing this post until I realized you might be mistaken with how updating packages works - editing the package version field merely changes what Guix thinks the version is, not the actual package version. By modifying the version field, the source code that’s downloaded will change since the download url is conveniently built off the version variable, but the hash - and potentially the build process itself - will also change because of this. You’ll need to additionally update the hash, at the very least.

However, there’s also a comment in the definition stating “Later versions have dependencies on npm packages not yet in Guix”, so unless this comment is outdated, you’ll have to package newer versions of the dependencies too. While I believe that learning Guix packaging has been a very much worthwhile experience, you might want to use something like the flatpak Justin linked if you don’t want to go through the trouble of figuring this out right now, because as far as I can see this will not be as straightforward as just changing a version number.

Of course, I don’t have context on what you read and I didn’t look at the package definition in depth, so in case I’m the mistaken one here or you still want to know how to proceed for future reference, here’s my original post:


The easiest way to do this would probably be to use the command guix package --install-from-file=path/to/file with a file that returns the modified package.

Notably, you’ll want to also include the original define-module expression at the top to pull in necessary code, as well as add an anki at the very bottom which indicates that the file will return the anki definition:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">(define-module (gnu packages education)
</span><span style="color:#323232;">  ...)
</span><span style="color:#323232;">
</span><span style="color:#323232;">(define-public anki
</span><span style="color:#323232;">  ;; modified package here
</span><span style="color:#323232;">  ...)
</span><span style="color:#323232;">
</span><span style="color:#323232;">anki
</span>

The above method should work just fine, but I’d only recommend it for short-term usage since it doesn’t scale well nor does it take advantage of the declarative-ness of Guix.


Alternatively, if you’re looking for a more long-term solution, I would suggest either creating your own channel or setting a custom load path where you can write whatever extra code to include in your configuration. The former is the most ideal, but the latter is much easier to set up, only requiring tweaking the module name and setting an environment variable.

Personally, a channel is overkill, so what I do is globally set the GUIX_PACKAGE_PATH environment variable to my config location where I’ve defined custom modules, which I can then pull into my Guix Home configuration (including modified packages). Feel free to have a look at my config for reference, although it’s still fairly work-in-progress right now: github.com/aurtzy/guix-config

If you haven’t heard of David Wilson (a.k.a. System Crafters), he’s a great resource for learning Guix stuff, and has his own Guix Home configuration that you can check out as well: github.com/daviwil/dotfiles/tree/guix-home

atomic , in Arch Linux vs. Manjaro Linux (meme)

for me, Debian -> Ubuntu -> Arch -> Artix -> Void -> Gentoo. I’ll reach my final form when I finally run LFS.

infinitevalence ,
@infinitevalence@discuss.online avatar

Debian for prod, Manjaro for gaming.

Titou ,

One of if not the worst Linux distros opinio i've ever seen.

entropicdrift , in Arch Linux vs. Manjaro Linux (meme)
@entropicdrift@lemmy.sdf.org avatar

I use Mint, Arch (technically Asahi), Debian, Ubuntu, and I used to use Manjaro.

They all have their places. Mint has the best UI/stable no-fuss desktop experience, for instance.

KindaABigDyl ,
@KindaABigDyl@programming.dev avatar

Arch does not have a place though. It’s just a more buggy Arch with a worse maintaining team

EDIT: Actually, tbh it’s incorrect to even call Manjaro Arch. That’s an insult to Arch

entropicdrift ,
@entropicdrift@lemmy.sdf.org avatar

Arch … [is] just a more buggy Arch

I know you meant to say Manjaro, but that’s a pretty funny take.

KindaABigDyl ,
@KindaABigDyl@programming.dev avatar

Oops lol

Leaving in

Shareni ,

Don’t forget that it’s repo has less packages and that they’re delayed by two weeks for absolutely no reason. Not only opening users to potential hacks, but also messing up AUR package installation.

Manjaro is Arch’s glue eating cousin

Justin , in IRC Clients
@Justin@apollo.town avatar

I’m curious what keeps you on IRC and stops you migrating to Matrix?

ellipse ,
@ellipse@lemmy.dbzer0.com avatar

I’m guessing it’s because IRC is proven, robust, simple, and has established communities. It’s also extensible and can be run on anonymous networks like i2p

  • said as a non IRC user
Honkinwaffles , in NVIDIA GeForce RTX 4060 vs. AMD Radeon RX 7600 Linux Gaming Performance Review

Seeing the RX 7600 leap so far ahead in higher resolutions in CS is interesting. Ultimately both seem… ugh.

elderflower OP ,

Both team green and team red thought they could charge pandemic era scalper prices this generation, which of course wont happen because ETH mining is dead

Honkinwaffles ,

I wonder if we will ever see a proper return to form for GPU pricing. As you mentioned, most if not all other PC hardware has come down to pre-pandemic pricing but without GPUs joining them it makes budget builds impossible*

elderflower OP ,

Unfortunately, I think no. Nvidia sells every AI chip wafer they can get from TSMC, so if gamers won’t pay the same margins as datacenter customers Nvidia will simply stop selling to them. As such, Nvidia does not need consumers/home users anymore.

As for AMD, they just decided their pricing strategy is “whatever Nvidia does, but 10% cheaper”

myogg , in Dell display manager or substitute on Linux?

I’m not very familiar with that software, what features does it have that you want to use?

herrvogel OP ,

I mainly want to be able to adjust the split of the picture-by-picture mode. By the default, the monitor splits the display 50-50 between the two inputs. It can, or at least should according to the official documentation that I currently have open in another tab, change that ratio but apparently that can only be done through the control software.

edit: nvm, turns out it can only adjust that ratio when connected to the same computer. And only on windows and mac. Meh.

myogg ,

It sounds like this software was made to address a problem that exists in Windows, poor window management options. Although with Win11 it’s been significantly improved.

Have a look into tiling window managers, or tiling add-ons for major desktop environments. You can split windows in all different arrangements without any extra software or splitting inputs.

Personally I’m using KDE and it’s built in tiling options work very well.

herrvogel OP ,

I’m familiar with the tiling options on Linux.

But what I’m trying to do is beyond any window manager. I was trying to play with the “tiling” of different display inputs from different sources. One input from my desktop and one from my work laptop. The monitor can display those two inputs side by side just fine, but I wanted it to split the screen 80-20 between the inputs instead of the default 50-50, which can only be done by the monitor firmware. Some monitors have that feature, but apparently mine can only do that when both inputs are coming from the same source, which is… meh. Why mess around with 2 inputs coming from the same computer when any major OS in 2023 has decent tiling capabilities already?

myogg ,

Oh I see your use case now. Yeah agreed, bit of a useless feature. My monitor supports PiP but not in way that makes it feasible to get work done on both, it’s only really good for a full screen video.

Someone else mentioned RDP/VNC which could work well, if your work computer allows it.

kaleissin ,
@kaleissin@wandering.shop avatar

@myogg @herrvogel I'd like ease for tiling into 3x2 or 3x3 frankly, 2x2 is a bit big on the larger monitors 80X25 FTW

myogg ,

KDE can already do any arrangement of tiling though?

joe , in Linux Kernel 6.4 Officially Released, This Is What's New - 9to5Linux

noob alerti heard a while back that the linux kernel was getting “Rusty.” why change to Rust when you have C, and does this not create backward compatibility issue?

and also, does Linus Torvalds always release the kernel updates himself? and does this mean that we are doomed if he dies (like the shit that went down the Tolkien died, with the lame Lord of the Rings crap)

Choctaw OP ,
@Choctaw@lemmy.radio avatar

I seem to remember rust support was for writing drivers. Rust is the new language to get rid of buffer overflows and memory issues the programmer in C had to manage manually, so much more secure. And Linus just manages the kernel and doesn’t contribute code, so it should continue just fine without him. And it’s open source, so it can be forked if people don’t like its direction at any time. And there are alternative kernels you can install now that have real time functionality, better timing… if you have a need.

The Rust for Linux project was announced in 2020 in the Linux kernel mailing list with goals of leveraging Rust’s memory safety to reduce bugs when writing kernel drivers.[3]

https://en.wikipedia.org/wiki/Rust_for_Linux

InFerNo , in IRC Clients

I use hexchat in combination with znc

7heo , (edited )

expired

InFerNo ,

Lemmy was having some serious issues around that time

7heo , (edited )

expired

InFerNo ,

Don’t worry about the votes, it wasn’t an important message anyway :-)

tla , in Thomas Di Giacomo (SUSE) comments on Red Hat’s recent changes

Tbh that article seems like a sales pitch more than analysis of Red Hat’s licensing changes.

D_Air1 ,
@D_Air1@lemmy.ml avatar

Either that or some kind of PR stunt to retain people who were thinking of leaving any corporate controlled distribution.

thesanewriter OP , in yay -Syu Permission Denied
@thesanewriter@vlemmy.net avatar

Here’s the source for all those interested: https://www.reddit.com/r/archlinux/comments/aa4tga/yay_syu_permission_denied/. I don’t want to draw people back to Reddit, but I think it’s important to credit those I got the information from.

fraenki , in Switch to Linux phone?
@fraenki@feddit.de avatar

Phones that run mainline Linux are seldom. The only ones that come to my mind are PinePhone Pro (outdated hardware, 400 bucks) and Librem 5 (also outdated hardware, incredibly expensive 1300$ !). If you are serious get the PinePhone Pro. But expect pitfalls because you can't just run Android apps.

Nextcloud is still the best option for self hosted cloud services.

delial , in Switch to Linux phone?
@delial@lemmy.sdf.org avatar

Because phone manufacturers don’t open source their firmware, you probably won’t be able to get Linux on an off-the-shelf phone. (Please someone correct me if I’m wrong).

Your best bet, if you want to go down thus route, is to get the PinePhone Pro. It’s relatively affordable.

Before you try anything, think hard about your relationship with your phone and what you expect from it. Does work require you have an app installed? What kind of apps do you use regularly? You won’t have things like: CVS for meds, AA for flying, Steam for 2fa, Signal, Telegram, google maps, etc. Some you might be able to use their webapps, but the browser might be a bit sluggish because it’s the full desktop version. Firefox isnt fully mobile friendly. Battery life won’t be what you’re used to. Linux on the phone is just like your regular Linux, so you’ll have the stuff your used to from there, and you’ll having calling, sms, mms, and voicemail.

I have the PinePhone and the Librem 5, but I still use my android.

boonhet ,

There are a couple of phones that can run Linux. Oneplus 6 for an example. But most can’t indeed. PostmarketOS has a list of devices that their distro works on.

rodneyck , in Switch to Linux phone?
@rodneyck@lemmy.world avatar

You have to find a phone that is compatible with open source Linux Phone OS. Most of the OS websites give a listing of what phone make/model works. FYI, almost all the Google Pixel phones work.

Here are a few I am keeping an eye on when my Pixel 4a/5G stops getting updates from Google…this year. /

LineageOS/ GrapheneOS/ CalyxOS/ e.foundation/

Youtube videos and other websites are good sources on how to install, etc.

Roxxor ,

You're talking about Android (Linux) phones, and not GNU/Linux as stated in the question.

dan ,

LineageOS/ GrapheneOS/ CalyxOS/ e.foundation

Aren’t all of those Android derivatives?

I think Ubuntu Touch, or postmarketOS would be more in line with what OP is asking.

rodneyck ,
@rodneyck@lemmy.world avatar

Yes, they are Android derivities, but Android is basically Linux…runs off a linux kernel. If you want a pure linux system, I think there is a KDE platform for phones and Ubuntu (I think) but you can’t run regular Android Apps, do banking, etc. You are more open source, but limited in certain areas.

Zxmon , in is there a Linux alternative to windows 10/11 that is similar?

just go with something like fedora. It’ll be easy enough and you can do almost anything through graphical user interfaces.

russjr08 ,
@russjr08@outpost.zeuslink.net avatar

+1 to Fedora, and if you want a UI that is very close to Windows I’d recommend the KDE Spin of Fedora as well.

TheButtonJustSpins , in is there a Linux alternative to windows 10/11 that is similar?

I highly recommend trying Manjaro. I haven’t moved past Windows 7, so I can’t compare directly to Win 10/11, but it’s the only Linux distro I’ve found that was Close Enough™ to Windows to make it possible for me to switch.

Like any Linux, things aren’t going to Just Work™ as often as in Windows, but this is the closest I’ve gotten.

Mininux ,
@Mininux@sh.itjust.works avatar

I recommend NOT using Manjaro, they have many issues, most described here: manjarno.snorlax.sh

for someone who wants an arch-based distro without tinkering too much there are other alternatives like endeavourOs, and I think Garuda too.

For someone who wants something that looks like windows, no need for Manjaro, just something with a desktop environment that looks like windows. I’d recommend Linux Mint, very simple to use (and for low end computers there is the XFCE edition), or distributions with KDE (fedora KDE, Kubuntu…) or maybe ZorinOS.

edit: also nobara Linux (based on fedora)may be good for games, they have a version that kinda feels like windows

teawrecks ,

I’ve been using Manjaro for a couple of years now on my desktop (with an Nvidia GPU). Their package situation is not great. Updating the Linux kernel and Nvidia drivers is a process separate from pamac that you have to just know to do, or one day X will break and now you have to figure out how to fix it.

On top of that, because they delay the release of non-aur repo packages for stability testing, but don’t delay aur, some aur packages will just break occasionally. I now manually install discord from their tar ball because of this.

Because of these little unnecessary quirks that you just have to know how to work around, I can’t recommend it for new Linux users, and honestly don’t recommend it to seasoned users either. I’m trying out endeavor OS on my laptop now and I think that is what I would recommend; but possibly only for more seasoned users because it’s arch. Might be more stable if you install the linux-lts package and remove linux.

knobbysideup ,

Like any Linux, things aren’t going to Just Work™ as often as in Windows, but this is the closest I’ve gotten.

Lol, that’s not a Linux thing, it’s a majaro thing.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines