Linux

55169 readers
1112 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
 
 

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?

2
3
 
 

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.

4
 
 

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.

5
 
 

The following gif demonstrates folding:

6
7
 
 
8
 
 

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.

9
10
 
 

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.

11
 
 

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.

12
 
 

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

13
14
 
 

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

15
16
 
 

Is there any way to get HDR on hyprland?

17
18
 
 

Debian Unstable (often called Sid) is a branch of the Debian operating system designed for active development of new versions of packages. It is considered the most recent, but also the most unstable of the three main branches of Debian. Other software comes with Oldversion and runs under Wine. Xfce Desktop Environments

19
 
 
20
 
 

cross-posted from: https://lemmy.ca/post/45803716 | !linux@programming.dev

I appreciate how little fluff there is on this channel.

21
 
 

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.

22
23
24
 
 

Hi Lemmy!

This post is a way for me to announce one of my apps that I made for my personal usage.

Azul box

It is a front end for yt-dlp and ffmpeg. It isn't just a yt-dlp downloader; it's more like a utility app that does anything that I need. The "special" part about this software is probably the ability to download YouTube subtitles and then embed them into the audio file as synced lyrics. Well, that is the only "unique" thing about it. As I’m still quite new to programming, there may be some bugs, and I appreciate your understanding. I’m also learning how to package it as a deb/rpm and plan to dedicate time to this during the summer. For now, the only way to download it will be to build from source with the bash install script in my repo.

If you have some time to try the app, I would love to hear your thoughts. Thank you for taking the time to read this! :)

25
 
 

Helloo, firstly this might be long post about people talking void linux hasnt much packages in opposite of arch which has aur, so i will try conveince some people to void linux and will tell also something about package managers.

Package manager is a thing that keeps organized all programs on your pc, normally you would have to go to site, download .deb or .tar.xz and etc. package manager takes cares of doing that and manager also integrates this package with system, so when theres update and something is added or deleted, package manager will take care of all.

Okay, so if its only downloading then why AUR has 97587 packages, and XBPS-SRC (void linux - aur alternative kinda) has much less? It's because AUR is community, anyone can maintain some package, XBPS-SRC also has community but by pulling requests to merge TEMPLATES, but that doesn't mean u can't add your own TEMPLATES.

Wait, wait, wait, what are TEMPLATES?

Its kind of script which makes Package manager do its thing. Templates in XBPS-src and "PKGBUILD?" in AUR are similar.

We have to tell in this script: what package, what version, give link to download and etc.

Example of TEMPLATE in XBPS-SRC for DISCORD:

# Template file for 'discord'
pkgname=discord
version=0.0.96
revision=1
archs="x86_64"
depends="alsa-lib dbus-glib gtk+3 libnotify nss libXtst libcxx libatomic
 xdg-utils webrtc-audio-processing libXScrnSaver"
short_desc="Chat and VOIP application"
maintainer="Ryan Conwell <ryanconwell@protonmail.com>"
license="custom:Proprietary"
homepage="https://discord.com/"
distfiles="https://dl.discordapp.net/apps/linux/$%7Bversion%7D/discord-$%7Bversion%7D.tar.gz"
checksum=2b885df8aa69310726f46149e39c42d48eda8f14b53aae605b5d7fa6410c4c0c
repository=nonfree
restricted=yes
nopie=yes
nostrip=yes

do_install() {
	local package_location="usr/lib/$pkgname" item
	vmkdir usr/share/pixmaps
	vcopy discord.png /usr/share/pixmaps/
	vmkdir usr/share/applications
	vcopy discord.desktop /usr/share/applications/
	vmkdir ${package_location}
	chmod +x Discord
	for item in \
		locales \
		resources \
		Discord \
		libffmpeg.so \
		snapshot_blob.bin \
		discord.png \
		icudtl.dat \
		libEGL.so \
		libGLESv2.so \
		chrome_100_percent.pak \
		chrome_200_percent.pak \
		chrome-sandbox \
		chrome_crashpad_handler \
		resources.pak \
		libvulkan.so.1 \
		v8_context_snapshot.bin \
		postinst.sh \
		libvk_swiftshader.so \
		vk_swiftshader_icd.json
	do
		vcopy "${item}" "${package_location}"
	done
	vmkdir usr/bin
	ln -sfr $DESTDIR/${package_location}/Discord $DESTDIR/usr/bin/Discord
}

post_install() {
	vlicense $FILESDIR/LICENSE
}

Okay, but still AUR has much much more packages than xbps-src, why should i use it then? Why should i learn how to make templates?

I hope you don't use AUR blindly and just do yay -S something without looking what pkgbuild is doing, it might be dangerous not knowing what program can do and what script that is downloading it too right? XBPS-SRC learns you how to maintain packages.

Also theres way to share Templates with other by importing REPO of some templates, like librewolf-void repo and etc. So there's way to share packages.

So this is my way to conveince you to use void linux :). IN MY OPINION, void is what people think arch is. A diy distro with learning curve to understand how OS works. ARCH is great!, but void gives you more knowledge of what things systemd takes care.

To make thing little bit funnier theres easy and really nice (experimental and not official) script of installing void :

https://github.com/kkrruumm/void-install-script

THANK YOU FOR READING! I might not be clear or right in some things so tell me about that in comment, i will read everything.

SOURCES:

https://xbps-src-tutorials.github.io/packaging/j4-dmenu-desktop.html
https://github.com/void-linux/void-packages
view more: next ›