Linux

49544 readers
922 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
-1
submitted 1 week ago* (last edited 1 week ago) by _carmin@lemm.ee to c/linux@lemmy.ml
77
 
 

I'm still trying to get myself over to linux, and I'm having a hard time finding a replacement for BetterTouchTool. Essentially, the app lets you customize multitouch trackpad gestures per-app and system wide with single to 5 finger support.

78
 
 

VirtualBox is ridiculously simple to set up and get virtual machines going. Shared folders, shared clipboard and much more are no issue.

But.

It eats resources. The installed virtual machines (VM) run relatively slow. What have you found to be feature comparable - and most importantly more resource-efficient - alternatives for running VMs under Linux?

79
14
submitted 1 week ago* (last edited 1 week ago) by Dop@lemmy.world to c/linux@lemmy.ml
 
 

Hi, I've been running linux mint for a couple years now, but I'm still a complete noob, every time I need to install an app or I need to go through a bunch of tutorial. Always found a way through though. Anyway, I'm currently running Mint 20.3 Una, and the System Reports suggest I upgrade to Mint 21 Vanessa. I would like to do so, but I have a couple questions for you: 1/ My USB ports don't work, so I can't make a backup of my system this way (and don't feel comfortable hosting a backup on the cloud since I'm currently using Proton and still have to move to another service). So I'm wondering if an upgrade is safe because I can't do a fresh install right now? 2/ Related to the first question: I'm using a old laptop (asus zenbook from 2015 or 2016, can't remember), so would I be find with an old hardware such as mine?

Cheers

80
 
 

I should've used it sooner rather than last year when they announced AI integration to Windows. Every peripheral I tried is just worked without needing to install drivers, and it works better and faster than on Windows, just like today when I tried to use my brother's 3D printer expecting disappointment, but no, it just connected and was ready to print right away (I use Ultimaker Cura), whereas on my brother's Windows computer I have to wait like 20 seconds; sometimes I have to disconnect and reconnect it again for it to see and ready to use. Lastly, for those who are wondering, I use Vanilla Arch (btw), and sorry for bad English.

81
 
 

I'm on a Fedora Kinoite system that is entirely on one LUKS encrypted drive, I recently added a second drive to have more space and I'm wondering how I should make use of it.
For now I formatted it completely with a new btrfs partition encrypted with LUKS and to actually add I thought I could:

  1. automount it to some location, not sure where I should mount it though, I've seen many questions online that say to avoid /mnt for permanent drives and also /media (there are contrasting opinions on that, though), so I thought I could maybe sidestep this question by going with the second option which is the following
  2. extending the already existing btrfs /sysroot to span across the 2 partitions on the separate drives, but I didn't find good information on this process when LUKS is involved. It seems like that kind of operation is heavily discouraged due to risking data loss

So I wonder, what is the best approach and the one that will give me fewer headaches? If it is the second, how do I do it?

Edit: going with the first option I had an issue where the drive wouldn't be mounted automatically at boot, I then read through my /etc/crypttab more carefully and saw that the UUID was wrong, I had used the partition UUID (PARTUUID as seen with the blkid command) instead of the actual device UUID, after correcting that it works and mounts correctly. Just a small oversight, the hardest to notice sometimes.
References:

82
 
 

I've been dual-booting Linux and Windows for a while, with Windows as the fall-back option in case I wanted to use Office for something. Now that they tried to trick me into paying a subscription for their AI slop machine, I'm finally, fully out. It was a pain to actually track down and back-up the stuff that was held for ransom in OneDrive, but now it is done.

83
37
submitted 1 week ago* (last edited 1 week ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 

Solus is an operating system that is designed for home computing. Every tweak enables us to deliver a cohesive computing experience.

84
 
 

I’m hoping to find something that:

  • has a nice dashboard
  • is quick and simple to install
  • is very lightweight and unobtrusive
  • can send alerts via http request
85
 
 

Hey all,

Anyone familiar with the state of Raptor Lake performance + efficiency cores in Linux? I'm specifically curious about how the kernel balances things when running multiple containers (without pinned CPUs)

Thanks!

86
167
submitted 1 week ago* (last edited 1 week ago) by estebanlm@lemmy.ml to c/linux@lemmy.ml
 
 

hi,

pretty much the subject... I am trying to choose my next laptop and I am tempted to buy a framework 13 AMD. I saw this post from one year ago : https://www.phoronix.com/review/framework-13-amd

and while the review is impressive, comments are not. how things have evolved since then? any experience?

EDIT: you convinced me, I just ordered mine. Thanks for the incredible answers !
NEW EDIT: I use arch (btw), and Gnome. For the answers, I do not think this will pose a problem but... what do you think?
(and yes, I ordered mine before reading last comment of paequ2 who doesn't like it... for reasonable reasons, maybe. I hope I will have more luck ;) )

87
15
submitted 1 week ago* (last edited 1 week ago) by nothingcorporate@lemmy.today to c/linux@lemmy.ml
 
 

Ok, getting Linux setup as Windows enshitiffication continues...I installed Arc Menu and it's almost perfect, but the app categories have mostly themed icons, just a few of them don't. Any way to change these last 5 icons on the far-left side?

EDIT: Solved. Took me longer to figure out than I want to admit, but in my case, those category icons were coming from Zorin OS's built in menu settings. So I launched the "Main Menu" from Arc Menu, which brings up Zorin's menu editor.

Then clicking on "Applications" shows the categories, at which point I could right-click on a category, then "properties" and click on the icon

The system icons are stored at /usr/share/icons -- browse to the right icon, select it and restart gnome (or log out and log back in)...everything is fixed. Hope this helps someone else save a bit of time down the road 🤷

88
89
90
 
 

pretty much the title.

91
 
 

In my home rig (Fedora) I run a Debian 12 VM (virsh) for work stuff, but when I want to run some custom commands (for which I assigned keyboard shortcuts) on the host, while the VM has the focus, I need to focus some host element first and then do the combination on the keyboard. I was wondering if somewhere in Spice configuration I can set like "ignore ctrl+alt+whatever" so that it will always captured by the host.

92
 
 

I have a server running Debian that has been connected to WiFi for a long time, but I have since moved it and given it a wired connection. It still seems to be using WiFi though, and in my router settings it shows up as connected through WiFi and not through ethernet.

Now I want to make sure that I can switch over from WiFi to ethernet directly from an ssh-connection so I won't have to connect a screen to get direct access.

What is my best bet here? A lot of the tools I find used for different network operations are not pre-installed, and I don't want to be installing just everything being suggested. Can I solve this by installing network-manager and using nmcli?

EDIT: I also want to disable the wireless card.

EDIT2: No eth-interface shows up when running ip link show, EDIT3: but r8169 0000:02:00.0 enp2s0: renamed from eth0 shows up in dmesg and enp2s0 shows up in ip link show, so I guess it is recongized then.

[SOLVED] EDIT4: I made the modifications manually in etc/network/interfaces, and now it seems to work. I entered the following lines:

auto enp2s0
iface enp2s0 inet dhcp

And then it showed up in my router. I then continued to comment out the lines enabling the wireless interface, and after reboot it works fine still.

93
94
56
submitted 1 week ago* (last edited 1 week ago) by dunes@feddit.org to c/linux@lemmy.ml
 
 

It's fixed now.

Before it worked.

95
 
 

I've seen this video of Timothy Roscoe at USENIX ATC '21 recently and was very interested in multikernel OSes.

While Barrelfish is abandoned, it seems that Kirsch is his successor.

However, since I've seen this video I wonder what changed since the keynote, why it doesn't seem to be a thing for mainstream kernels and if there was any roadmap/will to expand mainstream kernels like linux to embrace the whole hardware.

Do you have any pointers/ideas or resources to share on this?

96
 
 

I'm trying to use Android Studio, but the virtual android doesn't start because of KVM error. Tinkering around with another VM application I understood that it's a location/permission issue (flatpak Gnome Boxes had the same issue, couldn't load KVM, but Boxes installed via terminal worked and I could start a VM).

On the official Android Studio website they suggest extracting the tar.zip in /usr/local but the system doesn't allow me to, so I extacted it on the desktop and the app runs, but I get a "/dev/kvm is not found" error, which should be because of the location I'm running Android Studio from.

So, should I just sudo force move the folder of Android Studio from desktop to /usr/local or is there a better way to do it?

PoP_OS just in case it can be useful to know.

Thanks in advance!

edit: fixed it by updating BIOS to latest Beta. Can't believe it was a bug in the version I was running and no one else catched it, since Beta changelog didn't mention it.

97
 
 

I have a server running Debian 12. It seems to hang up and freeze sometime between 12 hours and like 2-3 days. I really want to see what's happening, but I can't access my containers with the web UIs, can SSH, and adding a monitor shows the DE completely frozen. Rebooting fixes it for a while, but it locks up again after some time.

I had the same issue with 10 year old hardware so I threw together a "new" machine with some spare parts and it still happens I also tried rocky Linux and the same thing happened on both machines.

Any help and direction would be greatly appreciated!

98
 
 

so if you have some reason to want such a thing, well I guess it exists. github.com/chep/copilot-chat.e…

99
 
 

I created a simple alias for xargs, with the intend to pipe it when needed. It will simply run a command for each line of it. My question to you is, is this useful or are there better ways of doing this? This is just a little bit of brainstorming basically. Maybe I have a knot in my head.

# Pipe each line and execute a command. The "{}" will be replaced by the line.
# Example:
#   find . -maxdepth 2 -type f -name 'M*' | foreach grep "USB" {}
alias foreach='xargs -d "\n" -I{}'

For commands that already operate on every line from stdin, this won't be much useful. But in other cases, it might be. A more simplified usage example (and a useless one) would be:

find . -maxdepth 1 | foreach echo "File" {}

It's important to use the {} as a placeholder for the "current line" that is processed. What do you think about the usefulness? Have you any idea how to use it?

100
view more: ‹ prev next ›