Tabs are 8 characters, and thus indentations are also 8 characters. There are heretic movements that try to make indentations 4 (or even 2!) characters deep, and that is akin to trying to define the value of PI to be 3....
Why should we have the same standard for two fundamentally different languages with distinct design philosophies and features?
Even if the C coding standard was used, it fundamentally will not make Rust more legible to C-only kernel devs. Imposing the C coding standard on Rust would be fundamentally counterproductive, as it would undermine Rust's safety and productivity features. Rust's coding guidelines align with its design principles, promoting idiomatic Rust code that leverages language features like ownership, borrowing, and lifetimes.
This ensures that Rust code in the kernel is safe, concurrent, and maintainable, while adhering to the language's best practices.
While the C coding standard served its purpose well for the procedural C language, it is ill-suited for a modern language like Rust, which has different priorities and language constructs. Having separate coding standards allows each language to shine in its respective domain within the kernel, leveraging their strengths while adhering to their respective design philosophies. Having separate coding standards for C and Rust within the kernel codebase is the sensible approach.
In any case, it's the temporary file directory so it should be fine to delete them manually.
Just make sure that podman isn't running while you're deleting them, assuming it is podman.
I tried different font settings in the font settings and it didn't improve much (font hinting, anti aliasing, custom DPI settings, different font size)...
On KDE plasma the fractional scaling also plays a role in text rendering. Then there's also the "Legacy Application Scaling" for X11 apps on the Wayland session.
Font rendering is complex and depends on several settings and features lining up perfectly. Anti-aliasing, DPI, fractional scaling, hinting, and subpixel rendering are all important factors that contribute to the quality and appearance of text on a digital display.
This error is caused by a compatibility issue between Wine's RandR (X11 display extension) implementation and the NVIDIA proprietary drivers.
a. Install winetricks and run winetricks orm=backbuffer glsl=disable
This will configure Wine to use a different rendering method that is compatible with the NVIDIA drivers.
&/Or
b. Use a tool like Q4Wine to configure the Wine prefix and set the "UseRandR" option to "N"
This will disable Wine's use of the RandR extension and use a fallback method instead.
I've been trying Tumbleweed for my gaming needs and so far it seems to be working relatively well. My issue is about removed packages. When I first installed TW, I removed quite a few packages I did not want (KSudoku, LibreOffice, and a few others). It has been a little since I've turned on my PC but yesterday I noticed that...
I've run passwd and sudo su; passwd to change password for root and my account. Password is set correctly when using sudo and su but whenever I get prompted by pkexec it accepts only the old password. I've rebooted my system to make sure it was not an issue....
So i tried to connect steamdeck to pc using usb and i read its immpossible because steamdeck is a computer and some explanation on quora about strong master slave relationship....
Possibly. But from my research it seems to really depend.
the USB-C ports on the two PCs need to support USB OTG (On-The-Go) functionality, which allows the ports to dynamically switch between host and device modes. This is what enables the direct PC-to-PC communication over the USB-C connection.
Enabling USB-C OTG Device Mode :
Ensure the Linux device has a USB-C port that supports OTG functionality.
In the device tree, set the dr_mode property of the USB OTG controller to "peripheral" or "otg" to enable device mode.
Configure the TUSB320 USB-C controller (or equivalent) to operate in UFP (Upstream Facing Port) mode, which allows the device to act as a USB peripheral. Configuring USB Gadget Drivers :
Load the appropriate Linux USB gadget driver for the desired functionality, such as g_ether for Ethernet over USB, g_serial for a serial device, etc.
Manually configure the USB network interface, such as assigning an IP address to usb0. Connecting to a Host :
Use a USB-C to USB-C or USB-C to USB-A cable to connect the Linux device in OTG device mode to a host PC.
The host PC should then detect the Linux device as a USB peripheral, allowing file transfer, network connectivity, or other functionality depending on the configured gadget driver.
Not sure if that'll work for SteamDeck-to-LinuxPC connection, but I'm certain that works for SteamDeck-to-Android.
It is using USB gadgets, so it's worth a shot at least.
Whenever I resize the panel or the any other widget on the panel (e.g calendar widget) it doesn't remember its size. It's really annoying me. I am on Fedora 40, KDE 6.0.4. Nothing seems to fix it, thinking of a complete reinstall. Is anyone of you getting this bug?
Idk about OP, but for me the entire widget menu position saving seems to be completely broken not just for the kickoff application launcher widget's menu. The position saving feature is a relatively new thing anyway so I'm not too worried about it. I didn't even notice it until OP's post, lol.
Why are identity politics even allowed to be discussed in an unrelated field (software development) in the first place? Seems it always just leads to people getting upset when you can just not talk about it as it's really not related at all to my knowledge.
I can kinda agree here. In the open source community, identity politics should be especially irrelevant. The FOSS licences are explicitly designed in a way to not discriminate based on such factors like race, religion, gender, nationality, biological sex, political views, etc.
However, from what I can gleam from the blog, it seems somehow related to the COC, maintainer behavior and a lack of transparency rather than "identity politics". In what way, idk because the blog doesn't seem to specify any specific verifiable incident, at least from what I can tell. But I will say, that if it is a matter of the COC, that the COC is supposed to be a protection of the right for an individual to be able to express themselves in an environment that won't prosecute them.
So, in this regard it'd make sense to if say someone was being miss gendered maliciously for example, it'd violate the COC. In this regard, the right to express oneself doesn't give someone the right to harass others because they disagree with how someone else is expressing themselves.
Fedora Silverblue is in an entirely different ball game. You can't use dnf because it's an immutable image based system where you can't make direct changes to the Root system without making use of the rpm-ostree & VCS mechanisms. You're making a conscious choice by using Fedora Silverblue, and the pros out way the cons for most people making that choice.
In contrast Fedora Workstation allows you to use dnf just as normal because it's not an immutable image based system.
Ubuntu doesn't make use of any such system so their reliance on containerized user-space apps isn't a technical one.
I think you have a typo in your last paragraph.
Flatpak should run better on Wayland compared to Snaps. Not to mention Flatpak has much better XDG Portal Integration.
The entirety of the Tesla OS is based on Linux, meaning that their proprietary autopilot program running on their OS is directly dependent on the Linux kernel for its core functionality.
Tesla has been working to upstream support for their Full Self-Driving (FSD) SoC into the mainline Linux kernel.
Tesla's Autopilot HW3 computer is running Linux kernel 4.14.
Tesla has been enabling the Tesla FSD SoC for the upstream Linux kernel over the past year.
I recently found out about a Linux Distro named Q4OS and I wanted to test out their claim that it only requires 256 MB of ram when using the trinity desktop environment. However, when I used the live cd in virt-manager with 256 MB or ram, it just kernel panicked at boot. So I then tried it with 512 MB of ram. In addition to some...
My apologies if this seems like an advertisement, I am simply a very grateful user of this project who cannot donate at this time but at least wants to share it with others....
Here's Some Alternatives to SimpMusic : InnerTune (A Material 3 YouTube Music client for Android) SpMp (A YouTube Music client with a focus on language and metadata customisation) ViMusic (Seamlessly stream music from YouTube Music) RiMusic (A multilingual Android application for streaming music from YouTube Music.) {ViMusic Fork}
I have found the translation from camera source feature useful in Google Translate and I use it from time to time. Last night was one such occasion, yet when I attempted to enable camera mode, I received the message shown in the screenshot, "Please install the latest Google app in order to use camera translation". I currently...
Where would I look for a list of what network chips are supported in any given kernel? I'm looking to build my first computer designed from the ground up for Linux and want to be sure that the Ethernet port and WiFi chip will work without needing to do anything special.
The kernel driver for the RTL8852CE wireless card is driver rtw8852ce. This means that the driver is mainline, so it should work out of the box. Going to the git log for this particular driver, we can see it's initial work was as added back in 2022-03-10, therefore it's safe to assume that any Kernel released after that point will work. However, seeing that the latest fix was made in 2024-02-01, I highly recommend using any kernel after that date for the best experience. That said, go to releases and take a look at the chart; according to the chart and the previous information, you should be good with any Linux Kernel 6.1+. Heading back to the main page, the drivers you should be looking at are LTS (longterm) 6.1.87 and above, while I recommend stable 6.8.7+ for the lastest patches made to this driver.
The OnePlus Watch 2 has 2 chips, and basically runs a lightweight OS while keeping the hungry one in very very low power, and only powering it up when necessary....
I found a (lengthy) guide to doing this but it is for gksu which is gone. I have to imagine there's an easy way. I am running Ubuntu. There is no specific use case, it is just a feature I miss from windows....
No, they were, barely, but they were, they were wrappers around sudo that provided "a more user-friendly and secure way to run graphical applications with elevated privileges, by handling environment variables and permissions better than using sudo directly."
They've been deprecated in favor of pkexec.
sux is wrapper around su which transfers your X credentials, it sucks, don't use it.
There's no difference between running it via sudo or pkexec, however polkit provide additional protections to prevent running unsafe apps with elevated privileges.
pkexec literally uses Polkit and PAM under the hood.
pkexec runs the program in a "minimal known and safe environment" to avoid potential security issues like code injection through environment variables.
pkexec also sets the PKEXEC_UID environment variable to the user ID of the process invoking it, providing more information about the context.
pkexec is more secure than using sudo -i for running graphical applications, as it can prevent certain types of privilege escalation attacks.
This increased security is largely due to the use of PolicyKit (Polkit) with pkexec. Polkit is a framework that provides a way to define and enforce fine-grained access control policies for privileged operations.
With Polkit, the system administrator can define rules that determine which users or processes are allowed to perform specific privileged actions, like running a GUI application as root. This provides more granular control compared to the blanket root access granted by sudo.
PAM and GVFS are not "privilege elevation frameworks" whatever you mean by this.
You're right, PAM is an authentication framework and GVFS is a whole other thing that leverages polkit and authentication agents. My bad.
This week in KDE: our cup overflows with cool stuff for you ( pointieststick.com )
Linux kernel Rust coding guidelines are heretic.
Tabs are 8 characters, and thus indentations are also 8 characters. There are heretic movements that try to make indentations 4 (or even 2!) characters deep, and that is akin to trying to define the value of PI to be 3....
My /var/tmp folder is endlessly stacking up on "container_images_storage_xxxxxxxxxx" folders? ( slrpnk.net )
The issue at hand:...
text clarity on windows is so good, can I get the same on linux?
I tried different font settings in the font settings and it didn't improve much (font hinting, anti aliasing, custom DPI settings, different font size)...
4 Tools to Share Large Files Over the Internet Securely ( itsfoss.com )
What am I doing wrong (OpenSuse)?
I've been trying Tumbleweed for my gaming needs and so far it seems to be working relatively well. My issue is about removed packages. When I first installed TW, I removed quite a few packages I did not want (KSudoku, LibreOffice, and a few others). It has been a little since I've turned on my PC but yesterday I noticed that...
Which file system do you recommend for Linux?
Just a simple question :...
How to change password in Ubuntu
I've run passwd and sudo su; passwd to change password for root and my account. Password is set correctly when using sudo and su but whenever I get prompted by pkexec it accepts only the old password. I've rebooted my system to make sure it was not an issue....
why cant we connect 2 computers using USB
So i tried to connect steamdeck to pc using usb and i read its immpossible because steamdeck is a computer and some explanation on quora about strong master slave relationship....
How to create a bootable Linux USB drive ( www.zdnet.com )
HDR and Color Management Wayland coming to Linux before the end of this year - Zamundaaa (Xaver Hugl) ( lemmy.ml )
Comment by Zamundaaa (Xaver) a couple of hours ago. (AKA One of the most prominent KDE and Wayland Dev)...
Weird KDE Panel resizing bug. Thinking of a complete reinstall ( sh.itjust.works )
Whenever I resize the panel or the any other widget on the panel (e.g calendar widget) it doesn't remember its size. It's really annoying me. I am on Fedora 40, KDE 6.0.4. Nothing seems to fix it, thinking of a complete reinstall. Is anyone of you getting this bug?
Much ado about "nothing" - Xe Iaso (==Goodbye NixOS) ( xeiaso.net )
https://discourse.nixos.org/t/much-ado-about-nothing/44236...
What’s new for Fedora Atomic Desktops in Fedora 40 ( tim.siosm.fr )
what do you think about my tier list of distros ( lemmy.ml )
I AM SO DISAPPOINTED WITH UBUNTU 24.04 😡 ( news.itsfoss.com )
Music Players ( feddit.cl )
Hello guys,...
Linux is now an option for safety-minded software-defined vehicle developers ( arstechnica.com )
If all kernel bugs are security bugs, how do you keep your Linux safe? ( www.zdnet.com )
Are there any discrepancies between the resources an OS uses when running in a virtual machine vs being ran directly?
I recently found out about a Linux Distro named Q4OS and I wanted to test out their claim that it only requires 256 MB of ram when using the trinity desktop environment. However, when I used the live cd in virt-manager with 256 MB or ram, it just kernel panicked at boot. So I then tried it with 512 MB of ram. In addition to some...
SimpMusic - a awesome music app
My apologies if this seems like an advertisement, I am simply a very grateful user of this project who cannot donate at this time but at least wants to share it with others....
Github Can Never Support Kernel Development ( youtu.be )
Android app dependency? ( slrpnk.net )
I have found the translation from camera source feature useful in Google Translate and I use it from time to time. Last night was one such occasion, yet when I attempted to enable camera mode, I received the message shown in the screenshot, "Please install the latest Google app in order to use camera translation". I currently...
Archive to Check Compatibility?
Where would I look for a list of what network chips are supported in any given kernel? I'm looking to build my first computer designed from the ground up for Linux and want to be sure that the Ethernet port and WiFi chip will work without needing to do anything special.
April Tools: Hammering out new COSMIC Features ( blog.system76.com )
What about a linux phone that has a full Android OS sleeping in parallel? Like OnePlus Watch 2 that runs 2 OSs at the same time.
The OnePlus Watch 2 has 2 chips, and basically runs a lightweight OS while keeping the hungry one in very very low power, and only powering it up when necessary....
Is there a way to add "Run as Sudo" to context menu like with Windows?
I found a (lengthy) guide to doing this but it is for gksu which is gone. I have to imagine there's an easy way. I am running Ubuntu. There is no specific use case, it is just a feature I miss from windows....
modern unix ( github.com )