Linux

47777 readers
740 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
651
 
 

My mouse right-click is double-clicking. I want to have a time interval between two clicks to register the second one. Is there a way to do this in KDE Plasma 6?

652
36
submitted 2 months ago* (last edited 2 months ago) by Virkkunen@fedia.io to c/linux@lemmy.ml
 
 
SYSTEM INFO: 
- endeavourOS 6.10.3-1-cachyos
- Kernel parameters:
  - nvidia_uvm nvidia_drm.modeset=1 nvidia_drm.fbdev=1 nvidia.NVreg_PreserveVideoMemoryAllocations=1
- KDE Plasma 6.1.4 on Wayland
- AMD Ryzen 7 7800X3D with iGPU enabled on BIOS
- NVIDIA RTX 3080 with nvidia-beta-dkms 560.31.02-1
- Main display plugged on NVIDIA GPU (display port)
- Secondary display plugged on motherboard (display port)

I want to be able to make use of my iGPU (AMD Raphael on a Ryzen 7 7800X3D) to render everything, and run my games on my NVIDIA RTX 3080. It's a desktop PC, I have 2 monitors, my main one is plugged to my 3080 and the secondary is plugged to the motherboard, and by doing so, VRR/Gsync works on my main display (the only workaround to get VRR working with a NVIDIA card and multiple monitors). The second thing I would like to do is for Firefox on my second screen to render/decode with my iGPU, so I can watch videos and streams there without sacrificing my frames on my games (losing about 20 frames playing Helldivers 2 if a video is playing on the background because it uses my dGPU to decode).

I've installed nvidia-prime from AUR and added the udev rules as written on arch wiki, however it seems that my iGPU isn't being used at all

❯ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3080 Lite Hash Rate] (rev a1)
11:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev cb)
❯ glxinfo | grep "OpenGL renderer"
OpenGL renderer string: NVIDIA GeForce RTX 3080/PCIe/SSE2

I've noticed that moving my cursor and windows on my desktop is now slower/laggier (check notes below), and my turing smart monitor can't detect my NVIDIA GPU, but that's the extent of the changes. When I open Firefox directly on my second screen and play a video, with nvtop I can see that my NVIDIA GPU is the one doing the work with my iGPU not being utilised at all: https://i.imgur.com/CPPICUk.png (notice how there is no usage at all on my iGPU)

I've got a screenshot while I was playing Helldivers 2 and playing a video at the same time, and if I paused the video I'd get my frames back. Using prime-run to run my games has no difference since everything is being handled by the dGPU anyways.

Is there anything I'm missing here? I'm happy to provide more info but I'm a bit clueless on how to troubleshoot this more so any help is much appreciated.

NOTE: Regarding the choppy cursor, it is not because of GSP firmware. I've tested the proprietary drivers with and without GSP firmware, and the open drivers since 550 and I haven't noticed a single difference in my setup, they all perform exactly the same. Besides, I'm using the beta 560 drivers which are open modules only, which needs GSP firmware enabled.

653
 
 

cross-posted from: https://lemmy.ndlug.org/post/965607

GNOME 46.4 is now available as the fourth maintenance update to the latest GNOME 46 desktop environment series with various bug fixes.

GNOME 46.4 is here a month after GNOME 46.3 with improvements for connecting to WPA2 enterprise networks, glitches in the looking-glass effect, Persian on-screen keyboard layout, overview startup notification, keyboard navigation in app folders, and nested popovers on Wayland.

Release Announcement: GNOME 46.4 Released

654
 
 

The ext-image-capture-source-v1 and ext-image-copy-capture-v1 screen copy protocols build upon wlroots' wlr-screencopy-unstable-v1 with various improvements for better screen capture support under Wayland. These new protocols should allow for better performance and window capturing support for use-cases around RDP/VNC remote desktop, screen sharing, and more.

Merge Request: Create ext-image-capture-source-v1 and ext-image-copy-capture-v1

