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:
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
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.
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
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
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*
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”
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.
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.
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?
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.
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)
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]
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.
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.
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.
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.
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.
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.
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
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.
linux
Top
This magazine is from a federated server and may be incomplete. Browse more on the original instance.