Linux

54291 readers
315 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 6 years ago
MODERATORS
1
12
submitted 2 hours ago* (last edited 2 hours ago) by Libra@lemmy.ml to c/linux@lemmy.ml
 
 

The full error for anyone having issues with the screenshot is: Installation Failed Bootloader installation error The bootloader could not be installed. The installationc ommand grub2-install -target=i386-pc -recheck -force /dev/nvme0n1 returned error code 1.

Context: I've had a hell of a rough time trying to install linux on my system, I've tried Pop, 2 versions of Ubuntu, Mint, and now I'm trying Nobara, and it's the first one that failed to install (I've mostly had video driver issues with the others.) My current disk situation is kind of a mess, I have 4 in the system:

  1. ~15 year old OCZ SATA 128GB SSD (windows/boot)
  2. ~10 year old WD SATA 512GB SSD (windows libraries like pictures, documents, downloads, etc)
  3. ~6 month old Samsung 990 EVO 2TB M.2 NVMe SSD (games installed from windows)
  4. ~5 year old BPXPro 1TB M.2 NVMe SSD (previous Ubuntu install that I had other issues with)

#1 is my boot drive and has the bootloader on it (when I want to boot ubuntu I hit F11 and select the second entry for that drive in the menu.) Previous distro installs have had no problem installing right over top of that and disk #4, but for whatever reason Nobara has failed to install the boot loader and I have no idea how to even begin to resolve this. I've done some searching and only found results with similar situations that aren't quite the same, it seems this is commonly an issue with linux installs into partitions of a drive that is shared with windows, but that's not what I'm doing (at least not for the main install, I guess that is kind of what it's doing with the bootloader?)

I can manually erase disk #4 if that would help, but is there some way I can manually go in and clear out the old bootloader (without messing up the windows install/boot)?

Other specs in case it's relevant:

  • Ryzen 7 3800X 3.9GHz 8-core CPU
  • 32GB DDR4-3200 RAM
  • Gigabite Vision OC 12 RTX3060 GPU
2
 
 

On discord using fedora linux, when screensharing, it works, but my cursor doesn't show(so it shows the screen, but not cursor), does anyone else have the same problem as me? and if you know, how can i solve it?

3
 
 

Howdy,

Just installed Nobara again and am trying to figure out why this is happening. I think it's a firefox thing since I haven't seen it happen in any other application; basically anytime I do a lot of scrolling, the firefox window breaks down and I can see my desktop background behind it. It always happens in the bottom right cornerish part of the window. I'm up to date on all updates as far as I'm aware. I did some googling and checking out the nobara discord but I couldn't find anything related. I tried recording my screen via spectacle to show the issue, but it wouldn't capture the issue.

Any help would be appreciated; I am a linux beginner so dumbing down any info you have would be nice. Thanks!

4
20
submitted 23 hours ago* (last edited 13 hours ago) by Telorand@reddthat.com to c/linux@lemmy.ml
 
 

I recently wiped Windows in favor of CachyOS, and it's been lovely! However, I have one outstanding issue that I can't seem to figure out.

To start, I have a Gigabyte B550I Aorus Pro AX motherboard. I followed the guide on the Arch Wiki for my particular chipset.

I still can't seem to control my cooling fans.

  • I have lm_sensors installed
  • I installed CoolerControl
  • I used modprobe it87 force_id=0x8628
  • I tried adding the .conf files to /etc/modprobe.d/ and /etc/modules-load.d/
  • When the steps above didn't work, I installed the it87-dkms-git package

No matter what I've tried, the only time the fan sensors get detected is when I also specify acpi_enforce_resources=lax in GRUB. From what I barely understand, that's not an option you want to leave on permanently, but perhaps y'all know better or have other ideas.

If it helps:

  • Motherboard: Gigabyte B550I Aorus Pro AX
  • Latest CachyOS kernel
  • Boot: GRUB

Edit: I have a semi-solution.

sudo modprobe it87 force_id=0x8688 ignore_resource_conflict=1

...allows the module to load without completely changing the acpi policy. I still don't know how to make it cleanly permanent or automated, but this is significant progress.

Also note that it should have been 0x8688 in my case, as revealed by sensors-detect.

5
40
submitted 1 day ago* (last edited 12 hours ago) by suzucappo@lemmy.world to c/linux@lemmy.ml
 
 

As the title says I am trying to get my handbrake to recognize as a joystick so I can use it.

Running Arch.

This is the device in question. https://www.amazon.com/dp/B07SPVY2WL

It shows up with lsusb as the following. Bus 001 Device 006: ID 1021:1888 ZSC ODDOR-HANDBRAKE

Device info from cat /sys/kernel/debug/usb/devices T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=04 Dev#= 6 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 P: Vendor=1021 ProdID=1888 Rev= 1.14 S: Manufacturer=ZSC S: Product=ODDOR-HANDBRAKE C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=01 Prot=05 Driver=(none) E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=10ms E: Ad=01(O) Atr=03(Int.) MxPS= 64 Ivl=10ms

I found this bit of information but it's related to openSUSE and is quite old but I'm hoping it might help. https://www.spinics.net/lists//linux-input/msg88778.html

It doesn't show up in /dev/input/...

Any ideas on how I could get this thing recognized so I can use it?

Edit:

I got connected with someone at the Simracing space on matrix per the advice from @lemonuri@lemmy.ml and they helped me to get it working. Here is what we did.

Create the file 99-handbrake.rules in /etc/udev/rules.d and add the two following lines to it.

SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="1021", ENV{ID_MODEL_ID}=="1888", RUN+="/bin/sh -c 'echo 1021 1888 > /sys/bus/usb/drivers/usbhid/new_id'"

SUBSYSTEM=="input", ATTRS{idVendor}=="1021", ATTRS{idProduct}=="1888", ENV{ID_INPUT_JOYSTICK}="1"

This forces the device to usbhid as a joystick whenever it is plugged in and recognized.

Run the following command to reload the device rules if you don't want to reboot. Otherwise you can omit the command and reboot.

sudo udevadm control --reload

It now shows up and is working.

So the device was registering a button at the end of the pull and showing up as an Xbox controller while not recognizing the axis being moved so it was all or nothing.

I installed protopedal and following advice created a dummy device which remapped the inputs so that it registers the analog input only which worked.

protopedal --name "handbrake" -b JOYSTICK -a THROTTLE -s 0:THROTTLE -a Y --no-auto-buttons --no-auto-axes /dev/input/by-id/usb-ZSC_ODDOR-HANDBRAKE-event-joystick

6
 
 

RHEL 10 announced that RDP would be the preferred alternative to VNC. Red Hat replaced Spice with VNC in Red Hat 8 due to licensing issues with h.246. VNC is under featured and basic compared to both alternatives. Spice uses proprietary h.246 which caused disputes with licenses. RDP is proprietary to microsoft but has a few foss implementations.

7
8
9
10
33
submitted 2 days ago* (last edited 2 days ago) by sp3ctre@feddit.org to c/linux@lemmy.ml
 
 

Hi everyone,

as my thread from yesterday about shredding SSD's the right way already was very helpful, another follow-up topic came to my mind, which may also be interesting for me and maybe others too.

Since many PC's often use SSD's and less harddrives nowadays it may be interesting to discuss the full-disk encryption of it.

First of all some questions, which came to my mind:

  • Does the encryption of a SSD decrease its performance (read/write-speed) significantly?
  • How does the encryption affect the wear-leveling of the SSD and what should be considered to ensure a safe encryption?
  • Will functionalities like hibernation still work? Are maybe other functionalities affected in a negative way?

I already successfully full-disk encrypted my old laptop (harddrive) with the instructions from StackExchange. My computer has a 1TB SSD + 1TB harddrive and I wish to encrypt completely everything, that's not technically necessary. I want to use Debian as my distro. Could this instruction work the same way as with harddrives?

I'm interested in your knowledge about this.

~sp3ctre

11
 
 

cross-posted from: https://lemmy.world/post/29911877

Everything seems fine, but I have no network access 😅 happened after I restarted for a System update. Can't figure out what is wrong - help please 😊 Wired connection.

Enabled Wifi, but same problem; connect but cannot reach gateway. (other computers and pads are connected, and they work fine).

12
45
submitted 2 days ago* (last edited 2 days ago) by JovialSodium@lemmy.sdf.org to c/linux@lemmy.ml
 
 

I'd been using ZFS with Void linux on both my laptop and desktop for a couple of months. And ZFS is cool! But I'm thinking not great for my use case, especially for my laptop with it's more constrained resources. Memory usage was a real problem, even after imposing low ARC limits. And the kernel module compile time was long enough to be a bit annoying, especially for a few kernels (I like to keep the last few around, to be safe) as it happens fairly often on a rolling release.

I switched the laptop to LUKS/btrfs a couple of days ago. And I'm thinking that was the correct choice for that. And now I'm considering doing the same for my desktop. As they seem comparable but btrfs is in-kernel and seemingly more system resource friendly. But before doing so I figured I'd ask the community about it. Maybe some important factors or features for either setup that I might not be considering.

Here's the stuff I care about. All of which both offer, but I'm not an expert at either and I don't know how equal they are.

  • Disk encryption. For ZFS everything (except the EFI partition) is encrypted. I use ZFSBootMenu in this scenario. For the btrfs setup I have the kernel/initramfs on an ext2 partition. I do not store any decryption keys in the initramfs. I know grub can decrypt LUKS with limitations, but I prefer this setup. And it feels secure enough to me. Any pitfalls I'm missing?
  • Pools/subvolumes
  • Snapshots. ZFSBootmenu has an option to load a snapshot. For btrfs it looks like I'd need to create a subvolume from a snapshot, which in a recovery situation might mean doing this from recovery media. That's ok, given this is an unlikely thing to encounter. But if anyone knows of an easier way, I'd love to hear it.
  • CoW
  • RAID 1
  • Compression is nice, especially for the laptop

Edit: typo in title.

13
 
 

Hey guys,

I want to shred/sanitize my SSDs. If it was a normal harddrive I would stick to ShredOS / nwipe, but since SSD's seem to be a little more complicated, I need your advice.

When reading through some posts in the internet, many people recommend using the software from the manufacturer for sanitizing. Currently I am using the SSD SN850X from Western digital, but I also have a SSD 990 PRO from Samsung. Both manufacturers don't seem to have a specialized linux-compatible software to perform this kind of action.

How would be your approach to shred your SSD (without physically destroying it)?

~sp3ctre

14
 
 

If I install software from .deb file, do I still get the updates & upgrades when I run sudo apt update / upgrade ? Or is flatpak the way to go? I'm not very familiar with flatpak, so I'm trying to avoid, but it seems that cons are limited. I'm currently running mint cinnamon (how original, I know), and asking because i can't seem to add mullvad-vpn stable repo. Thank you for your help,

15
 
 

So Ive been using linux for a long time and mostly with gnome. I know about window managers and how using them will reduce the memory usage by system a lot because they are less bloated etc. I want to try a window manager on my nixos machine - this will be my first time trying one, I have good knowledge in programming so technical stuff wont bother me that much. Which window manager do you suggest? Customization is my priority.

16
17
18
 
 

Hi everyone! I know im not good with technology. I brought a surface pro 8, 3 years ago. I obviously understand that was a mistake and i should have listened to programmer cousin. Its gonna be slighty difficult to install linux on it.

I've researched several youtube videos, but i was wondering if anyone had any tips?Obviously the attachable keyboard has to work and i want the touch screen to work. The surface appealed to me when i brought for those features.

With all the privacy concerns of windows, i want to commit to switching my operating system! Thank you everyone for their help with all my privacy questions. Ive been getting into foss and learning kotlin.

19
 
 

Title, I am unsure if games are using my GPU or if using my CPU, or maybe my GPU through my CPU, I do not know, something is using my GPU, but I think its just KDE plasma, and I would like to know definitively how to find out

20
29
scanner (szmer.info)
submitted 3 days ago by chlorofil@szmer.info to c/linux@lemmy.ml
 
 

Hello, what's the best way to deal with the lack of the drivers for scanners on the original website? I mean specifically Canon Pixma. Thanks in advance.

21
 
 

new intel N150 based tablets - anyone running Linux on them yet?

How would fedora 42 be on those?

https://www.amazon.com/CHUWI-Hi10-X1-Windows-Cameras/dp/B0DMT7XHF3
https://www.chuwi.com/product/items/chuwi-minibook-x-n150.html

Anyone tried?

22
 
 

Hello all!

Given that Windows 10 is going to be unsupported by the end of this year, I was planning on switching to Linux since my laptop doesn't meet the requirements to run Windows 11.

My current laptop is an HP Pavilion x360 and by far, my favourite part about it is how it's not only a touchscreen, but the hinges allow the laptop screen to lay completely flat just like a tablet, (the interface even changes to a more tablet ish version) it's great for watching movies and drawing. When I switch over to Linux, I want to be able to keep as much of this feature as much as possible. I was planning on installing Elementary OS as it's designed to be more 'plug and play' as I'm not super tech savvy. When I was looking into if converting a touchscreen laptop to Linux, I read that Ubuntu has some touchscreen support which Elementary OS is based on, but I'm not sure how good it is, as all the Reddit threads on the topic were pretty old.

Whats the touchscreen support on Ubuntu like now? If you have a touchscreen laptop running Linux at the moment, how responsive is the screen? Is there other distrios that support touchscreen that are don't have a steep learning curve?

Thanks!

23
 
 

Random sleepy ramble.

Hey I'm new to Linux and mint seems like the easiest to switch over to coming from windows. I have had trouble with pairing Bluetooth PS4 controllers and emulating them as xinput. I used ds4drv but that's a little outdated now. Also I noticed that catchyos just works after pairing it on my other PC. So I spent a while trying to get mint to work without the need of ds4drv, it kept pairing as a wireless controller that wasn't detected as an actual controller through steam or anything else.... I tracked that down to an issue with the Bluetooth manager and maybe missing udev rules so now I can connect using a different manager and it comes up as a PS4 controller....but now I think I need ds4drv to emulate it as xinput so I've came full circle.

My question is do I need ds4drv to be using a Sony controller as xinput and also how does catchyos do it without ds4drv? And should I just screw Linux mint and switch to Catchyos?

24
 
 

I recently installed Linux Mint Cinnamon on a laptop, and I'm having a two-sided issue. Web searches have yielded no solution. I'm also very new to Linux.

Problem 1: When alt-tabbing out of a fullscreen application (at this moment, Helldivers 2), the application will minimize, but I cannot restore it. It will appear for roughly half a second, and then re-minimize. I can hear the game still running in the background.

I have tried alt-tab, super+number, and right-click>restore. None seem to work.
I have tried disabling thumbnails for windows, no fix.
Disabling effects, no fix.

Problem 2: As a workaround for problem 1, I tried borderless fullscreen. It works, but there is a white, 1 px border around the screen. I have tried changing themes, no fix. Same thing with disabling effects. I do like the Mint-Y theme, but there's no longer an option to change window borders, from what I've researched. Again, trying a different theme didn't seem to get rid of the white border.

Please help.

25
 
 

Hey guys, I've been using Linux Mint and Windows 11 via a dual boot setup on two laptops for a while.

I hardly ever use Windows 11, except on my work laptop, so I want to delete it from my personal laptop.

How can I do this? What is the safest and easiest way, and what should I bear in mind?

Thank you in advance for your answers, and have a sunny day!

view more: next ›