Linux

56346 readers
886 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
101
102
 
 

Hi, so I will try to hopefully explain as best as I can.

These are my devices:

  • Windows PC -> Cable Headphone1 output
  • Linux Laptop -> BT Headphone2 output
  • Android Phone -> Phone speaker output

What I want to achieve:

Have audio from all devices output from Headphone1 on my PC without having to use physical or software mixer.

What I managed to get working but sux due to audio stutter or delay:

Have audio from all devices output from Headphone2

How?

  • Phone paired via BT to Windows PC, using app on Windows PC called Bluetooth Audio Receiver gives me the ability to listen to my phone audio via Headphone1 (does not work for Laptop)
  • Linux Laptop paired to my Windows PC as an audio device allows me to set the Laptop as a output audio device for the PC so I can listen to PC and thus to the Phone via Headphone2

BUT, this causes phone audio to stutter via Headphone2 and audio from PC has at least 500ms delay.

Wish there was a way to forward audio from Linux Laptop to Windows PC the same way as from Android Phone to PC.

Any clues?

103
25
submitted 2 weeks ago* (last edited 2 weeks ago) by jherazob@beehaw.org to c/linux@lemmy.ml
 
 

Hi!. Currently running Linux Mint 22.1, but i suspect it's not strictly a distro issue. This laptop was running VERY well but was outdated, running Mint 19.3, some things were unable to be installed because the system libraries were old (didn't expect Calibre to be one of them, figures), so i updated all the way to that moment's current version which was Mint 21.3. All of a sudden it felt like the laptop got downgraded two whole computer tech generations. As soon as i ask it to do something mildly complicated that made it break no sweat on Mint 19, it gets VERY slow, all the cores start running at max, system load increases, until it finishes doing whatever it was doing several minutes later, something between a couple of minutes when lucky, to 20 or more. Typically what triggers the issue is something on the browser (what i use the most on the computer is browser tabs and lots of terminals) but not exclusively. Thought it was the browser but replicated it on an empty Firefox profile, and has triggered with simpler stuff like the Discord client. Been trying to find the issue for a while trying to avoid a full reinstall, no luck so far.

If i were to describe how it feels, it's like there was a bottleneck on tasks being done by the system, as soon as you ask it to do something mildly complex it chokes on it and tasks accumulate. No idea if it's some kind of kernel misconfiguration, if it's some hardware incompatibility, or something else entirely, checking the changelogs of Mint all the way between 19.3 and 21.3 showed nothing i could pin this onto (or at least nothing i could notice).

The nuclear option would be a brand new blank install but I'd MUCH rather avoid that if possible, made the comfortable but now unwise choice of a single partition for everything (instead of a separate /home and whatnot as i used to do) so reinstallation would wipe it completely, if i must then i must but much rather not.

Would welcome VERY much ideas on stuff to check or try.

Edit: It's got an NVME drive, which seems to be healthy as far as i can see

Edit: When it happens it doesn't seem to matter how much RAM is free, seen it happen with only 8 of the 32Gb of RAM in use and zero swap

Edit: Found a great way to describe how it feels like: Have you done heavy video encoding on a computer that's adequate for the task but not more than that, and noticed how everything in it stalls heavily, even if there's plenty of RAM free and the computer feels like it's giving everything to that task only? Pretty much that, but for nearly everything even moderately heavy

104
105
 
 

On occasion, I'll have to work with markdown files, sometimes with inline LaTeX. I'm surprised how limited my options are, or I'm looking in the wrong places. Pandoc does the job, but the lack of a integrated graphical workflow isn't my cup of tea.

Has anyone found a good graphical markdown editor that can handle inline LaTeX and doesn't pull a gigabyte of dependencies? Preferably also can render the final output to PDF.

106
 
 

I hope this place won't hug it too hard, it's on 61% battery as of writing. Has translations in fr, de, nl, es, it, pt

The average page size of this website is below 0.5 MB – roughly a sixth of the average page size of the original website

SERVER: This website runs on an Olimex A20 computer. It has 2 Ghz of processing power, 1 GB of RAM, and 16 GB of storage. The server draws 1 - 2.5 watts of power.

SERVER SOFTWARE: The webserver runs Armbian Stretch, a Debian based operating system built around the SUNXI kernel. We wrote technical documentation for configuring the webserver. [comfy's note: worth checking out]

DESIGN SOFTWARE: ~~The website is built with Pelican, a static site generator.~~ [comfy note: Teppichbrand replied confirming they now use Hugo]

I also like the dithering aesthetic with the site images, both practical and stylistic.

107
 
 

hope i don't get crucified for self promotion, stigmata would be hard to explain to my folks

108
 
 

My girlfriend is trying to run Bazzite. She installed it, but she can't run it, because secure boot is turned on. She's using an Alienware M15 R7, and we can't find the secure boot setting. The manual says it should be in the boot configuration menu, but it's not there or in security either. How do you disabled secure boot on an M15 R7?

109
 
 

I was helping my friend install Mint on his laptop, it all went well and the installation finished, but the driver for the wi-fi module wouldn't turn on properly, or something. I assumed this was due to secure boot messing with the drivers, so I tried to disable it in the BIOS (it's an older laptop, no UEFI). But I have spent the last 3 hours trying and failing to open BIOS, and even GRUB. Nothing I try seems to work.

