Linux

55335 readers
673 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
26
27
 
 

Sections from the video:

  • 0:00 -d flag
  • 1:56 factor, nproc, tty
  • 3:09 numfmt
  • 4:21 rm -rf .
  • 5:27 env
28
 
 

I can't see emojis anymore, they don't work on librewolf.

I first noticed this under a post titled something like "try telling a story using only emojis". The comments were empty.

If I open the same page in brave browser, they work as intended. I can't see emojis in apps like libreoffice either. Is there a way to get system-wide emoji support?

(I am on Fedora 42)

29
 
 

Full text due to weird cookies banner

The Danish Ministry of Digitization is to completely abandon Microsoft in the coming months and use Linux instead of Windows and switch from Office 365 to LibreOffice. Minister Caroline Stage (Moderaterne) announced this in an interview with the daily newspaper Politiken. It comes just a few days after the country's two largest municipalities initiated similar steps. This summer, half of the ministry's employees will be equipped with Linux and LibreOffice. If everything goes as expected, the entire ministry will be free of Microsoft by the fall, Politiken summarizes.

The Ministry of Digitalization's move away from Microsoft is therefore taking place against the backdrop of a new digitalization strategy in which the Kingdom's "digital sovereignty " is given priority. According to newspaper reports, the opposition is also calling for a reduction in dependence on US tech companies. Just a few days ago, the administration of the capital Copenhagen announced its intention to review the use of Microsoft software. The second-largest municipality, Aarhus, has already started to replace Microsoft services. Stage has now told Politiken that they should cooperate and that it is not a race. All municipalities should work together and strengthen open source.

When asked how her ministry would react if the changeover was not so easy, Stage replied that they would then simply return to the old system for a transitional period and seek other options: "We won't get any closer to the goal if we don't start." So far, she has only heard from employees who welcome the move. But in her ministry, which is mainly concerned with digitalization, she expects a lot of interest anyway. She also assured them that the initiative is not about Microsoft alone, as they are generally far too dependent on a few providers.

As background to the move, the article also refers to the events at the International Criminal Court, where an email account operated by Microsoft was disconnected. This caused an uproar across Europe. In Denmark, there is also the fact that the new US President Donald Trump has been announcing for weeks that his country wants to take over Greenland. The island in the North Atlantic is a self-governing part of Denmark, and the outrage at Trump's proposal is huge. The desire to reduce dependence on US companies is therefore evidently even greater there than in the rest of Europe.

30
31
 
 

My disk was dos labelled (MBR). So I 'fdisk'-ed my disk and entered 'o' to convert it to GPT and wrote it to the disk. Now all the partitions are gone. I want those back. I care about the data rather than the partitions

Edit 0:

Solution:

  • install testdisk
  • run testdisk
  • choose "Create" log
  • choose target disk. Eg: /dev/sda
  • Choose appropriate partition type. Mine was MBR and I chose "Intel" and select "analyze"
  • Now you'll see deleted partitions. Giveem appropriate flags like "*" for boot (efi partition) and "P" any other using space or arrow keys and press enter
  • choose "write" and press y on the prompt to write those found partitions to the disk.

Thanks guys for the help

32
 
 
33
 
 

I've felt compelled to post; it just works!

I've got a pc which is over a decade old; I've only ever used Microsoft with my main OS on that machine being windows 7 and then windows 10. With the new requirements for windows 11 being what they were I was considering installing it anyway with some workarounds. My computer appeared to be getting slower, I was annoyed with all of the bloat which goes along with the Microsoft OS, the constant reminders to "finish setting up my device" and use one drive. All of this was a bit too much for me.

I figured I'd have a go at installing a Linux OS. I'd ran Ubuntu years and years ago as an experiment on an evening older pc and it was very much sub par, it looked nice, it was a pain to do anything and didn't play any of the games I wanted at the time.

A little bit of research told me that Linux mint may be a good option. I also read that dual booting can be difficult. So I just backed up my data, and installed it on the hard disk.

It was mostly seamless, I had issues with my graphics driver, which meant I couldn't click the buttons to install mint & crashes, when running off the live disk to see what the os was like. This was part of the reason I just installed it on the hard drive and didn't go through with a 'testing' phase.

Once that was resolved by installing the Nvidia driver I could use mint. This was made quite easy as it was just a few clicks in the gui and made really obvious to see. And the Mint does everything I need it to!

Gaming appears to have come a long, long way, I ran Civ V to test and it worked.

My Bluetooth mouse and keyboard connected without issue.

