linux

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

Fizz, in On the Road to Plasma 6, Vol. 5 – Kai Uwe's Blog
@Fizz@lemmy.nz avatar

I’m going to need to get a better monitor to really appreciate the polish and work that’s been put into fractional scaling

1984,
@1984@lemmy.today avatar

4k monitors are awesome, you will never go back. Icons are sharp and looks almost as good as on mac OS.

MRLimcon, in Edit: Flatpak (possibly regression) issue caused by either xdg-desktop-portal-gtk and/or xdg-desktop-portal-gnome
@MRLimcon@lemmy.ml avatar

I had this problem with flatpaks, I changed the dbus implementation to dbus-broker (in endeavouros) and it fixed the issue. It may be the same problem.

jackpot,
@jackpot@lemmy.ml avatar

how do yoy do that

MRLimcon,
@MRLimcon@lemmy.ml avatar

I installed dbus-broker and the package manager checked the dependencies and removed the unnecessary stuff. After that I applied the dbus-broker services:

systemctl enable dbus-broker.service

sudo systemctl --global enable dbus-broker.service

And then restarted.

Idk if it might break things in mint, so I would be cautious.

jackpot,
@jackpot@lemmy.ml avatar

by any chance does this have to do with gtk3?

MRLimcon, (edited )
@MRLimcon@lemmy.ml avatar

Yes, I remember reading about a gtk thing that interacts with flatpak, they said it should not give this error in April, but it seems to still be happening, idk.

Edit: I just saw that you deleted the gtk portal and it worked! So no need to install another dbus daemon.

jackpot, in Edit: Flatpak (possibly regression) issue caused by either xdg-desktop-portal-gtk and/or xdg-desktop-portal-gnome
@jackpot@lemmy.ml avatar

alright edit: I have a Flatpak issue, not an SSD issue. does anyone have any thoughts? this could be due to the new linux mint update. my pc is a samsung galaxy s2 (750XED P13CFG)

jackpot,
@jackpot@lemmy.ml avatar

the linux mint discussion forum has a post about my model not being great but last update my system worked just fine. i actually think having a full ssd broke flatpak. otherwise ive hit a horrible regression issue github.com/orgs/linuxmint/discussions/277

danielfgom,
@danielfgom@lemmy.world avatar

Backup and install a fresh Linux Mint.

infinitevalence, in Edit: Flatpak (possibly regression) issue caused by either xdg-desktop-portal-gtk and/or xdg-desktop-portal-gnome
@infinitevalence@discuss.online avatar

How long ago did you delete everything?

SSD’s dont work like old HD’s depending on the generation of tech it might be storing multiple values per cell which means when you “filled” the SSD you put a charge into every single storage cell on the drive.

Garbage collection and TRIM will slowly over time clear out all the cells flagged as deleted but if one bit is still valid in a cell that was holding 3-4 other bits it cant overwrite that, or relocate it.

That means that your files/videos and such stay fragmented and may never get put back together sequentially or in a way that the controller can optimize again for speed.

The only fix, may be running a factory wipe from the Drive MFG’s tool set, that should fully blank each cell and let you re-install and make it feel fresh again.

Be warned though, you have already done a full drive write once at least, this would be another. You can expect some dead cells and while there is over provisioning that should provide replacements you could see a loss in usable space sooner than later.

jackpot,
@jackpot@lemmy.ml avatar

i deleted everything ywsterday, and i trimmed today. i was unaware of the dead cell issue. is there a way to disk defragment an ssd?

infinitevalence,
@infinitevalence@discuss.online avatar

in theory time, it should slowly rewrite everything to consolidate it. If you dont have time, then factory format and reinstall.

PropaGandalf, in Fish rewrite-it-in Rust progress: 100%

Now we have nu and fish. Great!

Kristof12, in Linux Mint Debian Edition officially released
@Kristof12@lemmy.ml avatar

LMDE 6 still has a 32-bit version, probably the last kek

ipacialsection, (edited ) in Edit: Flatpak (possibly regression) issue caused by either xdg-desktop-portal-gtk and/or xdg-desktop-portal-gnome
@ipacialsection@startrek.website avatar

It still sounds to me like something’s up with the disk. Can’t think of any solutions to suggest but I would run a SMART health check on it:


