Linux

48684 readers
385 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
326
 
 

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

327
328
 
 

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 helps someone. Share it with others if you think it will help them.

Thanks :)

329
330
331
 
 

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.

332
 
 

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?

333
 
 

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.

334
335
336
 
 

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.

337
 
 

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.

338
 
 
339
 
 

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.

340
 
 

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

341
 
 

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

342
343
344
89
submitted 1 month ago* (last edited 1 month 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.

345
 
 

What are your latest DE experiences with Touch- and/or 2in1-devices? I heard some prefer Gnome for their gesture support and modern layout. Others prefer the highly customizable KDE Plasma. Sometimes with custom installed virtual keyboard. However most discussions where kinda dated. Referring to Plasma 5 or older etc.

So I am asking the Fediversians for their experiences and setups! 🐧

346
347
 
 

I'm using the Cinnamon edition of Linux Mint 22 (Wilma) and I've installed all of the dependencies listed on the build documention but when I try running meson setup builddir in the android_translation_layer folder, it gives me this error:

ERROR: C shared or static library 'art' not found

Assuming that the "art" that it needs is "art_standalone", I've already installed that and it seemed to install just fine but for some reason meson still can't find it. Assuming that it can work in Linux Mint, what should I try next?

348
349
350
view more: ‹ prev next ›