Linux

53087 readers
555 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
32
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]
 
 

Response to a recent claim that Ctrl+D in the terminal is like pressing Enter. It kind of is but it’s also misleading to say so without further explanation.

77
78
79
 
 

The diversity of Linux distributions is one of its strengths, but it can also be challenging for app and game development. Where do we need more standards? For example, package management, graphics APIs, or other aspects of the ecosystem? Would such increased standards encourage broader adoption of the Linux ecosystem by developers?

80
 
 

Hi all!

I recently installed Tuxedo OS with KDE and Wayland. I'm fairly new to Linux and, so far, the distro is great. With one caveat.

As far as power options go, everything works fine EXCEPT for Sleep. I can put the PC to sleep, but when I wake it up, I land on the login screen wallpaper with the login/password fields barely visible, as if frozen around the second frame of a fade-in animation.

Nothing works. The mouse cursor doesn't move, the keyboard doesn't do anything. The only way out of this state is to hold the power button until the PC shuts down and then turn it back on again.

I did some digging, but couldn't find a solution. Some threads mentioned modifying something in systemd, but those were from years ago, so I didn't want to risk that.

One fairly recent thread had a proposed solution of adding "mem_sleep_default=deep" to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub.

That didn't work for me, though.

I'd love to fix this, but I'm out of ideas. Any help welcome!

EDIT

Forgot it might be a driver issue, people were complaining about Nvidia gear!

I currently don't have a dedicated GPU. I only have Ryzen 7 7800X3D running on MSI B650 Gaming Plus WIFI ATX AM5 MoBo.

81
82
 
 

I want to move a directory with a bunch of subdirectories and files. But I have the feeling there might be some symlinks to a few of them elsewhere on the file system. (As in the directory contains the targets of symlinks.)

How do I search all files for symlinks pointing to them?

Some combination of find, stat, ls, realpath, readlink and maybe xargs? I can't quite figure it out.

83
 
 

Hey there I am another refugee from windows with the forced push to windows 11. I thought it was time I tried once again linux. So far I am pretty satisfied.
I installed Fedora with KDE and successfully migrated my syncthing server, sftp server. Correctly mounted my nft disks and successfully installed mullvad with all split tunneling I needed.

Now I need advices about 3 things which I sorely miss and which keep forcing me to boot on windows :

  • is there any equivalent to macrium reflect, allowing to schedule weekly image backup for system disk. So it could be restored in case something really goes wrong.
    My system disk is brtfs. Time machine looks nice but it's not working because I have no @home and @root volume identified. I found explanations which explain how to do it but I am not too sure it's a good idea to do so.
    I also found rsync. Didn't explore enough this solution but I am not sure an image backup can be done if system is running ?
  • for vscode it's easy and I got it running for my linux environment. Yet I have programs which are meant specifically to run on windows and so I can't develop and test them on linux
  • at last for my work I need to be able to use excel. Libre office is not a solution, it's ok for basic usage but it's far behind if you're using it professionally. Please don't turn this about an arguments to say calc is good, really there is something that are just impossible with it. (Like using arrays, power query or data models)

For the last 2 points I feel like my only solution would be to use a virtual machine running windows. Is there a way to run them on it but make it looks like it's a linux app? Somewhat is it what docker is doing but for linux apps ?

Well I feel like I have not many options if I want excel and vscode on windows environment. So sadly I think that will settled it. Please share your thoughts.
I would also really appreciate people sharing what they do to backup their system disk.

Thanks for your advice !

84
15
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]
 
 

So I want to type in my native language, and the easiest tool i know of is this:

https://www.google.com/inputtools/try/

It's not available offline for Linux though. I have tried running some windows executable from archive.org under wine, this didn't work. I also tried some random alternative (Varnam), but it was way too complex of a setup for me. (It kept telling me to compile libraries, and none of it worked in the end)

I want something that can take in english character input and turn it into proper devnagari typeface. If I type in "namaste", it has to come out as नमस्ते. And It has to be Offline.

I haven't found anything that fits to all these categories

Turns out Google Input is my best bet. Is there a way I can get it working?

85
 
 
86
-3
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]
 
 

I'm moderately experienced with linux. Been using it as my daily driver since 2018. Mostly using Fedora but also have a Debian server. I'm pretty comfortable with systemd but don't love the bloat.

Anyway, I've decided that I'd like to try Arch. So I'm looking for tutorials to help me learn or get familiar with Arch instead of just diving in head first like a madlad.

So what Arch tutorials do you like and are there any that you'd recommend that I watch?

Edit: lmao you guys are brutal. yeah i know about the arch wiki, rtfm and all that. I know i'll be spending a lot of time with the wiki. I just wanted to get a rough intro first. Well, I guess I'm off to read the fkin wiki now.

87
 
 

I know Gnome is the default on popular distros: Fedora, Ubuntu, Rhel, Pop OS (it's Cosmic Desktop yes but it is still based on Gnome)...etc. But Gnome just doesnt work for me. I would pick XFCE - stable and no BS.

Before Manjaro and their cetificate shenanigan, I used to use their XFCE version. At the time, it was marketed as the "Flagship Manjaro version". I went 4 years without any problems and I did tinker a lot, just couldnt get their XFCE to break.

After a tough Arch or Gentoo installs, I just want to put XFCE on and call it a day.

What about you guys?

88
71
Laptop for Linux (lemmy.dbzer0.com)
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]
 
 

