576
49
submitted 2 months ago* (last edited 2 months ago) by kristoff@infosec.pub to c/linux@lemmy.ml

Hi all,

Simple question. Does anybody know a (not to expensive) sportswatch that is supported by Linux / FOSS software?

(Yes, I know 'FOSS software' is two times the word software) 😀

577
141
submitted 2 months ago by possiblylinux127@lemmy.zip to c/linux@lemmy.ml
578
31
submitted 2 months ago* (last edited 1 month ago) by minimalfootprint@discuss.tchncs.de to c/linux@lemmy.ml

I finally have the budget to build my first NAS and upgrade my desktop PC. I have used Linux for quite some time, but am far from an expert.

One of the steps is to move my M.2 NVME system drive (1TB) from my desktop to my NAS. I want to replace it with a bigger NVME drive (2TB). My current motherboard only has a single M.2 slot, that's why I bought a M.2 enclosure.

My goal is to put my new drive into the enclosure, clone my whole system disk onto it and then replace the old drive. At first I found several posts about using clonezilla to clone the whole drive, but some posts mentioned it not working well with btrfs (/ and /home subvolume), which is the bulk of my drive.

I have some ideas how I might to pull it off. My preliminary idea is:

  1. clone my boot partition with clonezilla
  2. use btrfs-clone or moving my butter to transfer the btrfs partition
  3. resize the partitions with gparted (and add swap?)

The two aspects I'm uncertain about are:

  1. UUIDs
  2. fstab

I plan to replace the old drive, so the system will not have two drives with the same UUID. If the method results in a new UUID I need to edit fstab.

As you can see I'm not sure how to proceed. Maybe I can just use clonezilla or dd to clone my whole drive? If someone has experience with such a switch or is just a lot for familiar with the procedures, I would love some tips and insight.

Thanks for reading.

////////////////////////////////////////////////////////////////////////////////////////////////////////////

EDIT: Thinking about how to do it, might have actually taken longer than the procedure itself. For anyone in a similar situation, I was able to replace the drive with these steps:

  1. clone the whole drive (new drive has a bigger capacity) with clonezilla
  2. physically switch the drives
  3. boot into a live medium and resized the btrfs partition on the new drive with gparted
  4. boot into the main system and adjust the filesystem size with sudo btrfs filesystem resize max /

With two NVME drives (even though one was in a USB M.2 enclosure) everything took about 30 minutes. About 300 gigs of data were transferred. I haven't found any problems with the btrfs partition thus far. Using dd like others recommended might work as well, but I didn't try that option.

579
45
submitted 2 months ago* (last edited 2 months ago) by trslim@pawb.social to c/linux@lemmy.ml

Hello! I'm a small time vtuber who moved to MX Linux a while back. I use a 3d model, and while I was able to get my model working, with the help of my husband (even better than windows actually,) we cannot get my hand tracking to work.

I've used the ultra leap on Windows with no issues. On the same PC, I tried to get it working on Linux. I use MX Linux (xfce), and the system is up to date. I know that the "Gemini" software only officially supports Ubuntu 22.04, but Ubuntu is Debian based and so is MX. So, I gave it a try. The program installed fine, and it seems to work normally. The device seems to be connected, and I can view its output through the web cam viewer.

However, the ultra leap Gemini program can't find the device. I'm far from a Linux expert, but I tried all the program's terminal commands that I could. I think what I need is to point the program to the device ID or something, maybe. Does anybody have any experience with something like this?

We also tried the older version of the program and that didn't work either. But I remember less about that. It was all terminal based I think.

I use OpenSeeFace and VSeeFace as my tracking software.

Any tips or trick I could try? If all else fails, I could migrate to Ubuntu, but I really enjoy my MX setup.

P.S. If this isnt the place to ask these sorts of questions, could someone direct me to where I might be able to get help?