The libre office suite is great to use and I've found it similar to the Microsoft equivalents.

My computer appears to be faster. I now realise that it was actually just the additional demands of the Microsoft OS on my machine which slowed it.

I have a multi screen set up, this simply just worked, the only tweek I made was selecting my main monitor.

To top it all, and perhaps the most surprising thing for me (and the reason for the post) is the printer just worked. Like, printers never just work. It's just plugged in, recognised and I could print. No additional set up needed.

I'm short, Linux has progressed so much over the years. I thank all those who have worked on it to make it such a great option. It will be my main OS going forward and I'll advocate for it. I'll also ensure that my kids are running a Linux OS when they have computers of their own.

So, if you're reading this and unsure about Linux, don't be. It's great and easy to set up, works flawlessly.

34
35
 
 

I think the least that distros can do, is allow listing all packages and system settings in config files like .toml rather than having to type in every single package to install, or click through system setting GUIs to setup. Would that require using a whole programming language or system like NIx?

While NixOS works much differently from most distros, that's the only reason I use it: package and system settings in text files. If I fix something, it's fixed permanently, I don't need to hunt down files in random directories if I want to change a setting. If I ever need to reinstall the OS I don't have to write dnf install every single damn package and manually setup all that up all over again. Having daily-drove Windows macOS & Fedora as throughout the years, my setups have felt hacky as well as houses of cards as I've wanted or had to set them up again (I don't mean Fedora specifically, but distros in general).

Basically it feels insane that it's the way most linux users and servers in the world operate. If I, a humble computer hobbyist can figure out Nix, why don't more users do so, and why is Nix so niche?

36
 
 

A friend and I are trying to get a machine set up to work as my school's library's printing computer instead of Windows ones. It is running NixOS. We got it bound to active directory, applications installed, etc., but the issue is that we can't get it to print. It'll say that it's printing but the print job never reaches the print server. To access the print server you're supposed to authenticate, but it doesn't ever give a prompt to. I tried turning off the firewall temporarily to see if that was the issue but it made no difference.

In configuration.nix, services.printing.enable=true and services.printing.drivers = [ pkgs.cups pkgs.hplip ]; (it is an HP printer that we're currently testing on).

I'm thinking that either SAMBA is configured incorrectly and/or the syntax that I put into CUPS for the printer is incorrect.

Current SAMBA config:

services.samba = { enable = true; openfirewall = true; settings = { public = { path = "/srv/public"; browseable = true; writable = true; "guest ok" = true;

In CUPS it shows the syntax for a Windows printer via SAMBA as follows: smb://[workgroup/]server[:port}/printer

The issue is that I don't know what it means by that. I know the print queue, domain, IP, and port (although I'm under the impression that I don't need the port for this case), but I don't know how it would fit into this. I tried looking around on the CUPS wiki but it was vague and confusing to me. Any help with this is much appreciated.

37
 
 

The following gif demonstrates folding:

38
26
submitted 4 days ago* (last edited 3 days ago) by [email protected] to c/[email protected]
 
 

Hey there. I’m totally new to Linux. I’m not the most tech savvy, but I’m fed up with windows and want to go elsewhere. For the time being I figured I’d dual boot, and got everything set up on a usb. I plugged it in, booted up Linux Mint, and it worked smoothly. I ended the session, powered off my pc, removed the usb, booted up windows 11, freed up some disc space and did some other stuff on my computer, then turned it off for a bit. When I went to boot it up again, I got this message:

Failed to open \EFI\B00T\mmx64.efi - Not Found Failed to load image ??: Not Found Failed to start MokManager: Not Found
Something has gone seriously wrong: import mok-state() failed: Not Found

and then the computer powered off. I tried disabling fast start or whatever it’s called, as well as secure boot, and it’s still giving me that. Windows still boots up just fine. Does anyone have any advice? Like I said I don’t have much technical knowledge so a dumbed down response would be really appreciated. I’ve looked up a few forums and nothing gave me much.

Oh also, when I try to boot it and it gives me the error and turns off, if I turn it back on but boot up windows, I get a message saying something was blocked due to a security system I have to disable, but doesn’t tell me what that security system is or how to disable it. It’s getting a little frustrating. I don’t know why it worked once but not anymore.

Update: I got it working. Thanks everyone for the help.

39
 
 

So I have a weird situation that I'm not sure how to fix, and it's going to require some background.

I have 4 drives in my machine:

  1. A ~15 year old 128GB SATA SSD (windows, ntfs)
  2. An ~8 year old 512GB SATA SSD (libraries, ntfs)
  3. A ~5 year old 1TB NVMe SSD (nobara, btrfs)
  4. A ~1 year old 2TB NVMe SSD (games, ntfs)

I've gone a month now without booting into windows so I figure it's time to clean up my windows install and reclaim/retire those drives, but my boot situation is kinda weird. #1 is my current default boot drive in bios, and it has both the boot loader for windows and for a previous ubuntu install I also had on the current-nobara install, and then #3 has another one (but won't boot when I select it in bios for whatever reason), so what I really need to do is clean up all these extraneous boot-loaders and set one up on drive #3 to be my main boot from now on. But I'm very nervous about messing with that sort of thing and rendering my system unbootable (I know, I still have the install USB I could use, but still.) I've tried reading guides and such on how to do bootloader stuff in general, but I am not confident in my ability to not fuck it up.

Although now that I think about it if I don't care about the windows boot drive I can just pull it, I just need to make sure I can boot off drive #3 before I do do that and I have no idea how to go about setting that up with my current situation.

40
41
 
 

A few months ago, a new terminal emulator was released. It's called ghostty, and it has been a highly anticipated terminal emulator for a while, especially due to the coverage that it received from ThePrimeagen, who had been using for a while, while it was in private beta.

42
43
 
 

Something like Android auto or apple auto but with Linux, does it exist? Or if not what are your homemade solutions?

44
 
 

I want to see either a persistent rectangle box on the edges of the region being recorded (anything outside the box isn't recorded), or dim the parts of the screen that aren't being recorded. I looked for screen recorders for hyprland & wlroots and didn't find any with this functionality. wf-recorder + slurp works for me but I want a boundary visual.

45
46
 
 

To give a bit of context : I'm upgrading my whole desktop computer so I now have a spare computer for gaming on the TV. I'm thinking of using it mainly as a gaming "console", but might be interested in embedding a NAS as well, and possibly some Docker containers for Home Assistants etc...

So the question : should I just install a normal Distro like Arch, setup a network share and Docker containers, or should I use a proper hypervisor like Unraid and have a VM for couch gaming etc...?

What issues could I expect with both? Are performances impacted with the hypervisor? (I don't plan on doing competitive games on the TV) or is troubleshooting going to be easier on a standard distro?

Did someone do such a setup and have some feedback?

Never properly used Linux before, but I'm a Windows power-user and am looking to transition part of my setup to Linux.

The GPU is going to be an RTX3070 if that matters

47
 
 

Is there any way to get HDR on hyprland?

48
 
 
49
 
 

cross-posted from: https://lemmy.ca/post/45803716 | [email protected]

I appreciate how little fluff there is on this channel.

50
 
 

I saw the End of 10 campaign on other parts of Lemmy and wanted to get involved:

https://endof10.org/

I also do some tech support work on the side helping people at an aged care facility with their devices. I see people using their Windows computers and I just feel they would have such an easier time using Linux.

I reached out to my local Repair Cafe about End of 10 to help people switch over if they don't want to get a new device. They're happy to talk about so I want to make sure I clearly explain the value of switching to Linux, both to hold on to existing devices and move away from corporate spyware.

Here are the things I thought I'd bring up when I talk to them: -Linux is free, but not in the 'you're the product' way -Linux Mint is made to look and work similar to Windows to make the switch easier -It works on older hardware and takes less resources, so can often feel like a performance boost to an existing PC -No tracking or telemetry so what you do on your computer is private -Linux can cover the general computer use case of using a browser, word processing, image viewing, and maybe some light graphic design -There are free software equivalents to just about all major software you use on your PC -The package manager makes it easy to download and maintain software -You can give Linux a 'free trial' by bootloading into it before installing -You can dual partition so you can still run windows if you don't want to make the full switch -Games and Windows software can run on Linux with WINE if necessary -There's a huge community you can reach out to if you're stuck with anything Linux

I was thinking of using the analogy that software on Linux is a bit like shopping at Aldi. It doesn't have the major brands but there are free alternatives that do the same thing, and are often better than the paid versions you're used to.

I'd also bring an old laptop I put Mint on for my kids to play with. It's from 2012 and Windows stopped supporting the wireless drivers. It could connect to the internet with Mint right out of the box so that's one device already saved from e-waste with Linux.

Is there anything else you'd mention? I know there's deeper technical reasons why Linux is better but I want to keep it high level as I'm not sure of the technical proficiency of the people I'll be talking to.

view more: ‹ prev next ›