Linux

48083 readers
892 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
1
 
 

I'm running Jellyfin on a Debian-server in my home, and I have the associated media folders set up as samba shares so that I can transfer any new media from my laptop to the server through Dolphin.

This has for the most part worked very well (except slow speeds), but I've had an issue recently where the files are not copied over properly. This resulted in glitches in for example music files that would stop playback. I checked the checksums of some of these files, and they were different from source. Seems like the glitchy files are missing some data, but at no point were I notified about this. It works fine after I removed the files and transferred again, and now the checksums match.

Is this a common issue with samba, or could it be a sign that my HDD is acting up?

2
 
 

In extend to my previous post :https://lemmy.ml/post/22320175

I cannot install drupal 11 on a fresh Debian install, in fact I tried everything and it's no more the fault of proxmox, but the PHP installation.

Drupal 11 needs php 8.3 to work, but Debian official repos go only to php 8.2, so I used the sury.org Debian repo to install the latest PHP version. And this is the start of the problem, this install gives me the error shown in the other post, exhausted memory.

I search in the info.php, memory related stuff, and the only difference between the "official" PHP (8.2) and sury one is that in the mysqldn section it shows statistics to yes. But I don't know how to disable it...

Any ideas? Thanks 😉

3
 
 

For the first time I am actually switching my main PC from Windows to Linux.

Problem: When booting into Fedora there was no display output, I changed it to safe graphics to install everything and that fixed it but after the install finished I tried turning it back off and there was still no display output

What I have already tried: I've tried installing drivers and everything I could find although that shouldn't be the problem since I have an AMD 6700xt and Fedora comes with AMD drivers built in. I also tried Installing Linux Mint thinking maybe the distro was the problem but it came up with the same issue.

And if anyone suggests it no there is no way I am going to daily drive on safe graphics.

Edit: I am dual booting on a single 500gb ssd with windows already installed on the other half of the drive, not sure if that would be the problem.

4
 
 

I am looking to build a Linux gaming machine with open source firmware and Intel ME disabled. Is this viable?

5
 
 

macOS has a variety of apps like Homerow, Shortcat, and KindaVim (watch the videos in those links if u can) that allow for navigation of apps using just the keyboard. Homerow allows for pressing a hotkey and then showing letters over UI elements which can be entered to move the mouse to said element, similar to the Vim easymotion plugin. KindaVim attempts to implement vim modal navigation inside GUI apps, so you can enter normal or visual mode and use j and k to move up or down. They all work using macOS' accessibility API which exposes UI elements for programmatic interaction.

I did a bunch of searches for Linux equivalent of such apps and Mac's accessibility API, and didn't find anything as comprehensive. Can you navigate a wide variety of Linux apps using mostly or only the keyboard (apps made with GTK, Electron, etc.)? Is it currently possible to develop an equivalent of the apps listed above?

6
37
submitted 16 hours ago* (last edited 16 hours ago) by jjlinux@lemmy.ml to c/linux@lemmy.ml
 
 

This is just a post about satisfaction. After years of using Linux exclusively, I was going over my Feeder just now, and just figured that I automatically dismiss anything containing the words "Microsoft" or "Windows" in it.

This made me realize how much better we Linux users actually have it.

Anyway, that's all this is about.

7
 
 

I'm trying to update some nvidia drivers, and when I install them I set a password for secure boot, when do I put in the password to finish secure boot?

8
9
29
Best Distro (lemmy.wtf)
submitted 18 hours ago by hpS95t@lemmy.wtf to c/linux@lemmy.ml
 
 

I'm very curious of which distro users loves the most that they have it on their daily hardware?

10
14
submitted 16 hours ago* (last edited 15 hours ago) by foremanguy92_@lemmy.ml to c/linux@lemmy.ml
 
 

Crossposted from : https://lemmy.ml/post/22319676

I just install a complete new Drupal install in a Debian VM inside proxmox, everything works as intended, but I cannot add content to it(it gives me a 500 error).

Apache logs show me that the memory is exhausted, search online, no real answer, tried a lot of thing in PHP.ini, .htaccess… At first the VM had 1 vcpu and 1GB of RAM, not working, I’ve put the PHP memory limit to 1GB, give 8GB to the vm, and 4vcpu. Not working, just “loading” the 500 longer.

Error got into /var/log/apache2/error.log : PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes)) in Unknown on line 0. This is why I give the vm 8GB and change php memory_limit to 1GB but it did nothing…

Have no solutions, as now. If you have one please let me know! thanks 🙂

EDIT: this is not the problem of drupal 11, tried to install it with drupal 10, same result, I think it has something to do with proxmox

11
 
 

I have been raging about the font rendering on Linux for years. It just sucks. Font has jagged edges and it looks very weird. I dual-boot with windows and the font there is very nice. So, I asked Claude ai to help me and it did a great job and my font is now is actually better than windows. I wanted to share it with everyone in case you have the same issue with the font on Linux.

Here it is:

  1. First, install required packages:
sudo pacman -S freetype2 cairo fontconfig

2. Install better fonts:

sudo pacman -S ttf-dejavu ttf-liberation noto-fonts ttf-roboto ttf-roboto-mono ttf-droid ttf-opensans ttf-hack ttf-fira-code

I have also installed Segoe ui and Segoe UI Variable fonts and that is what I'm using now.

3. Create or edit the font configuration file:

sudo mkdir -p /etc/fonts/conf.d

sudo nano /etc/fonts/local.conf