Hey all.

I've booted Linux Mint Debian Edition and Arch on to a couple old machines including my old laptops. The performance is still rather brutal because these machines are so old and their battery lives are rough. They are also bulky and uncomfortable to carry around.

So, I've been thinking about getting a more modern laptop and putting Linux on it but I've been out of the laptop market for so long now I have no idea what's good and what's not anymore. Any recommendations?

I think I've heard decent things about Chromebooks but how's the hardware of those? Are they relatively locked down and don't play nice with Linux? I'm just looking for a machine for daily use (browser, light coding, remote connecting to my desktop for heavier stuff)

Thanks in advance

EDIT: Thank you to everyone for responding, I did not expect so much discussion! I've certainly changed my mind on Chromebooks and will look into the options recommended below in the coming months. Thanks!

89
 
 

cross-posted from: https://lemmy.wtf/post/18741487

90
 
 

Hello!

I am pleased to announce a new version of my CLI text processing with GNU awk ebook. This book will dive deep into field processing, show examples for filtering features, multiple file processing, how to construct solutions that depend on multiple records, how to compare records and fields between two or more files, how to identify duplicates while maintaining input order and so on. Regular expressions will also be discussed in detail.

Book links

To celebrate the new release, you can download the PDF/EPUB versions for free till 06-April-2025.

Or, you can read it online at https://learnbyexample.github.io/learn_gnuawk/

Interactive TUI apps

Feedback

I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on.

Happy learning :)

91
92
93
94
95
96
 
 

I have been using KDE for a while, while I like many features I am looking for suggestions to the default email client:

Kmail - completely unusable for me and the only one which could maybe be integrated with kontacts, it could not receive mails from IMAP or pop or would receive only sometimes

Geary - good but too minimal, I need at least some kind of contact list and mailing lists feature, maybe this integrates with gnome contacts? I couldn't find anything in settings

97
 
 

would the performance be huge and be very awesome?? if i had a computer with the latest amd ryzen chip and with 4tb of ssd and 16gb of ram and installed lubuntu on it, what would happen?

has anyone ever tried this??

98
 
 

I'm trying, and struggling a little bit with getting the three items in the title setup the way that I want.

Running Arch.

I would like to run Radarr, Sonarr and SABnzbd all under the same user/group. My reasoning is that I (am just being overly particular) want any of the files created by those services to fall under the same owner/group. This is easy enough to accomplish by running systemctl edit service.service and adding the appropriate lines in the configuration for each one and saving it so the services run using the specified user/group.

The issue that I'm having is that the correlating folders in /var/lib/ have the ownership of the original users. I can manually change that ownership to the user/group I want but if I reboot the computer the SABnzbd folder ownership reverts back to default (the other two were doing the same thing but suddenly stopped and I'm not 100% sure why) or if the services get updated, the folders will also revert back to their default user/group.

Is there a way for me to enforce the ownership of those folders to the user/group that I have set to run the services regardless of them getting updated or the machine rebooting?

99
 
 

https://gitlab.com/christosangel/deshuffle

deshuffle is a terminal word puzzle game, written in Bash.

The simple aim is to put all the given letters in order to find the shuffled word against the clock. The time available after a number of words also reduces, so the game gets harder as it goes.

There is not only one solution to every puzzle. If the user find a word with the same letters, the solution will be accepted.

By default, the adjusted definitions of the words appear in the end of each round.

The game ends when the user fails to find the word in time, or fails to create an acceptable solution altogether.

If the score is among the 10 best scores achieved, it makes it in the Top Ten Highscores.

This game was inspired by https://wordnerd.co/23words/.

100
 
 

Background: I am a lifelong Windows user who is planning to move to Linux in October, once Microsoft drops support for Windows 10. I use a particularly bad laptop (Intel Celeron N3060, 4 GB DDR3 RAM, 64 GB eMMC storage).

I do have some degree of terminal experience in Windows, but I would not count on it. If there are defaults that are sensible enough, I'd appreciate it. I can also configure through mouse-based text editors, as long as there is reliable, concise documentation on that app.

So, here's what I want in a distro and desktop environment:

  • Easy to install, maintain (graphical installation and, preferably, package management too + auto-updating for non-critical applications)
  • Lightwight and snappy (around 800 MB idle RAM usage, 10-16 GB storage usage in a base install)
  • Secure (using Wayland, granular GUI-based permission control)

I have narrowed down the distributions and desktop environments that seem promising, but want y'all's opinions on them.

Distributions:

  • Linux Mint Xfce: Easy to install, not prone to randomly break (problems: high OOTB storage usage, RAM consumption seems a little too high, kind of outdated packages, not on Wayland yet)
  • Fedora: Secure, the main DEs use Wayland (problems: similar to above except for the outdated packages; also hard to install and maintain, from what I have heard)
  • antiX Linux (problems: outdated packages, no Wayland)

Desktop Environments:

  • Xfce: Lightweight, fast, seems like it'd work how I want (problems: not on Wayland yet, that's it)
  • labwc + other Wayland stuff: Lightweight, fast, secure (problems: likely harder to install, especially since I have no Linux terminal experience, cannot configure through a GUI)

In advance, I thank you all for helping me!

I appreciate any help, especially in things like:

  • Neofetch screenshots, to showcase idle RAM usage on some DEs
  • Experiences with some distributions
view more: ‹ prev next ›