655
 
 

Hello, I just want to share here. Hopefully it's useful. Thanks

656
34
submitted 2 months ago* (last edited 2 months ago) by msmc101@lemmy.blahaj.zone to c/linux@lemmy.ml
 
 

Hey there, I'm trying to install Mint on a 2015 MacBook Pro and for some reason the laptop won't show the USB in the boot menu when I try to access it. I've tried using both baleneaEtcher on both my Macbook and my Linux desktop, and ventoy on the desktop to make the drive but neither has worked.

Does anyone have experience with this era of macs and installing Linux on them?

EDIT: Changing the flash drive worked ¯_(ツ)_/¯

657
 
 

I'm looking for interesting tools to automate managing packaging and configuring everything automated.

And yeah I know about NixOS but I like to distro hop and experiment so I for now know these:

  • Ansible - automating many machines, using different package names as vars and package managers.
  • Bash - the most native and compatible scripting language that can be.
  • Chezmoi - for dotfiles.

For now that's it. I'm looking forward for your suggestions!

658
 
 

I'm posting this as more of a "fun thought" than anything else.

It's generally considered a fact that Linux, along with many other open-source software projects, are more efficient than their propriety closed-source counterparts, specifically in terms of the code that they execute.

There are numerous reasons for this, but a large contributing factor is that open-source, generally speaking, incentivises developers to write better code.

Currently, in many instances, it can be argued that Linux is often less power-efficient than its closed-source counterparts, such as Windows and OSX. However, the reason for this lies not in the operating system itself, but rather the lack of certain built-in hardware support for Linux. Yes, it's possible to make Linux more power-efficient through configuring things differently, or optimizing certain features of your operating system, but it's not entirely uncommon to see posts from newer Linux laptop users reporting decreased battery life for these reasons.

Taking a step back from this, though, and looking at a hypothetical world where Linux, or possibly other open-source operating systems and software holds the majority market share globally, I find it to be an interesting thought: How much more power efficient would the world be as a whole?

Of course, computing does not account for the majority of electricity and energy consumption, and I'm not claiming that we'd see radical power usage changes across the world, I'm talking specifically in relation to computing. If hardware was built for Linux, and computers came pre-installed with optimizations and fixes targetted at their specific hardware, how much energy would we be saving on each year?

Nanny Cath watching her YouTube videos, or Jonny scrolling through his Instagram feed, would be doing so in a much more energy-efficient manner.

I suppose I'm not really arguing much, just posting as an interesting thought.

659
28
submitted 2 months ago* (last edited 2 months ago) by user_naa@lemmy.world to c/linux@lemmy.ml
 
 

Is there any good alternative to parted, that I can use in scripts? Parted main problem is that it requires user confirmation one each action.

660
 
 

I have tried to follow several tutorial to setup using either ip or nmtui:

However, the bridge inherits the MAC address of host after enslaving the host hardware enp1s0.... This causes my router to give both the host and the bridge the same ip address, making the ha instance inaccessible.

The red hat tutorial clearly show that the bridge and the host have different IP, so I was wondering if I am doing something wrong.


alternatively, I can set the home assistant vm to run in NAT and port forward from host, but I have several devices that communicate over different ports. So it would be annoying to forward all these ports. Not to mention, many appliances don't have documentation about the ports they use.

I can also potentially use virtualbox, but it is not well supported on silverblue, especially with secureboot enabled.

661
 
 

I tried i3 and now just wondering, which WM I can pick and why, because of their great diversity. Any advices?

662
49
submitted 2 months ago* (last edited 2 months ago) by lal309@lemmy.world to c/linux@lemmy.ml
 
 

Okay so it’s been like a month since EndeavourOS has found an update to install. I’m running sudo pacman -Syu almost daily to update my system but it only find eos-* updates to install and nothing else. I know kernel 6.10 came out not long ago but my system is still on 6.9.*. What can I check? There’s no way EOS hasn’t had an update in over a month…