<span style="color:#323232;">sudo apt install smartmontools  
</span><span style="color:#323232;">sudo smartctl -a /dev/sda
</span>

If you prefer a graphical tool, you can do the same thing with GNOME Disks, which also has options for disk benchmarking.

In the resulting report, the overall health state should be “PASSED”, the “Type” column should show “Pre-fail” and “Old age” values, and the “Media-Wearout-Indicator” should be close to 100. If the overall health state is “FAILED”, then you will want to back up your files immediately and consider getting a new SSD.

jackpot,
@jackpot@lemmy.ml avatar

ive tried that actuqllt, it said there was no dev/sda. it did aay there was a dev/nvme0. scanned it and it ‘passed’ but i can try again

ipacialsection,
@ipacialsection@startrek.website avatar

/dev/nvme0 is probably your SSD. But if it passed you probably have nothing to worry about

jackpot, (edited )
@jackpot@lemmy.ml avatar

wait i think ive had a breakthrough, all system packages SEEM to run fine but all flatpak applications are effected. this seems to be flatpak related

jackpot,
@jackpot@lemmy.ml avatar

just tested it, vlc system package opens in .2 seconds but flatpak opens in 30 seconds.

db2,

Who’d have ever thought that having 47 copies of a library instead of using a shared library wouldn’t work out great. 🙄

jackpot, (edited )
@jackpot@lemmy.ml avatar

i do it for the sandboxing and flatseal. any suggestions?

db2,

Not specifically. It’s probably actually a configuration problem though, for any other program I’d delete or default the settings. Not sure how to do that for flatpak itself as I won’t use it.

jackpot,
@jackpot@lemmy.ml avatar

why wont you use it

db2,

The only use case I can see with any validity is for the sandboxing features, and I have no need of that currently.

32b99410_da5b,

You mean 1 copy and 46 links.

Flatpak isn’t a disk hog and this urban legend is dumb.

db2, (edited )

You mean 1 copy and 46 links.

That’s a shared library with extra steps. It’s also loaded 47 times. Thanks for playing.

jackpot,
@jackpot@lemmy.ml avatar

this impacts file access speeds too, system package opens things in like .2 of a second but flaptak again takes like 30

ipacialsection,
@ipacialsection@startrek.website avatar

Definitely flatpak related then. Try running one of your flatpak apps from the terminal, and post the output here; might help pinpoint the issue. You can list the ones you have installed with flatpak list, then flatpak run <one of the listed apps, e.g. org.videolan.vlc>.

jackpot,
@jackpot@lemmy.ml avatar

it took 30 seconds but this got outputted and then the file ran: dave@dog: ~$ flatpak run org.x.Warpinator Gtx-Message: 14:29:03.389: Failed to load module “xapp-gtk3-module” Using landlock for incoming file isolation

ipacialsection,
@ipacialsection@startrek.website avatar

Looking online, there are some suggestions to either (re)install xapp:

sudo apt install --reinstall xapp

or a related library:

sudo apt install --reinstall gir1.2-xapp-1.0

However, usually I find that errors like this mean nothing, so I wouldn’t be surprised if these steps change nothing.

TCB13, in Yubikey on Linux?
@TCB13@lemmy.world avatar

Now I’m gonna tell you what nobody talks about when moving to Linux:

  1. Proprietary/non-Linux apps provide good features, support and have tons of hours of dev time and continuous updates that the FOSS alternatives can’t just match.

Read the rest here: lemmy.world/comment/6584073

KarnaSubarna,
@KarnaSubarna@lemmy.ml avatar

If that was really true, then most of the enterprise servers would have be using Windows/Mac OSX by now 🤭

TCB13, (edited )
@TCB13@lemmy.world avatar

There’s a difference between Linux on the desktop (a pile of shit) and Linux on the server (the way to go). Get over it. It hurts but it’s true.

KarnaSubarna,
@KarnaSubarna@lemmy.ml avatar

And, the difference is?

TCB13, (edited )
@TCB13@lemmy.world avatar

The difference is that there’s a lot of commercial support when it comes to supporting Linux servers due to many reasons, when it comes to the desktop it simply isn’t there.

