Linux

53461 readers
667 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
76
77
 
 

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

78
 
 

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.

79
 
 

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.

80
 
 

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

81
82
 
 

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

83
84
 
 

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.

85
86
 
 

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

87
88
89
90
 
 

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.

91
 
 

I find the whole "Ctrl+b followed by another key" way of navigating tmux to be too cumbersome to warrant a switch away from something like Tilix where I can hit Ctrl+Alt+| and the screen splits vertically, or Alt+Left to switch to the terminal on the left. I think it's the mandatory release of all keys followed by more keys that does it.

Is there a way to tell tmux to understand that "Alt+Left means switch to the terminal on the left" and bypass the whole Ctrl+b song and dance altogether?

92
93
36
submitted 2 weeks ago* (last edited 1 week ago) by WeebLife@lemmy.world to c/linux@lemmy.ml
 
 

I need a Bluetooth adapter for my laptop that has Linux mint on it. I just need it to connect a BT speaker for watching YouTube and netflix. The adapters I looked at on amazon all say they aren't compatible with Linux. I was hoping I could get some recommendations that work with Linux. And preferably one that doesn't require drivers from some sketchy site, Thanks!

EDIT: thanks everyone for the recommendations!

94
 
 

I did some searching and many users recommend Rofi but looking at man rofi-script it seems to just be a list picker. You pick something from the a list and only one thing runs. On Alfred and Raycast you can have interactive extensions which are essentially keyboard navigable UIs.

  • One example looking at the Alfred workflow gallery is Reddit Browser, where you select a subreddit from a list and then it shows of lists of posts, you can press cmd enter to go back & select another subreddit.
  • Another one lets you ask questions for chatgpt and shows answers right in the launcher (I'm not necessarily looking for AI extensions).
  • This Raycast extension lets you search and create Notion pages.
95
96
97
-51
submitted 2 weeks ago* (last edited 2 weeks ago) by muusemuuse@lemm.ee to c/linux@lemmy.ml
 
 

Welp, I might just have to throw a grenade on this. Lets see if bcachefs fsck -pvk can work some miracles....

98
 
 

Final update (hopefully): It seems that I have been able to fix the issue. I'm not sure what exactly caused the problem but either removing fluidsynth or installing the wireplumber ppa fixed the issue and I have working audio again. I've also removed pulseaudio and undid my edit to the modprobe blacklist, as they were only done as a temporary solution and they are no longer necessary.

For the past three days, I've been having this issue where my computer starts with no audio and the only sound device listed is a "dummy output" device. I've tried looking online for solution but the only solution I found has to be redone manually every time I start/restart my computer. It also seems like this issue is common with and possibly specific to the sound card my computer has, which is an "Intel Sunrise Point-LP HD Audio".

The solution that worked for me was to add blacklist snd_soc_avs to the modprobe blacklist and then run the two commands sudo alsa force-reload and pulseaudio. Adding snd_soc_avs to the blacklist permanently brought back my actually audio devices but it didn't fix the audio nor did it remove the dummy output device. The two commands I listed do restore the audio and remove the dummy output device but they only work for the current session and I have to run them again after starting/restarting my computer.

I have no problem doing this if there isn't a permanent solution but I would like a permanent solution, if possible.

99
100
 
 

I have wondered many times.

Of course I can always use a browser but it's overkill.

The same goes for yad or zenity, they pull in webkit which is a full-fledged browser engine, and at least yad does not have an offline mode.

I just want to look at some local HTML (incl. images) & CSS styling.

view more: ‹ prev next ›