linux

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

bizdelnick, (edited ) in Broke a partition. Is there any way of saving it?

Try testdisk. It can find a filesystem, copy files from it or restore the partition that contained it.

beeng, in What are people daily driving these days?

If you want the cool new thing, it’s Nix

blotz,
@blotz@lemmy.world avatar

I tried nix actually. Personally, I think it would make a great server os, but I do not enjoy it as a daily driver. I didn’t like the fact that I was forced to install everything through nix and couldn’t compile software from source.

musicmatze,
@musicmatze@lemmy.ml avatar

Nix is a source code package manager and compiles everything from source, except when there’s a binary substitute available.

Zyansheep,

And binary caching can even be disabled if you want a gentoo-like experience!

TwinHaelix, in What are people daily driving these days?
@TwinHaelix@reddthat.com avatar

Arch on my home server, Zorin on my laptop

heeplr,

Zorin

Not sure if I’d trust an OS named like a Bond villain.

zingo,

Yes. Another product from Zorin Industries.

0x2d,

I have very mixed thoughts on Zorin OS

It looks nice in the screenshots, but it charges $40 for “premium” which is pretty much the same as the free one, besides it having a few extra themes, and some “professional creative software” and stuff (free software that they are bundling in, and acting as if it’s exclusive to Zorin or something)

They also have an IT management tool called Zorin Grid that has said “coming soon” for years now

ar0177417, in What are people daily driving these days?
@ar0177417@lemmy.world avatar

Artix (Basically Arch without Systemd)

blotz,
@blotz@lemmy.world avatar

Does artix only boot without systemd or is it completely systemd-less? If it is systemd-less, how do services like docker work with that?

lemmyvore,

Most services just need the init system to start, stop and monitor them. There’s no special integration needed for each of them beyond running a command, monitoring the PID, and killing the PID when it’s time to stop.

If you mean the special integration of docker and podman with systemd, first of all that’s only required in rootless mode and not everybody runs rootless (most users probably run root docker). In rootless mode you have to manage each container individually as if it were a standalone service instead of just managing docker. Basically you have to integrate each container into the init system, whatever that is. There are some tools that make it easier to with podman+systemd because they write the systemd units for you but you can do it with any init system. The distro mostly doesn’t care because you have to do the work not them.

ultra, in What Tweak, Program, ... changes a Desktop Environment from unusable to great for you?

Have you found a window manager that works like Material Shell yet? I’d also be interested in switching to one

Illecors, in Broke a partition. Is there any way of saving it?

You can try fdisk.

If the partition table is there - create a new partition at the exact same location, of the exact same size.

If the partition table is not there - create *the exact same type (mbr vs gpt) partition table, then do the first if.

Fdisk should tell you that it found a filesystem signature. Do not wipe it.

NeoNachtwaechter,

there - create a new partition at the exact same location, of the exact same size.

… exact same starting block, size and geometry.

Kuunha, in Request for help, I broke some graphics

I don’t use Fedora/Nobara, but seems like you can see the update history with: dnf history list

I’ve found this guide for rollback here: www.baeldung.com/…/dnf-history-rollback-vs-undo

Makka,

That is helpful, I’m not sure what I’m looking for yet though. But another comment lead me into antialiasing and this line in the history seems plausible.
install -y /tmp/zenity/nobara-amdgpu-config/fedora-amdgpu-pro/packages/amdamf-pro-runtime-5.4.3-4.fc37.x86_64.rpm /tmp/zenity/nobara-amdgpu-config/fedora-amdgpu-pro/packages/amd-gpu | 2023-04-25 20:11 | I, O | 11

Undo didn’t work though:

sudo dnf history undo 11
Error: The following problems occurred while running a transaction:
Cannot find rpm nevra “amd-gpu-firmware-20230404-149.fc37.noarch”.

So I made a rollback to my last know stable point: sudo dnf history rollback 2
It didn’t exactly workout either unfortunately:

Transaction history is incomplete, before 73.
ransaction history is incomplete, before 72.
Transaction history is incomplete, after 71.
Transaction history is incomplete, before 61.
Transaction history is incomplete, after 60.
Transaction history is incomplete, before 8.
Transaction history is incomplete, before 7.
Transaction history is incomplete, after 6.
Error: The following problems occurred while running a transaction:
Cannot find rpm nevra “ImageMagick-c+±1:6.9.12.82-1.fc37.x86_64”.
… many lines more about pkgs not found