If you require “professional” software such as MS Office, Adobe Apps, Autodesk, NI Circuit Design and whatnot Linux isn’t a viable options. The alternatives wont cut it if you require serious collaboration… virtualization, emulation (wine) may work but won’t be nice. Going for Linux kinda adds the same pains of going macOS but 10x. Once you open the virtualization door your productivity suffers greatly, your CPU/RAM requirements are higher and suddenly you’ve to deal with issues in two operating systems instead of just one. And… let’s face it, nothing with GPU acceleration will ever run decently unless big companies start fixing things - GPU passthroughs and getting video back into the main system are a pain and add delays.

To make things worse the Linux desktop development ecosystem is essentially non existent. The success of Windows and macOS is the fact that they provide solid and stable APIs and development tools that “make it easy” to develop for those platforms and Linux is very bad at that. The major pieces of Linux are constantly and ever changing requiring large and frequent re-works of apps. There aren’t distribution “sponsored” IDEs (like Visual Studio or Xcode), userland API documentation, frameworks etc.

wesker,
@wesker@lemmy.sdf.org avatar

Is there a Lemmy version of lostredditors?

giacomo,

I don’t think you are correct. You will need to get over this. Thanks in advance.

Sibbo, (edited ) in Fish rewrite-it-in Rust progress: 100%

Wow they actually did it! Congratulations and welcome to the age of second-gen systems languages!

lemmyvore, in Browser and flatpaks randomly crashing

Run a full memtest on your RAM. Very likely you may have developed a few bad areas. Take pics if it finds bad zones, you can use the addresses to tell the kernel to avoid them.

Tb0n3, (edited ) in Fish rewrite-it-in Rust progress: 100%

These rewrites in rust are merely just training exercises for those doing it. It wasn’t needed and in most cases isnt used.

Deebster,
@Deebster@programming.dev avatar

Large parts of the rewrite came from contributors who had never worked on fish before.

That’s pretty useful alone.

And there’s this:

Thread Safety

Allowing background functions and concurrent functions has been a goal for many years. I have been nursing a long-lived branch which allows full threaded execution. But though the changes are small, I have been reluctant to propose them, because they will make reasoning about the shell internals too complex: it is difficult in C++ to check and enforce what crosses thread boundaries.

This is Rust’s bread and butter: we will encode thread requirements into our types, making it explicit and compiler-checked, via Send and Sync. Rust will allow turning on concurrent mode in a safe way, with a manageable increase in complexity, finally enabling this feature.

atzanteol,

They did it “for the vibes”

Vibes are just as important to free/open source software as proprietary software and although there were solid technical reasons for the port, the PR outcomes are added benefits.

ParetoOptimalDev,

It was needed to safely further support for concurrent features? If they follow through on adding that support, there will likely be adoption.

The problem is in most cases the implementers stop at “same thing but in rust” without taking advantage of that.

I can’t fully blame them since just duplicating an existing thing is a huge undertaking.

Urist, (edited ) in Fish rewrite-it-in Rust progress: 100%
@Urist@lemmy.ml avatar

Seems one of the main reasons is to use Rust’s thread safety to enable “concurrent mode”. Anyone with the knowledge able to explain what advantages that would yield for an end fish user?

faho,

One big, long-standing issue is that fish can’t run builtins, blocks or functions in the background or at the same time.

That means a pipeline like


<span style="color:#323232;">seq 1 5 </span><span style="font-weight:bold;color:#a71d5d;">| while </span><span style="color:#62a35c;">read</span><span style="color:#323232;"> -l line
</span><span style="color:#323232;">    </span><span style="color:#62a35c;">echo</span><span style="color:#323232;"> line</span><span style="font-weight:bold;color:#a71d5d;">; </span><span style="color:#323232;">sleep 0.1</span><span style="font-weight:bold;color:#a71d5d;">; 
</span><span style="color:#323232;">end </span><span style="font-weight:bold;color:#a71d5d;">| while </span><span style="color:#62a35c;">read</span><span style="color:#323232;"> -l line
</span><span style="color:#323232;">    </span><span style="color:#62a35c;">echo</span><span style="color:#323232;"> line</span><span style="font-weight:bold;color:#a71d5d;">; </span><span style="color:#323232;">sleep 0.1
</span><span style="color:#323232;">end
</span>

will have to wait for the first while loop to complete, which takes 0.5s, and then run the second.

So it takes 0.5s until you get the first output and a full second until you get all of it.

Making this concurrent means you get the first line immediately and all of it in 0.5s.

While this is an egregious example, it makes all builtin | builtin pipelines slower.

Other shells solve this via subshells - they fork off a process for the middle part of the pipeline at least. That has some downsides in that it’s annoyingly leaky - you can’t set variables or create a background job in those sections and then wait for them outside, because it’s a new process and so the outer shell never sees them.

technom,

Here’s one issue they hope to solve with this rewrite: github.com/fish-shell/fish-shell/issues/238

bizdelnick,

End user shouldn’t care what PL the software is written in. Their advantages and disadvantages are meaningful for developers only.

Nyanix,
@Nyanix@lemmy.ca avatar

While I agree, most people shouldn’t have to be concerned with it, you can’t deny the resource impacts of various languages, libraries and frameworks, like compare the memory usage of Discord or Teams with those of FOSS chat applications, and you’ll notice those two consistently eating much more memory. You can also compare compute speeds of a higher level language like Python vs lower level languages like Rust and you’ll find that Rust is quite a bit faster (though generally takes more dev time). So yes, users shouldn’t have to be concerned with involved languages, but if you’re running something on a low-resource device, such as a Raspberry Pi, those little details can make all the difference.

Falcon,

PL can have a large impact on features, bugs, bug reports, troubleshooting, performance and documentation. Particularly when dev resources are limited.

It’s hard to see how this opinion holds any water.

Rust is a great choice for a shell built as an interactive shell that doesn’t have to be core to the OS. Over C++ this also makes development more accessible to young programmers.

Cwilliams, in X11 tiling WMs

For X11, BSPWM was my daily driver. (before I switched to Sway, then Hyprland)

Dokuba, in My corsair k100 keyboard doesn't show up in openrgb

Thank you will definitely try these

jntesteves, (edited ) in [SOLVED] How to customize dead keys under Wayland / Electron apps?
@jntesteves@lemmy.world avatar

I’m using GNOME Wayland on Fedora 39 and I don’t have the problem you describe. I just go to settings and select my keyboard layouts:

  • English (US, intl., with dead keys)
  • English (intl., with AltGr dead keys)

And everything just works. I specially like the second one because it doesn’t interfere with keybindings in games, which can be a problem in GNOME Wayland.

Oh, I think I get the issue you’re having, you can’t find the Çç character on the Linux layout 😅 I always have to explain this to people migrating from Windows, it’s AltGr+, (right Alt key plus Comma). I like this shortcut better than the Windows layout, but I understand some people might not like it. Unfortunately, I can’t answer your question, as I too don’t know how to customize the keyboard layout. I just got used to the Linux layout.

pathief, (edited )
@pathief@lemmy.world avatar

Yes, I’m using the US international with dead keys layout. I also used it in Microsoft Windows. Here’s a couple of annoying examples:

  • + c-> result: ć; expectation: ç
  • + m -> result: ḿ; expectation: 'm (particularly annoying when typing in english; workaround: + space key + m)
  • + t -> result: nothing happens; expectation: 't (particularly annoying when typing in english; workaround: + space key + t)

Right Alt + Comma does work for ç so at least I have that going for me. It’s still weird to have a different layout for electron apps :/

jntesteves, (edited )
@jntesteves@lemmy.world avatar

You should be able to type ç the way I described for all apps, so you could just remove your custom layout. I highly recommend the English (intl., with AltGr dead keys) layout, it’s perfect for coding and writing in English. It’s a bit more work to write in Portuguese, though, so it took me a while to get used to it, but it’s worth it if coding is what you’re doing most of the time. In this layout, you must hold AltGr to get the dead keys, otherwise it’s a normal English layout.

You can also use two layouts — one for English/coding, one for Portuguese — and the keyboard shortcut Super+Space to switch between them. I always have two layouts setup like this, but I never switch anymore because I just learned to love the English (intl., with AltGr dead keys) layout — and I don’t write much Portuguese nowadays.

pathief,
@pathief@lemmy.world avatar

Thank you! It’s not exactly what I wanted but at this point I’m just happy to have a solid workaround to my problem that works everywhere.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #