Linux

48074 readers
1247 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 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:

`

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 :)

2
3
4
 
 

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.

5
 
 

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?

6
 
 

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.

7
8
9
 
 

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.

10
 
 
11
 
 

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.

12
 
 

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.

13
 
 

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

14
77
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/[email protected]
 
 

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.

15
 
 

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

16
 
 

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! 🐧

17
18
19
20
21
22
23
 
 

Perhaps dumb questions inbound ;)

I use Arch because I'm strapped for time and my system is always moving.

  • 2 minutes to install something? AUR probably has it.

  • Ten minutes of free time to look for a software that fits a new need? Try random AUR things (auditing PKGBUILDs is just twenty seconds or so).

  • If I need a tiny patch, I'll just add a sed or patch file to the PKGBUILD. (Super easy, you barely learn any syntax cuz it's intuitive shell.)

  • make && make install/meson blahblah usually just works.

  • Wiki does the thinking for me if I need something special (e.g. hw video acceleration)

Buuuut update surprises can be a pain (e.g. Pipewire explodes Saturday evening) and declarative rollbackable immutability sounds really freakin' AWESOME, so I'm considering NixOS for my new laptop (old one's webcam broke). So I ask:

  • How much can I grok in a week?
    • I need to know Nixlang, right? I have a ton of dotfiles and random homemade cpp commands in ~/.local/bin that I use daily
  • How quick is it to make a derivation?
    • I make install a lot, do I need to declare that due to non-FHS? Can I boilerplate the whole thing with someone else's make install and ctrl+c ctrl+v? How does genAI fare? (Lemmy hates word guess bots, I know)
  • How quick is it to install something new and random?
    • Do I just use nix-shell if I need something asap? Do I need to make a derivation for all my programs? e.g. do I need to declare a Hyprland plugin I'm test-running?
  • How long do you research a new package for?
    • On Gentoo I always looked up USE flags (NOO my time); on Arch I just audit the PKGBUILD and test-run it (20 seconds); on Ubuntu I had to find the relevant PPA (2 minutes). What's it like for Nix?
  • Can you set up dev environments quickly or do you need to write a ton of configs?
    • I hear python can be annoying. Do C++/Android Studio have header file/etc. issues?
  • What maintenance ouchies do you run into? How long to rectify?
  • Do I need to finagle on my own to have /boot encrypted?
    • I boot via: unencrypted EFI grub asks for LUKS password -> decrypt /boot, which then has a keyfile -> decrypt and mount btrfs root partition. But lots of guides don't do it this way

Thanks for bearing with me ദ്ദി(。•̀ヮ<)~✩‧₊

24
25
 
 

cross-posted from: https://lemmy.ml/post/22205865

Ahead of tomorrow's availability of the AMD Ryzen 7 9800X3D processor as the first Zen 5 CPU released with 3D V-Cache, today the review embargo lifts. Here is a look at how this 8-core / 16-thread Zen 5 CPU with 64MB of 3D V-Cache is performing under Ubuntu Linux compared to a variety of other Intel Core and AMD Ryzen desktop processors.

The AMD Ryzen 7 9800X3D as previously shared is AMD's first processor leveraging 2nd Gen 3D V-Cache. The 64MB of cache is now underneath the processor cores so that the CCD is positioned closer to the heatsink/cooler to help with more efficient cooling compared to earlier X3D models.

The AMD Ryzen 7 9800X3D boosts up to 5.2GHz and feature a 4.7GHz base clock while total it provides 104MB of cache. Like with the prior 8-core Ryzen 7 7800X3D, all eight cores have access to the 64MB 3D V-Cache. The Ryzen 7 9800X3D features a 120 Watt default TDP. AMD's suggested pricing on the Ryzen 7 9800X3D is $479 USD.

The AMD Ryzen 7 9800X3D will work with existing AMD AM5 motherboards with a simple BIOS update. For my testing I was able to use the ASUS ROG STRIX X670E-E GAMING WIFI motherboard previously used for all Ryzen 9000 series testing after a simple BIOS update. AMD also sent out an ASRock X870E Taichi motherboard as part of the review kit. For these 9800X3D benchmarks I ended up testing both initially on the ASUS ROG STRIX X670E-E GAMING WIFI motherboard to match the previously tested Ryzen 9000 series processors and then repeated the run with the ASRock X870E Taichi motherboard as well for reference.

view more: next ›