I wanna thank everyone who helped and offered advice! My husband came up with a solution to use Xubuntu, as its very similar visually to my current OS, and most, if not all console commands I use will work properly. We attempted getting it to work in MX Linux, using the rather limited documentation available, but in the end, I am no Linux expert and changing to a new OS is not a big deal. Anyway, again, thank you everyone.

580
40
Libreoffice 24.8 Release Notes (wiki.documentfoundation.org)
submitted 2 months ago by that_leaflet@lemmy.world to c/linux@lemmy.ml
581
30
submitted 2 months ago by that_leaflet@lemmy.world to c/linux@lemmy.ml
582
154
submitted 2 months ago by pnutzh4x0r@lemmy.ndlug.org to c/linux@lemmy.ml

Follow up to: “Something has gone seriously wrong,” dual-boot systems warn after Microsoft update

SBAT was developed collaboratively between the Linux community and Microsoft, and Microsoft chose to push a Windows update that told systems not to trust versions of grub with a security generation below a certain level. This was because those versions of grub had genuine security vulnerabilities that would allow an attacker to compromise the Windows secure boot chain, and we've seen real world examples of malware wanting to do that (Black Lotus did so using a vulnerability in the Windows bootloader, but a vulnerability in grub would be just as viable for this). Viewed purely from a security perspective, this was a legitimate thing to want to do.

...

The problem we've ended up in is that several Linux distributions had not shipped versions of grub with a newer security generation, and so those versions of grub are assumed to be insecure (it's worth noting that grub is signed by individual distributions, not Microsoft, so there's no externally introduced lag here). Microsoft's stated intention was that Windows Update would only apply the SBAT update to systems that were Windows-only, and any dual-boot setups would instead be left vulnerable to attack until the installed distro updated its grub and shipped an SBAT update itself. Unfortunately, as is now obvious, that didn't work as intended and at least some dual-boot setups applied the update and that distribution's Shim refused to boot that distribution's grub.

...

The outcome is that some people can't boot their systems. I think there's plenty of blame here. Microsoft should have done more testing to ensure that dual-boot setups could be identified accurately. But also distributions shipping signed bootloaders should make sure that they're updating those and updating the security generation to match, because otherwise they're shipping a vector that can be used to attack other operating systems and that's kind of a violation of the social contract around all of this.

583
132

Hello!

I am pleased to announce a new version of my Vim Reference Guide ebook.

This is intended as a concise learning resource for beginner to intermediate level Vim users. It has more in common with cheatsheets than a typical text book. Topics like Regular Expressions and Macros have more detailed explanations and examples due to their complexity. I hope this guide would make it much easier for you to discover Vim features and learning resources.

Links:

Did you know that Vim has an easy mode, which is actually very hard to use for those already familiar with Vim? See my blog post for more details!

I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.

Happy learning :)

584
31
submitted 2 months ago by unskilled5117@feddit.org to c/linux@lemmy.ml

I use 2 different computers in 2 different locations both running Universal Blue.

I was wondering if there is any way to create a backup system where i could backup Computer1 over the internet to Computer2 and continue work like nothing happened with all the user data and installed applications being there. The goal is to only need to transfer the user data/applications and no system data (that should be the same for both because of Ublue, right?), to keep the backup size small.

To be clear, i need help figuring out the backup part, not the transfering over the internet part.

If I were to backup the directories on Computer1, which store user data, with for example borgbackup, could I restore them on Computer2 and have a working system? Or would there be conflicts because of more low level stuff missing like applications and configs? Which directories would I need and which could be excluded?

Is there a better option? Any advice is appreciated!

I also came across btrfs snapshot capabilities and thought they could possibly used for this. But as far as I understand it, that would mean transferring the whole system and not only the data and applications. Am i missing something?

585
567
submitted 2 months ago by obbeel@lemmy.eco.br to c/linux@lemmy.ml
586
171
submitted 2 months ago* (last edited 2 months ago) by ColdWater@lemmy.ca to c/linux@lemmy.ml

