Linux

53380 readers
494 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
51
 
 

Has anybody been able to build a statically linked binary that shows a Vulkan surface? I've put some context around this problem in the video. I understand that the vulkan driver has to be loaded dynamically - so it's more of a question whether a statically built app can reliably load and talk with it. I think it should be possible but haven't actually seen anyone make it work. I'm aware of "static-window9" by Andrew Kelley but sadly it doesn't work any more (at least on my Gentoo machine T_T).

(I'm also aware of AppImages but I don't think they're the "proper" solution to this problem - more like a temporary bandaid - better than Docker but still far from perfect)

52
53
 
 

Hi all. I am facing problems with fonts rendering on my 2 different laptops. The only difference is in the OS: one runs Arch and the other runs Fedora. Both run latest i3wm and i3status and use the same config files.

On Fedora, the fonts are rendered beautifully with colors. On Arch, it is just black and white line. You can see them clearly here: https://imgur.com/a/QtJyRiJ. Top image is Arch and the bottom one is Fedora's.

How do I get Arch to render just like the polybar on Fedora? For the font, on Arch , I installed ttf-font-awesome. In LX Appearance, I would then have: Font Awesome 6, Font Awesome 6 Brands and Font Awesome 4 Compatibility.

On Fedora, I installed a bunch of stuff like fontawesome-6-free-fonts, fontawesome-6-brand-fonts and fontawesome-fonts-all. Here, LX Appearance shows Font Awesome 6 and Font Awesome 4

In i3 config, I just have:

font pango:Font Awesome 12

to set the fonts. But the results are so much difference as you can see from the link.

54
55
72
submitted 1 week ago* (last edited 6 days ago) by Reygle@lemmy.world to c/linux@lemmy.ml
 
 

Points for something I've never tried.

Edit: Think I'll just blast Bazzite on it. The recent Gnome scales well and it has nice performance tweaks.
Cheers

56
 
 

Background:

I'm using Bazzite Linux, Gnome, Wayland. As the title states, I'm trying to list my existing custom keyboard shortcuts. I know I can go to Settings > Keyboard > Keyboard Shortcuts > View and Customize Shortcuts > Custom Shortcuts. I want to list my custom shortcuts in Terminal using gsettings.

I've gotten as far as listing the names of the custom shortcuts:

me@fedora:~$ gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings
['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4/']

How do I use this info to list the specific details (name, shortcut, command) of the first keyboard shortcut?

What I've tried so far:

I've tried following examples from the answers in this Ask Ubuntu post from March 2015, and I've tried turning to Duck.ai for help. I'm just not connecting the dots between the documentation I've read and what I'm trying to do.

me@fedora:~$ gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings/custom0
No such key “custom-keybindings/custom0”
me@fedora:~$ gsettings get org.gnome.settings-daemon.plugins.media-keys.custom-keybindings:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0 name
No such schema “org.gnome.settings-daemon.plugins.media-keys.custom-keybindings”
me@fedora:~$ gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ name
Usage:
  gsettings [--schemadir SCHEMADIR] get SCHEMA[:PATH] KEY

Get the value of KEY

Arguments:
  SCHEMADIR A directory to search for additional schemas
  SCHEMA    The name of the schema
  PATH      The path, for relocatable schemas
  KEY       The key within the schema

What am I doing wrong?

EDIT: Thank you, @nmtake@lemm.ee, for your help!

57
58
55
submitted 1 week ago* (last edited 1 week ago) by B0g3nNutz3r@lemmy.ml to c/linux@lemmy.ml
 
 

Linux PC build (2025)

Hello,

it's me again. Some of you might remember me from this post, in which I was asking for feedback to build a Linux PC in 2025.

Stuff happened and I didn't went through with it. So this still my first attempt at a build. Well now I've got time and want to try it again.

As you may notice, I've ditched the Z790-9 mother board in favor of a MSI PRO B650M-P. My dream of building a coreboot-system is officially dead, thus I decided to build an AMD-System.

Short Listing:

If you notice anything wrong or have suggestions/improvements don't hesitate to point them out.

Thanks in advance!!!

Specifications:

59
 
 

If you have to choose between using an App Image, from the developpers official site or an AUR package (or apt e.g), what do you choose?

60
61
62
 
 

So i am moving soon, and will be setting up a new LAN. A bit of an unorthodox one. Internet in the city im going to school in is pretty expensive so I've got an old thinkpad running OPNsense and will use that as my router and just tether my phone to it to provide cellular WAN. Both my PC and Laptop use Linux, Mint on PC, Debian on Laptop. I'm wondering what steps i should be taking security-wise on a setup like this? All my traffic will be going over the open air, and i know highjacking cellular connections is something thats done. Other than just using a VPN all the time which im doing are there any other steps i should take, maybe in my computer, or router firewall, that could help prevent MITM attacks? I'm not super familiar with how router level firewall especially works. Is much tweaking even required?

technically OPNsense is FreeBSD based not Linux but hopefully people still know a bit about it

63
 
 

I have a lowend netbook with debian-type linux only (no dualboot). Power management should be via XFCE4's xfce4-power-manager-settings.

I'm having weird behavior with suspend and trying to identify/troubleshoot it. It seems to be usually draining power and never charging when the lid is closed for many hours.

I tried explicitly entering power off, hibernate and suspend followed by unplugging then leaving it a few hours but couldn't replicate. It seems to be doing something on its own after being unplugged a long time.

What logs can I look at to see when my device changes its power modes, what were the triggers, what settings are governing it etc?

I can't tell if it's a software issue or there is some sort of power saving thing going on in the hardware or what.

Just hoping for some investigation tips here, I know its not enough info to solve.

Edit to clarify no dual boot.

64
 
 

In the past few days there has been an uptick in patches merged for the LibreOffice 25.8 open-source office suite around "Qt Weld" that has been seeing an increasing number of patches over the past few months for enhancing the Qt toolkit integration.

LibreOffice developer Michael Weghorn has been pushing many patches for enhancing the Qt toolkit support with LibreOffice for its "Weld" theming interface.

65
 
 

New to Linux, I am on Ubuntu 24.04.

I am trying to have my phone calls go from my phone to my laptop. I did some online searching and found KDE connect. I can recieve and send texts on KDE connect but can't call

Am I doing something wrong or should I use something else?

Thanks for reading

66
67
 
 

On a server I have a public key auth only for root account. Is there any point of logging in with a different account?

68
69
 
 

It's sad to see such a great project come to a close. I've been using ArcoLinux for years and have come to love it.

I wish the ArcoLinux Team and the Beta testers all the best.

70
71
 
 

Hey folks. I've had an on-again, off-again relationship with Linux for over 20 years. Usually, my attempts to use it are either thwarted by issues installing, issues booting, or general problems while using it... leading to “catastrophic failure” that I can't fix without digging into hours of research and terminal commands.

Windows 11 (even 10) are rock solid for me, even as a very heavy multitasker. No crashes. No needing to reboot, unless I'm forced to with an update, and really no issues with any hardware or software I was running.

But with Linux, I just can't believe how unstable it is, even when I do the absolute basic things.

I'm trying to learn why this is, and how I can prevent these issues from coming up. As I said, I'm committed to using Linux now (I'm done with American software), so I'm open to suggestions.

For context, I'm using a Framework laptop, which is fully (and officially) supports Fedora and Ubuntu. Since Fedora has American ties, I've settled with Ubuntu.

All things work as they should: fingerprint scanner, wifi, bluetooth, screen dimming, wake up from suspend, external drives, NAS shared folders, etc. I've even got VirtualBox running Windows 11 for the few paid software that I need to load up from time to time.

But I'm noticing issues that seemingly pop out of nowhere on the software/os end of things.

For example, after having no issues updating software, I get this an error: "something went wrong, but we're not sure what it is."

Then sometimes I'll be using Firefox, I'll open a new tab to type in a search term or URL, and the typing will "lag", then the address bar will flicker like it's reloading, and it doesn't respond well to my mouse clicks. I have to close it out, then start over for it to resolve.

Then I'll open a different app, sometimes it might open, sometimes it won't.

Or an app will freeze for no obvious reason, and I'll get a popup asking to wait or quit.

Another time I left my computer while I went out for a walk, came back, and it was like I just rebooted... all my work was gone, and it was starting fresh from the login screen.

I'm trying not to overload things, and I'm doing maybe 1/5th of what I'd normally be doing when running windows. But I don't understand why it's so unstable.

Any suggestions would be greatly appreciated.

FWIW, I'm not keen to switch away from Ubuntu, because I do still want official support if there's ever a problem with getting hardware to work.

UPDATE: Wow, I did not expect to get so many responses! Amazing!

Per suggestions, I ran a memtest86 for over 3 hours and it was clean.

I installed Fedora 41 and am now setting it up. Seems good so far, and elevated permissions can be authorized with biometrics! This was not something I had to. Ubuntu, so awesome there!

Any specific tips for Fedora that I should know? Obviously, no more Snap packages now! 😂

UPDATE 2: Ok, Fedora seems waaaay more stable than Ubuntu (and Mint). No strangeness like before... but not everything works as easily. For example, getting a bridged network adapter to work in virtualbox was one-click easy on Ubuntu... not so much on Fedora (still trying to get it working). And Virtualbox didn't even run my VM without more terminal hackery.

But the OS seems usable, and I'm still setting things up.

One thing I have noticed, however. When I search for how to fix or do something, nearly all websites and forums reference Debian/Ubuntu commands, so the fragmentation there is a little annoying

72
73
74
75
 
 

I need help installing Fedora CoreOS on a Raspberry Pi 5.

I've tried this method that uses Fedora Media Writer. The Raspberry Pi fails to boot from the flash drive.

I've tried this method that uses the Fedora Arm Installer. The Raspberry Pi fails to boot from the microSD card.

I've tried adapting this method but it seems to be exclusively for the Raspberry Pi 4, and no substitute tools exist. It didn't seem to even install anything on the microSD card.

I'm at a loss. I have no idea how to install it. Can anyone help? I'd be happy to give a step-by-step process of exactly what I did for each method, if needed.

view more: ‹ prev next ›