4. Add this configuration to local.conf:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<edit name="lcdfilter" mode="assign">
<const>lcddefault</const>
</edit>
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<!-- Increase contrast slightly for all fonts  This is not mandatory and can be commented out-->
<match target="font">
<edit name="weight" mode="assign">
<const>medium</const>
</edit>
</match>
</fontconfig>

5. Create a file for FreeType settings:

sudo nano/etc/profile.d/freetype2.sh

6. Add these export commands (I found it there already, but it was commented out. Just removed the "#"):

export FREETYPE_PROPERTIES="truetype:interpreter-version=40"

7. Enable subpixel rendering: (You might get a message that says "File exist", that's ok. It means it was already there)

sudo ln -s /etc/fonts/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/

sudo ln -s /etc/fonts/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d/

8. Clear and regenerate font cache:

fc-cache -fv

9. For better Java application fonts:

sudo pacman -S jre-openjdk fontconfig

10. Reboot


Additional optional steps: a. For better Firefox font rendering, in about:config: Set

gfx.font_rendering.cleartype_params.rendering_mode

to 5 (This doesn't exist in FF. You create it, set it to "number" and give it a value of 5)

Set

gfx.webrender.all

to true

b. If you use VSCode, add to settings.json:

{
"editor.fontFamily": "'Fira Code, 'Droid Sans Mono', 'monospace'",

"editor.fontLigatures": true
}

Truly hope this help someone. Share it with others if you think it will help them.

Thanks :)

12
13
14
 
 

I have always been struggling to move big files from my Android phone to my Linux laptop. KDE connect is kind of working but is kind of cumbersome to set up on gnome with the extension that every now and then is incompatible. It also often loses the connection and you need to set it up again and then you forgot how to even get the UI for it because it's not an app but a gnome extension, etc. very cumbersome.

But I just saw that every android phone already has QuickShare build in to the sharing button. And now I saw that there is a Linux implementation of it and it's super nice that it's just an app. It looks a bit awkward because it's not a gnome application but other than that it works really nice.

15
 
 

i'm seriously considering permanently abandoning laptops in favor of tablets. i spent a day working on my wife's tablet today and it was fine enough for when you're on the go that the small screen isn't too much of an issue. plus, you get an extended battery life, no noise, more comfort carrying it around, and the best of all, for much less money

the biggest downside is that, since tablets are technically embedded devices, they're much more locked up and you basically have no access to the system with the stock rom

so im looking for a cheap tablet ($100-$200), around 10 inches, that i can easily (or at least reliably) install linux to. any recommendations?

16
 
 

cross-posted from: https://discuss.tchncs.de/post/24899909

It's possible to submit questions already. Getting a feeling there'll be some uncomfortable ones; we'll see if they dare to engage with those.

A lot of the frustration that people have stems from Firefox's deeply flawed financing model, whereby the focus can never be solely put on the quality of the browser. Personally, with Google now being recognized as a monopolist and Mozilla in danger of losing 85% of its funding, I hope they can adopt Thunderbird's financing model (i.e. donations).

Now that they're not doing fundraising for lawmaking and/or grassroots activism because their advocacy team shut down, I hope they'll get a few people together and start to raise money from the user base.

This could be a very positive change for Mozilla if they play it right.

17
18
19
 
 

I currently have a mesh (wired) google wifi setup but want to switch so something... not google. Preferably wifi 6 but I don't need anything insane.

Cheap is good but I also want to be able to basically ignore it for the next 10 years.

20
 
 
21
 
 

Got an old laptop from a friend I'd like to rejuvenate, the plan is to set up a light distro so it wouldn't be as slow as it is right now with windows 10.

Now, I'm aware windows updates can fuck up a dual boot system, so i have a few questions about how to minimize the threat of that happening.

What i think of doing is running a few scans to check the disk, then setting up Linux Mint, because it is beginner friendly, and (relatively) light weight.

What I'd need help with is trusted guides and also tips for setting up dual booting, I'm sure I'll need to do disk partitioning and I've done that before but I'd still want to make sure I'm doing it correctly.

Any help would be welcome.

22
 
 

I just saw a post complaining about the Mozilla layoffs.

I wanted to point out that the vast majority of their income (over 85% in 2022) is from having Google as the default search engine - Ironically, the anti monopoly lawsuit against Google will end this.

Expect things to get worse.

Please don't assume it was just a cruel choice.

S1 S2

23
 
 

Is there a way to set a five second timer for grim via the terminal? I want to take a screenshot, but the thing i want to screenshot disappears once i try another keycombo or select a new window.

24
85
submitted 2 days ago* (last edited 2 days ago) by Affidavit@lemm.ee to c/linux@lemmy.ml
 
 

Hi.

Does anyone know why is there a red cross on the icon here?

This device is a Corsair USB flash drive. I initially thought it may be because the data was corrupted as there were a couple of years where it remained unconnected and I know SSD does not like that. But I formatted the drive (ExFAT) and it still shows up with a red cross in Nemo file manager.

Any idea what this actually means?

Thanks for any insight.

25
 
 

I'm looking to upgrade drives on two of my machines. My server running ubuntu has a 3.5" and will be getting a larger capacity HDD, while my personal computer running endeavor OS will be going from a 2.5" ssd to an nvme drive. (Not sure if it helps giving the drive types, but can't hurt).

I'm fine with a clean install and reinstalling everything, but to save some time I'd of course like to minimize the effort that goes into it (importing settings etc). Any tips/tricks for either? Thanks in advance

view more: next ›