linux

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

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.

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

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.

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.

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

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.

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

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!

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.

Deregon, in What are people daily driving these days?
@Deregon@jlai.lu avatar

NixOS user here! Fedora is a very good contender as well

musicmatze,
@musicmatze@lemmy.ml avatar

+1 on NixOS. On all devices except Android phones since 2014 for me.

BastingChemina,

NixOS too. I really like having a “fresh” install every time I restart.

pinchcramp, (edited ) in PipeWire 1.0 Released For Managing Audio/Video Steams On The Linux Desktop
@pinchcramp@lemmy.dbzer0.com avatar

Official Release Page for those who don’t want to read the Phoronix article: gitlab.freedesktop.org/pipewire/pipewire/…/1.0.0

It’s great to see that Pipewire has reached this milestone. Personally I’ve been using it since 0.3.35 for very basic audio needs and it’s been a very smooth transition. After installation I never had to tinker with it anymore. “It just works”^TM^

Deckweiss,

I had to do some tinkering way back to make my bluetooth earplugs be recognized as an audio device.

Not sure if that is still needed today

onion,

No

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

before you change anything it would be good to use dd and save the whole drive to a bigger drive or maybe compress it with gzip while using dd to save it to a slightly smaller one. That takes a very long time, but gives you the ability to start over with your recovery. Only do that if it’s worth to wait several hours.

photorec can also recover some files by looking at the raw data still there, if all else fails.

sun_is_ra,

use dd and save the whole drive to a bigger drive or maybe compress it with gzip while using dd to save it to a slightly smaller one

command would be something like this:

dd if=/dev/…/myparition|gzip status=progress > /mnt/external_hd/mypartition.gzip

aodhsishaj, (edited )

Wouldn’t you want to use

dd if=/dev/sda3 of=/dev/sdc1 status=progress && sync

Where /dev/sda3 is the damaged partition and /dev/sdc1 is the freshly formatted external drive

You’ll find your attached devices with lsblk

You’re going to want to make sure /dev/sda3(broken partition) is unmounted so as not to write any more data to it.

CMahaff, (edited )

To add on to this answer (which is correct):

Your “of” can also just be a regular file if that’s easier to work with vs needing to create a new partition for the copy.

I’ll also say you might want to use the block size parameter “bs=” on “dd” to speed things up, especially if you are using fast storage. Using “dd” with “bs=1G” will speed things up tremendously if you have at least >1GB of RAM.

aodhsishaj,

I totally spaced on BS=4M which I believe is the standard block size for ext4

sun_is_ra,

this clones one parition to another which is fine if you have free partition with enough space lying around. My code was for taking compressed backup of the partition to be restored later if needed. Its less convenient but doesnt require as much space nor does it require an entire partition

aodhsishaj,

Don’t you have to read the partition to compress it, which is fine on a healthy partition but can further damage a broken one?

sun_is_ra,

depends on what you mean by “broken”. If broken means has bad sector or other hardware issue, then yes OP should transfer data to healthy partition and work from there. though it certainly won’t hurt if he attempted to recover data from broken partition (worst the HD dies and OP restore the backup on healthy HD) However he said “i broke my partition” which make me think its software issue, not hardware. in which case, would be faster to recover data directly after taking backup

vzq, (edited )

That’s what people always underestimate about data recovery jobs: you need lots of space. One copy for safekeeping. One to work on. One disk of the same size you store recovered files on.

Whenever friends or family ask me to look at a disk I always tell them to give me the disk and two new ones of the same or greater capacity and I’ll give it a shot. Usually they discover the data isn’t that important after all. If it is I have all I need.

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

foiledAgain, in What are people daily driving these days?

Fedora but I’m not loving it. Due to my hardware I think I’m limited to that, arch and openSuse.

xohshoo,

? If you’re hardware runs Fedora, it should run anything

linucs, in PipeWire 1.0 Released For Managing Audio/Video Steams On The Linux Desktop

Pipewire is a true blessing for Linux

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