I tried all the function keys, as well as delete, escape, and enter, and the only thing I found is that F12 opens a boot options menu.

I tried holding and mashing shift throughout the boot procedure to get to GRUB.

I tried using the novo button (it's a Lenovo laptop) which did open a new menu allowing me to select a "BIOS options" button, but it just rebooted after showing me a few rolling lines of text.

I tried plugging in the installation media I used before, which does take me to it's GRUB, but choosing the UEFI options option there just causes a reboot.

I tried disconnecting the battery and the CMOS battery and waiting for 30 seconds in hopes of disabling fast boot, which didn't work.

I edited GRUB config files to change the timeout to 10 and the type away from hidden, which didn't do anything.

I disconnected the disk in hopes of it defaulting to the BIOS, which works for some laptops.

No option worked. I just cannot access BIOS or GRUB. I really don't know where to go next, and could use some help.

110
 
 

Hi, on fresh install (multiple) of Fedora 42 GNOME the KDE Connect app after install wont open.

Either it will stay running in processes but nothing will display or it will immediately crash with an error.

GSconnect doesn't even show up after install.

If I install Fedora 42 KDE it works fine. But I don't like KDE. Any idea what's up with this?

EDIT: Thanks for help, anyhow. In the end I found that I will just use KDE Connect for clipboard between my laptop, PC and phone but the desired functionality I wanted when connected to my phone is available with scrcpy and it's quite something. Can't believe it has such a stupid name as I never heard of it. It's so freaking good!

111
 
 

cross-posted from: https://programming.dev/post/32779890

I want to like, block interaction with a window that I am keeping on top of other windows so I can see it but still click to stuff behind it.

It turns out mpv already has this implemented. https://github.com/mpv-player/mpv/pull/8949

Technically no windows or mac support (presumably it's possible there; dunno), but OP only asked for linux stuff so I'll close this

And then I could remove the title bar if I really don't want to interact with the app.

112
113
114
 
 

cross-posted from: https://buddyverse.one/post/161844

I’m on Fedora 42, running GNOME 48 (Wayland) with an RTX 4050 GPU. Trying to play Red Dead Redemption 2 via Steam using Proton Hotfix.

The game is stuck in borderless windowed mode. I can play just fine.

There’s no tag in the system.xml.

I only changed the framerate in system.xnl to 144, which works.

Tried -fullscreen in Steam launch options — does nothing.

Can’t switch to fullscreen from in-game either, there’s no option.

Not using Gamescope. Didn’t touch anything else. No VSync changes. No other launch flags.

Is there any way to force this game into actual fullscreen under Proton?

115
 
 

It's acting as if memory.oom.group is set to 1, even though it's not:

dullbananas:~$ cat /sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-codium-158608.scope/memory.oom.group 
0
dullbananas:~$ cat /sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/app.slice/memory.oom.group 
0
dullbananas:~$ cat /sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/memory.oom.group 
0
dullbananas:~$ cat /sys/fs/cgroup/user.slice/user-1000.slice/memory.oom.group 
0
dullbananas:~$ cat /sys/fs/cgroup/user.slice/memory.oom.group 
0
dullbananas:~$ cat /sys/fs/cgroup/memory.oom.group 
cat: /sys/fs/cgroup/memory.oom.group: No such file or directory
116
 
 

It's kind of buggy where I'll enter characters but they won't register. I can verify this because when booting, sometimes my num and caps lock keys will have a delay after pressing before their light changes.

This is very annoying when trying to unlock the computer, because I essentially have to wait an arbitrary amount of time before I think inputs will register properly. This wouldn't be as much of an issue if I could, you know, get some feedback that they keys I'm entering are actually being entered.

Is there a way to change this to suit my needs better?

117
 
 

Let me know what else I can do to trim down the power and RAM usage here.

118
 
 

I have used linux in a past job (I did not set it up), so im not a total noob with linux. But I am far from an expert. I bought a tablet that had a flavor of linux on it and found myself woefully unprepared trying to navigate the tablet. I was planning to use it for DnD for pdf reading, but it apparently wasn't capable of that bcz it was a rather custom OS. With windows 10 support being dropped by Microsoft in the next few months, I want to transition my desktop to Linux, and I thought I'd get a headstart on that. I have a windows 11 laptop (and I hate it), but im kinda stuck with it for now. So, in the spirit of I am a noob who isn't quite a noob, what do ya'll recommend? p.s. I used Ubuntu for a bit way way back in high school

Edit: I do game dev with Unreal. Another user pointed out that may affect my choice of distro

119
120
 
 

A while ago I made a tiny function in my ~/.zshrc to download a video from the link in my clipboard. I use this nearly every day to share videos with people without forcing them to watch it on whatever site I found it. What's a script/alias that you use a lot?

# Download clipboard to tmp with yt-dlp
tmpv() {
  cd /tmp/ && yt-dlp "$(wl-paste)"
}
121
 
 

This app just starts some productivity session while forbidding some programs from starting. Is there a Linux and most importantly FOSS version of it?

122
 
 

Or historical exploits/trojans/etc. that deserve more attention? I've mostly heard about lucrative vulnerabilities that concern Linux servers, but what about the end-users on desktops? Or is the Linux desktop market small enough that we mostly just see one-off instances of users blindly running malicious scripts?

123
124
125
view more: ‹ prev next ›