Edit: added screenshot. Just ran this and as expected, only one package found.

Edit 2: Refreshing the mirrors and ranking them did the trick. Thousands of updates waiting…

663
0
submitted 2 months ago* (last edited 2 months ago) by Rick_C137@programming.dev to c/linux@lemmy.ml
 
 

Hi,

I got FileA that have 640 a getfacl FileA give me

# file: FileA
# owner: me
# group: me
user::rw-
user:aUser:r--
group::r-x			#effective:r--
mask::r--
other::---

So it's give me the expected...

but when I do

chmod 600 aFile
getfacl aFile
...
user:aUser:r--		#effective:---
...
mask::---
...

Why suddenly aUser lost his ability to read the file !?!?!

664
 
 

Hi,

I've set for a directory the following

setfacl -dm u:aUser:r aDirectory
#set new files to be readable by aUser

cp ~/Desktop/aFile.txt /xx/xx/xx/aDirectory

getfacl aFile.txt #the copied one
# file: aFile.txt
# owner: me
# group: me
user::rwx
user:aUser:r--
group::r-x
mask::rwx
other::rwx

So indeed we see the aUser got r--

but

stat aFile.txt

return

(0777/-rwxrwxrwx) #!!!!

is that normal !!!!???

Thanks.

665
24
submitted 2 months ago* (last edited 2 months ago) by clmbmb@lemmy.dbzer0.com to c/linux@lemmy.ml
 
 

I have a pi hole in my network and I set it as my primary DNS server, and my router (a Mikrotik) as secondary. DHCP sets the DNS servers as pihole, mikrotik in this exact order and I want to keep it that way. I know systemd-resolved uses some algorithm to set the fastest dns as current server, but I don't want/need that. Is there some way to do configure it to just let it be?

I'm running Fedora 40.

666
 
 

I use vmware and qemu

667
 
 

First up is something cool: support for SVG-based cursor themes! This allows compatible themes to always display beautiful sharp cursors at any size, and has already been rolled out for the Breeze Light and Breeze Dark cursor themes. It does not use the Hyprcursor system, and we have not yet upstreamed it to be a different cross-desktop spec. However, we are considering doing so in the near future. This work was done by Jin Liu and Vlad Zahorodnii, and lands in Plasma 6.2.0.

On the subject of cross-desktop specs, KDE apps now does support the cross-desktop thumbnailer spec, meaning that any of these thumbnailers already on the system will now instantly start working! One of the most notable examples would be the STL file thumbnailer, which will be a boon for anyone working with 3D models or 3D printers. This work was done by Akseli Lahtinen and lands in KDE Frameworks 6.6.

668
669
207
submitted 2 months ago* (last edited 1 month ago) by data1701d@startrek.website to c/linux@lemmy.ml
 
 

Another update: https://startrek.website/post/13283869 I found a fix for my issue. I'm annoyed that I had it in the first place, but I overall still like my laptop.

Important update in this post: https://startrek.website/post/14075369 I still consider this a good laptop, but this is an important fix if you're using this on Debian 12. When 13 comes out next year, the out-of-box support of this laptop should be basically perfect.

Anyhow, back to the original post: I recently got a brand new laptop, a Thinkpad 21JT001PUS, to consolidate/replace my array of various on-the-go-Linux devices, and I have to say, I'm impressed. I know Thinkpad and Linux aren't news, but for such a recent device, I am surprised how well it works. The price wasn't bad (which makes up for the fact that it's a Zen 3 chip with DDR4, in my opinion), it has good upgradability (I'll touch a bit on my experience later), and hardware support was really good.

I initially tested hardware support with Debian Testing Trixie XFCE (as that was the Live USB I happened to have on hand, since I often test devices and also keep it around as a backup for my desktop, which runs Testing). At first I couldn't get it to boot, but then I found the BIOS setting to enable non-Microsoft certificates. After that, I booted in and found everything worked out of the box (except the fingerprint sensor, of course, but that's extremely rare for any laptop anyway). However, after experience with my previous portable devices, I learned I prefer stable distributions on those, as during some parts of the year, I can go months without opening the laptop.