From what I saw Cosmic has a lot of potential and looks pretty sleek too, right now I'm using KDE it's a great desktop, but now that I have a second monitor it randomly crashes on me, I think I'll switch to Cosmic when it reaches beta.

587
137
GNOME 47.beta Released (discourse.gnome.org)
submitted 2 months ago by that_leaflet@lemmy.world to c/linux@lemmy.ml
588
64
submitted 2 months ago* (last edited 2 months ago) by Kalcifer@sh.itjust.works to c/linux@lemmy.ml

I'm looking for a cheap and portable tablet that I can use for writing. Microsoft Surface Pro tablets, at least around the gen 4 models, are rather cheap to buy used, and they seem decently well made. Naturally, were I to buy one, I would have to install Linux onto it.

I've been peripherally aware of the Linux Surface project for some time now. I looked at it recently, after having not for some time, and it seems that they have really made good progress compared to what I remember, and it's making me much more interested in trying to install Linux on a Surface Pro.

Having never owned a Surface Pro, I'm not sure which models are the most reliable and sturdy. I'm not looking for something that's the flashiest; I want something that works well. I want something pragmatic — something akin to the idea of an older era of Thinkpad (eg T460). I want a pen with low input delay and good accuracy, reliable and responsive touch controls, and a decent display. I was thinking the Surface Pro 4 might be a good choice, but it's hard to know as there aren't many videos out there of people installing Linux on them, so I'm wondering what your experience has been with Microsoft Surface Pro's and installing Linux on one.


Cross-posts:

589
220
submitted 2 months ago by that_leaflet@lemmy.world to c/linux@lemmy.ml
590
149
submitted 2 months ago by pnutzh4x0r@lemmy.ndlug.org to c/linux@lemmy.ml

The Linux operating system has reached a notable milestone in desktop market share, according to the latest data from StatCounter. As of July 2024, Linux has achieved a 4.45% market share for desktop operating systems worldwide.

While this percentage might seem small to those unfamiliar with the operating system landscape, it represents a significant milestone for Linux and its dedicated community. What makes this achievement even more thrilling is the upward trajectory of Linux's adoption rate.

...

According to the statistics from the past ten years, It took eight years for Linux to go from a 1% to 2% market share (April 2021), 2.2 years to climb from 2% to 3% (June 2023), and a mere 0.7 years to reach 4% from 3% (February 2024). This exponential growth pattern suggests that 2024 might be the year Linux reaches a 5% market share.

591
283
submitted 2 months ago* (last edited 2 months ago) by squid_slime@lemm.ee to c/linux@lemmy.ml

tell me the most ass over backward shit you do to keep your system chugging?
here's mine:
sway struggles with my dual monitors, when my screen powers off and back on it causes sway to crash.
system service 'switch-to-tty1.service'

[Unit]
Description=Switch to tty1 on resume
After=suspend.target

[Service]
Type=simple
ExecStart=/usr/local/bin/switch-to-tty1.sh

[Install]
WantedBy=suspend.target

'switch-to-tty1.service' executes '/usr/local/bin/switch-to-tty1.sh' and send user to tty1

#!/bin/bash
# Switch to tty1
chvt 1

.bashrc login from tty1 then kicks user to tty2 and logs out tty1.

if [[ "$(tty)" == "/dev/tty1" ]]; then
    chvt 2
    logout
fi

also tty2 is blocked from keyboard inputs (Alt+Ctrl+F2) so its a somewhat secure lock-screen which on sway lock-screen aren't great.

592
38
submitted 2 months ago by KseniyaK@lemmy.ca to c/linux@lemmy.ml

I have a few different Linksys WRT54G routers and I've installed DD-WRT - build number 44715 - on them. However, this build appears to have been made in 2020. So, I was wondering if there's a more modern version of dd-wrt for this router. If not, is it possible for me to compile the latest version of OpenWRT for these routers which have 4 MB of flash and 16 MB of RAM?