I’ll do a reboot and see what actually took effect. Atleast I’m learning something, maybe I should do all my upgrades via dnf instead of the manager in the future, easier to know whats going on.

ik5pvx, in Request for help, I broke some graphics

I had something like this and if I remember correctly it had to do with antialiasing. Try changing that settings

Makka, (edited )

Turning AA off for fonts solved the missing characters, downside it doesn’t look very good. I still have glitchy artefacts in some menus and the package manager doesn’t display any text for buttons which is a bit problematic. Guessing disabling some more AA settings would remove more of the problems. But it doesn’t solve my main problem - why did AA break in the first place

ulu_mulu, in Query about your linux daily drivers?

I use Linux MX on my gaming desktop and LMDE on my laptop. I also have an encrypted LMDE VM that I use for some working stuff, since I have to use Windows on my company PC (but we’re allowed to have Virtualbox on it).

The desktop is pretty new, I built it a month ago after almost 10 years, it’s i9 and rtx 4070. The laptop is several years old (HP spectre), but since the previous one gave me so many headaches with nvidia optimus, I decided to go full Intel, I’m happy I did because I had no problems with it whatsoever, Intel only on laptops for me going on.

aksdb, in kando: 🥧 The Cross-Platform Pie Menu.

npm? So this uses electron? I essentially run a stripped down browser to render a fucking OSD? I can’t do that with good conscience.

loutr,
@loutr@sh.itjust.works avatar

npm means it’s a JS app running on a JS runtime, which is roughly similar to what python does. Electron runs on top of the runtime and indeed provides some kind of stripped down browser.

But yeah, in this case the app does use electron :)

PixxlMan,

God truly is dead, and electron killed him

KISSmyOS, in Ricing Linux

But I really want to actually customize like the behaviour of apps

Welcome to FOSS programming as a hobby. But first, let’s rice your IDE!

Therealmglitch,
@Therealmglitch@lemmy.world avatar

Already done it :D

KISSmyOS,

Good, now allow me to explain why your programming language of choice is shit.

spez, in Firefox 121 Is Looking Good For Having Wayland Enabled By Default

Any progress on the chromium side yet?

1024_Kibibytes, in Request for help, I broke some graphics

Reboot and see if it still happens. If it does, is it always the same characters that are missing?

A quick search for “Linux missing characters” says it could be the font that you’re using.

GustavoM, in 100% vanilla distribution challenge
@GustavoM@lemmy.world avatar

So… install a minimal distro image and the usual with the only caveat of being forced to type something that I want to run in the CLI instead of setting up hotkeys? Such challenge, much horror.

khorovodoved, (edited ) in What are the major components of any Linux distribution?

I would say, that from most important to least important components are:

  1. kernel
  2. init system (systemd, openrc, runit…)
  3. C library (glibc, musl)
  4. filesystem
  5. coreutils
  6. shell
  7. bootloader
  8. package manager
  9. x11/Wayland (if any)
  10. sound system (if any)
  11. WM (if any)
  12. DE (if any)
lseif,

what do u mean by important? like ‘essential to the system’, or ‘important to consider when choosing a distro’, or what?

khorovodoved,

I mean “something out of ordinary about it affects your experience with this distro the most”.

ultra,

Wouldn’t the c library be more important than the init system?

khorovodoved,

You are probably right. It is probably even more important than kernel.

ultra,

Not really.

bionicjoey,

I’m surprised you put shell so high when it tends to be less impactful in my experience. Like I care a lot more if my distro is using GNOME instead of KDE a lot more than if it’s using bash instead of zsh. Plus it’s easy to install and use a different shell

khorovodoved,

It is easy to install another shell indeed, but it is quite difficult to configure it. While installation of DE is usually done with just one command. And you can use linux without DE, but not without shell. Many distributions even do not install DE by default at all.

bionicjoey,

Okay but unless you are spending a lot of time in the command line, one (POSIX compliant) shell is as good as another. Like yes every distro needs a shell, but I don’t much care which shell it is.

tricoro, (edited )

One thing I don’t know: if C is a compiled language already, what exactly does the C library do?

lseif, (edited )

it is a dynamically linked library, meaning its not in the compiled binary, but its assumed to already be on the system. as opposed to a statically linked binary. this lowers the file size of the binaries, because most will use the standard library.

edit: this may not be 100% correct, but its the general idea

khorovodoved,

Most C binaries usually do not contain everything needed for their execution. It would make them too platform-specific. What most c programs do is that they use standard c library from platform for low-level things and communication with the system like memory allocation or stdin/stdout things, for example.

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