Thus, I retested with Bookworm. Almost everything worked still, except for the Wi-Fi (which seems to have been introduced in later kernel versions). Luckily, this thing has an ethernet port (From which it is HECK to remove cables - I've found I had to twist the end up a bit to get it out), so I was able to do an install and then add the Backports kernel to get Wi-Fi working.

One minor issue I had (a software fault rather than a hardware/kernel one) was Bluetooth headphones, but as it turned out, it was just that PulseAudio was installed instead of Pipewire, so after switching, it worked flawlessly with Blueman).

As for battery life, so far it seems okay (as I write this, it says 3:29 left at 51%), but I haven't rigorously tested it yet (though I threw on the usual tlp and stuff like that for good measure).

For performance, I once again haven't tested it too rigorously, but I did play some Civ VI, which it was keeping up with just fine.

The upgrabability of this laptop does have one caveat, though. The bottom is a bother to remove, and most Youtube crap conveniently glosses over them. For one, some of the screws would get loose but not come out all the way. I eventually found the trick was to throw some pry tool under the screw head to hold it up so I could get it the rest of the way out. After they were all out, the bottom cover STILL wouldn't budge. This too ended up being a matter of jamming a pick in one corner of the case and running another one to slowly pry up the bottom case on all sides. I lost a plastic tab or two in the process, but that doesn't show up on the outside, and I think 24 GB of RAM (and 2 TB of NVME 2280 storage + 256 GB, the Windows drive that I left in the 2242 bay) will be plenty for a long time.

Overall, I would say this is a great laptop for those who don't want to go the route of purchasing a used laptop for Linux. I'll say an 8.5 out of 10 due to the hard-to-remove bottom cover and weird ethernet port (Update: 8 out of 10 now due to the nasty Wi-Fi bug I had to fix with a few module options, see posts linked in top of page).

Here's the Linux Hardware probe: https://linux-hardware.org/?probe=1e50fb1862

670
671
672
 
 

I want to be able to copy text to a "Copy Box".

In early RTS you could bind units to number keys 1 through 10 by pressing Ctrl + # and then # to recall that selection.

I want to be able to have Multiple Copy & Paste boxes like Copy 1, Copy 2, Paste 3

Is there anything like this on Wayland already?

673
 
 

Hi so i want a list of desktop environments bcs its annoying finding a list for obscure desktop environments and it would be handy for me and other people

674
 
 

I have been using linux for almost 20 years now and it never stopped to amaze me.

recently we bought a drawing tablet (screen ones). my wife uses windows so she installed the drivers, installed the configuration program and so on. After hours and hours she called me to say "i finally got it working" and i felt the frustration in her voice.

i just tried to get it working on my machine, i'm using swaywm mind you. as i connected the hdmi it just got recognized as a second monitor. but the mapping was off, it tried to map the whole width of the working area to the tablet. so i just put this in the config:

input INPUT_NAME { map_to_output OUTPUT_NAME map_to_region OUTPUT_X OUTPUT_Y WIDTH HEIGHT }

and that's it! no drivers no nothing. i love linux!

675
 
 

Yeah, so I have a notebook with Kubuntu 24.04.
I have Night Control setup for warmer color 8:00PM-8:00AM

Oftentimes I go to the computer to do something and I see it is in the wrong mode. I’ve not seen any pattern it’s just arbitrarily not switching over.

My lid close action is just turn off screen; no sleep mode (problems). So usually I am opening the lid and start to use the machine and then notice this.

Is this a known issue? Or does anyone else have this problem?

SPECS:

Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-40-generic (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 7535U with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: Zenbook 15 UM3504DA_UM3504DA
System Version: 1.0

view more: ‹ prev next ›