593
43
submitted 2 months ago by pnutzh4x0r@lemmy.ndlug.org to c/linux@lemmy.ml

Happy Birthday to the LVFS

9 years ago today I wrote 4 little PHP scripts and pushed it to OpenShift which was the beginning of the LVFS. We've since rewritten it in Python, switched the deployment from "sudo git pull" on the server under my stairs at home (literally) to deploying onto AWS with Terraform.

In 9 years we've onboarded over 140 vendors, shipped ~110 million firmware files and added support for ~85 firmware update protocols for ~1600 different devices. I'm pretty happy with that.

594
20
submitted 2 months ago by Lettuceeatlettuce@lemmy.ml to c/linux@lemmy.ml

Any Linux Sysadmins here use Timeshift on Linux servers in production environments?

Having reliable snapshots to roll back bad updates is really awesome, but I want to know if Timeshift is stable enough to use outside of a basic home lab environment.

Disclaimer: Yes I know Timeshift isn't a backup solution, I understand its purpose and scope.

595
40
submitted 2 months ago by Tekkip20@lemmy.world to c/linux@lemmy.ml

I'd like some recommendations as a beginner in the virtualization space for good GUI software for running vms for both experimentation and server use.

I've used virtualbox on Windows before but are there any better alternatives on Linux? I hear a lot of praise of QEMU but this seems to be only terminal based like what you do with containers.

VMware workstation is free but again, I'd like to know your thoughts on other good beginner options.

Thank you advance and have a good day/afternoon/night

596
73
submitted 2 months ago by that_leaflet@lemmy.world to c/linux@lemmy.ml
597
18
submitted 2 months ago by that_leaflet@lemmy.world to c/linux@lemmy.ml
598
18
submitted 2 months ago by astro_ray@lemdro.id to c/linux@lemmy.ml

cross-posted from: https://piefed.social/post/206134

Recently I switched to Fedora 40 from Ununtu. Now, I am facing this weird problem, whenever my laptop suspends I cannot use the power button to wake my laptop if it's in tablet mode. It works fine in normal case. Also, this wasn't an issue in Ubuntu. Anyone knows how I can change it?

I am using a 2in1 laptop (Dell) if it's relevant

599
640
submitted 2 months ago by pnutzh4x0r@lemmy.ndlug.org to c/linux@lemmy.ml

Last Tuesday, loads of Linux users—many running packages released as early as this year—started reporting their devices were failing to boot. Instead, they received a cryptic error message that included the phrase: “Something has gone seriously wrong.”

The cause: an update Microsoft issued as part of its monthly patch release. It was intended to close a 2-year-old vulnerability in GRUB, an open source boot loader used to start up many Linux devices. The vulnerability, with a severity rating of 8.6 out of 10, made it possible for hackers to bypass secure boot, the industry standard for ensuring that devices running Windows or other operating systems don’t load malicious firmware or software during the bootup process. CVE-2022-2601 was discovered in 2022, but for unclear reasons, Microsoft patched it only last Tuesday.

...

The reports indicate that multiple distributions, including Debian, Ubuntu, Linux Mint, Zorin OS, Puppy Linux, are all affected. Microsoft has yet to acknowledge the error publicly, explain how it wasn’t detected during testing, or provide technical guidance to those affected. Company representatives didn’t respond to an email seeking answers.

600
10
submitted 2 months ago by Corr@lemm.ee to c/linux@lemmy.ml

On Fedora 39 I installed libunity to get notification badges on Discord but on upgrading to Fedora 40 I seem to have lost them. I still have libunity installed and I tried removing it and reinstalling it and it still dosen't work.
I'm using the native package on the KDE spin if that changes anything.

Would love to see if you guys have any ideas! Thanks

view more: ‹ prev next ›

Linux

47820 readers
1124 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS