gabmus
- 0 Posts
- 13 Comments
gabmus@retrolemmy.comto
Linux@lemmy.ml•Desktop environments: performance vs modern look
3·3 months agoThe CPU is alright and the RAM should be sufficient for most tasks.
There are a couple of things that could impact performance here, first the SSD could be on its way out, or slow to begin with, so maybe post some info on that.
You can use gnome disks to get more information on your ssd, here’s a screenshot on my system, with some information obscured. The model name should be enough.

You can benchmark the SSD using either gnome disks again, as shown here:

Or alternatively you can use KDiskMark. Give us some numbers, maybe it’s gonna be as simple as replacing your SSD.
Another thing that could make your system feel sluggish, since you lament little freezes happening, is Plasma itself. I know what I said about desktop environment havyness, and I still stand by it: it’s not that Plasma is “heavier” or anything like that, it’s just that some of its code is not very well optimized and with slower drives it can show. Brodie Robertson made a video about this a couple of years ago, see if what he describes matches your problem, but consider that this is old information at this point and while some of these issues might still exist, they might have already been fixed.
gabmus@retrolemmy.comto
Linux@lemmy.ml•Desktop environments: performance vs modern look
3·3 months agoI have mid computers from 2010 running that take far less than 2 seconds to open a browser, I think there’s either some missing driver for your hardware or something wrong with your hardware in the first place. Please post your exact specs so that we can try giving you better advice.
Also worth noting that for modern-ish computers the desktop environment is the least offender when it comes to resource consumption. Any modern browser will use roughly at least 2x memory compared to the desktop environment.
just use what works for you? 14h battery life is gonna happen when we have proper arm laptops with good linux support, in the meantime you have to compromise. I think there are some arm laptops that are usable on linux, but it’s gonna be a science project not a stable workhorse machine
gabmus@retrolemmy.comto
Linux@lemmy.ml•Thinking of leaving Manjaro after the AUR supply chain attack – Distrochooser recommends SUSE, what's your take?
10·3 months agoalso, if anything installing stuff from the AUR makes things slightly safer because PKGBUILDs and .install files are a lot easier to inspect: you can check the source repo/tarball/whatever points to an official source, and you can verify that the scripts (which are just shell scripts) are not doing anything nefarious.
on the other hand, IIRC OBS and COPR just distribute binaries that are very hard to inspect
EDIT: just don’t use an AUR helper and you avoid most of the trouble
gabmus@retrolemmy.comto
Rust@programming.dev•Error Handling in Rust vs. Exceptions in other languages
5·3 months agoWell, is it really? The verbose part is converting from an error type to another, which you would likely also do in a language with exceptions in the catch block, or in some giant cursed interceptor thing that does a switch/match on the error type (something I had the displeasure to witness with my own two eyes, multiple times)
gabmus@retrolemmy.comto
Rust@programming.dev•Error Handling in Rust vs. Exceptions in other languages
14·3 months agoDepending on a usecase you might find that many of your “entrypoint functions” might all share the same error type. For example, if you’re making an API backend it’s likely gonna be something a status code and a message.
In that case a simple way to avoid having to pattern match every single error is to implement
From<DownstreamErrorType> for MyErrorEnum, and just use the?operator. Example:fn do_something_with_database() -> Result<Whatever, DatabaseError> { /* ... */ } impl From<DatabaseError> for MyErrorType { /* ... */ } // this would be your function fn api_get_something() -> Result<SomeOtherType, MyErrorType> { let data: Whatever = do_something_with_database()?; // ... Ok(/* ... */) }EDIT: this is mentioned in the article already
Take a look at Xournal++, it’s not precisely the same workflow but if “scrapbooking” is what she’s looking for then it’s quite good for that
gabmus@retrolemmy.comto
Linux@lemmy.ml•EX-11: Prepping for Plasma’s Last X11-Supported Release – David Edmundson's Web Log
3·4 months agoThis reads like quite a different workflow, but AFAIK the standard in both x and wayland for inserting special characters is using a compose key. You can set up a key as the compose key in the keyboard settings of any de/wm/compositor (right alt in my case) and use it in a key sequence to assemble special characters. I use it all the time to type italian accent characters on a us keyboard and it’s always dependable and quite intuitive even for characters I don’t regularly use.
Some examples:
composea"→äcomposee'→écomposec,→çcomposeoo→°compose-→→
I’m not saying your use case is invalid, but it falls well into unsupported territory I feel like, and reminds me of this.

This said, there must be a way for an application to simulate input, that’s what virtual keyboards do, including steam’s virtual keyboard which is not integrated in the desktop environment, so your workflow can likely be replicated. You might need to spend some time finding the right tool for it, or possibly creating your own, but wayland and plasma wayland in particular have all the bits in place to make this happen.
gabmus@retrolemmy.comto
Linux@lemmy.ml•GNOME and Mozilla Discuss Proposal to Disable Middle Mouse Paste on Linux
74·8 months agoI use middle click paste all the time, but the title is misleading and clickbaity. At least on GNOME’s side they’re discussing about disabling it by default, not completely. While this is annoying as long as the setting isn’t going away I’m fine with that and I understand the reasoning behind it.
gabmus@retrolemmy.comto
Linux@lemmy.ml•Does it ever bother some of you that "I'm switching to Linux!" is just more of a way to appear rebellious than actually committing to the choice?
1·10 months agomind telling me what adapters you tried? I haven’t faced this problem myself since I’m 100% DP, but if it does come up I’d like to know what’s what
gabmus@retrolemmy.comto
Linux@lemmy.ml•Does it ever bother some of you that "I'm switching to Linux!" is just more of a way to appear rebellious than actually committing to the choice?
1·10 months agoIn case anyone is interested, the whole HDMI 2.1 fiasco can easily be worked around by using DisplayPort. Assuming your monitor doesn’t have DisplayPort, you can buy an inexpensive active adapter that supports HDMI 2.1, where you have DP to your GPU and HDMI out to the monitor. This might sound undesirable but IIRC HDMI outs in intel gpus are actually going through adapters internally so it shouldn’t really make a difference.
EDIT: found the source for Intel GPUs using a built-in converter: https://community.intel.com/t5/Graphics/HDMI-2-1-UHD-144Hz-Arc-A750-A770/td-p/1452946
Xbox controllers ship with a firmware bug out of the box (thanks microslop!), you need to update the firmware to make them work properly on Linux, but it needs to be done through windows as explained in this section in the Arch Wiki. EDIT: you still need to install the xpadneo driver once your firmware is updated.
A decent option for those of us that don’t have and don’t want to have windows around is to bring your controller with you to a computer shop, along with a usb cable, and use one of the demo computers to update it.
If spending money is an option, a lot of people already recommended 8bitdo controllers, I can only say I agree with that. I have the ultimate 2c, which is about ~30 eur, comes with hall effect joysticks, so no stick drift ever, and uses a dongle for the wireless connection, with an option to use bluetooth as well. Plus they come in some really pretty color combinations. Hard to beat that for the money.