How may I add a menu entry in btrfs grub of Garuda Linux?
I tried Grub-customizer and editing /etc/grub.d/40_custom, but the menu entry won't show up in the grub after reboot
I was actually trying to dual-boot ChromeOS with Garuda Linux following this video: https://www.youtube.com/watch?v=FEY9MtznYGU&t=134s
https://redd.it/li5rep
@r_linux
I tried Grub-customizer and editing /etc/grub.d/40_custom, but the menu entry won't show up in the grub after reboot
I was actually trying to dual-boot ChromeOS with Garuda Linux following this video: https://www.youtube.com/watch?v=FEY9MtznYGU&t=134s
https://redd.it/li5rep
@r_linux
YouTube
Chrome OS + Windows + Linux Triple Boot Install on PC or Laptop
Chrome OS Installation
Single Boot: https://youtu.be/4gZYV0RWJQ8
Dual Boot: Coming Soon !
Boot Loop FIX for Dual / Triple Boot: https://youtu.be/QaPRy9mK8cc
Chats, Discussions on Chrome OS installation subreddit : https://www.reddit.com/r/chromeosfans/…
Single Boot: https://youtu.be/4gZYV0RWJQ8
Dual Boot: Coming Soon !
Boot Loop FIX for Dual / Triple Boot: https://youtu.be/QaPRy9mK8cc
Chats, Discussions on Chrome OS installation subreddit : https://www.reddit.com/r/chromeosfans/…
Is NVIDIA Optimus hardware still problematic for anyone these days? (Personal experience and benchmark)
Countless times, whenever I see people asking for hardware recommendations on /r/linux or other subreddits, I see a sentiment akin to, "get anything except an Optimus laptop, they're the stuff of nightmares that will make you scream in the night, begging for the death of every NVIDIA executive."
And, to be fair, I think that was completely true years ago, I've heard the anecdotes of unusably-bad performance, broken setups, etc., but I just tried it for the first time on Debian 11 by switching my PC over to using onboard Intel graphics and then trying to use my NVIDIA card through the different Optimus techniques, and the results were pretty decent.
The first thing I tried was using the offload functionality that's built into the driver. In this case, there's no special process. If I was on a fresh Debian install, I would just need to install the "nvidia-driver" package like normal. In my case, I already had it installed (and it didn't break my Intel graphics!), so I just set a couple environment variables: https://wiki.debian.org/NVIDIA%20Optimus#UsingNVIDIAPRIMERenderOffload
The second thing I tried was Bumblebee, which is apparently another name that strikes fear into the hearts of men. I installed "bumblebee-nvidia" and "primus-nvidia" as documented for Debian here, I tried running my games with Optirun and Primusrun both, everything worked as expected and the performance was consistently the same as when I used the PRIME Render Offload. I think Optirun and Primusrun are using the same backend though, if I tried to force VirtualGL then it said it was unavailable, so it was Primus in action for both commands.
Vulkan is even simpler since I can just choose the ICD with an envvar and then it uses the corresponding card. Or if I was using Bumblebee, then primusrun is configured to work for Vulkan applications in Debian the same as OpenGL applications. I don't even have to memorize a different command or pay attention to what graphics API a game is using.
Finally, for the big test: I ran Unigine Valley three times on Ultra settings at 1080p. Once with PRIME Offload, once with Primus, and once with just... using the card as my main output, instead of the onboard Intel graphics. I wanted to see if the "Optimus ruins your Linux performance" bogeyman was as bad as they claim.
For Primus, the average FPS was 20.1
For PRIME Render Offload, the average FPS was 21.5
For using it as my main output, the average FPS was 21.8
Okay, yes, that's bad. I have a GTX 750 Ti, I'm not expecting much. But it's consistently bad, there's hardly any degradation between using it regularly and using it like it's part of an Optimus configuration in a laptop. After hearing all the horror stories, seeing such a microscopic difference was baffling. And all of these methods were incredibly straight-forward to use and enable, I didn't run into any weird bugs or noticeable latency. I'm sure there are some catches, but in basic usage, it just seems fine.
Is there still any major reason why a user would want to avoid an Optimus laptop in 2021, as long as they're using a modern distro?
https://redd.it/liatum
@r_linux
Countless times, whenever I see people asking for hardware recommendations on /r/linux or other subreddits, I see a sentiment akin to, "get anything except an Optimus laptop, they're the stuff of nightmares that will make you scream in the night, begging for the death of every NVIDIA executive."
And, to be fair, I think that was completely true years ago, I've heard the anecdotes of unusably-bad performance, broken setups, etc., but I just tried it for the first time on Debian 11 by switching my PC over to using onboard Intel graphics and then trying to use my NVIDIA card through the different Optimus techniques, and the results were pretty decent.
The first thing I tried was using the offload functionality that's built into the driver. In this case, there's no special process. If I was on a fresh Debian install, I would just need to install the "nvidia-driver" package like normal. In my case, I already had it installed (and it didn't break my Intel graphics!), so I just set a couple environment variables: https://wiki.debian.org/NVIDIA%20Optimus#UsingNVIDIAPRIMERenderOffload
The second thing I tried was Bumblebee, which is apparently another name that strikes fear into the hearts of men. I installed "bumblebee-nvidia" and "primus-nvidia" as documented for Debian here, I tried running my games with Optirun and Primusrun both, everything worked as expected and the performance was consistently the same as when I used the PRIME Render Offload. I think Optirun and Primusrun are using the same backend though, if I tried to force VirtualGL then it said it was unavailable, so it was Primus in action for both commands.
Vulkan is even simpler since I can just choose the ICD with an envvar and then it uses the corresponding card. Or if I was using Bumblebee, then primusrun is configured to work for Vulkan applications in Debian the same as OpenGL applications. I don't even have to memorize a different command or pay attention to what graphics API a game is using.
Finally, for the big test: I ran Unigine Valley three times on Ultra settings at 1080p. Once with PRIME Offload, once with Primus, and once with just... using the card as my main output, instead of the onboard Intel graphics. I wanted to see if the "Optimus ruins your Linux performance" bogeyman was as bad as they claim.
For Primus, the average FPS was 20.1
For PRIME Render Offload, the average FPS was 21.5
For using it as my main output, the average FPS was 21.8
Okay, yes, that's bad. I have a GTX 750 Ti, I'm not expecting much. But it's consistently bad, there's hardly any degradation between using it regularly and using it like it's part of an Optimus configuration in a laptop. After hearing all the horror stories, seeing such a microscopic difference was baffling. And all of these methods were incredibly straight-forward to use and enable, I didn't run into any weird bugs or noticeable latency. I'm sure there are some catches, but in basic usage, it just seems fine.
Is there still any major reason why a user would want to avoid an Optimus laptop in 2021, as long as they're using a modern distro?
https://redd.it/liatum
@r_linux
Ubuntu 20.04.2.0 HotFix Release for 20.04.2
The Ubuntu team have issued a hot fix for the recently released Ubuntu 20.04.2 media. The new fix, called 20.04.2.0, corrects an issue where the Ubiquity system installer could fail to properly install the Linux kernel on a new system. “Shortly after the release of Ubuntu 20.04.2, on Thursday February 4 2021, a regression was discovered[1\] which means that on certain systems and under certain specific conditions the Ubuntu installer can fail to install a Linux kernel. This renders the system unable to boot. After carefully analysing the impact of this regression, the release team took the decision to reissue images of 20.04.2 with a corrected version of the installer[2\]. These images are now available, versioned as 20.04.2.0.” Details on the bug and affected Ubuntu community flavours can be found in
https://itsfoss.net/ubuntu-20-04-2-0-hotfix-release-for-20-04-2/
https://preview.redd.it/9f0rdwhde2h61.jpg?width=2560&format=pjpg&auto=webp&s=5d81a7b425c3a3a1e2bfe948008bd59560988f34
https://redd.it/lid8ly
@r_linux
The Ubuntu team have issued a hot fix for the recently released Ubuntu 20.04.2 media. The new fix, called 20.04.2.0, corrects an issue where the Ubiquity system installer could fail to properly install the Linux kernel on a new system. “Shortly after the release of Ubuntu 20.04.2, on Thursday February 4 2021, a regression was discovered[1\] which means that on certain systems and under certain specific conditions the Ubuntu installer can fail to install a Linux kernel. This renders the system unable to boot. After carefully analysing the impact of this regression, the release team took the decision to reissue images of 20.04.2 with a corrected version of the installer[2\]. These images are now available, versioned as 20.04.2.0.” Details on the bug and affected Ubuntu community flavours can be found in
https://itsfoss.net/ubuntu-20-04-2-0-hotfix-release-for-20-04-2/
https://preview.redd.it/9f0rdwhde2h61.jpg?width=2560&format=pjpg&auto=webp&s=5d81a7b425c3a3a1e2bfe948008bd59560988f34
https://redd.it/lid8ly
@r_linux
Linux From Scratch - great way to learn about linux
Hello,
I am using Linux for 16 years or so. Part of my job has to do with Linux servers.
But I always wanted to finish a LFS-10-systemd and today I did it. Covid and snow gave me the time :-)
My first try was 14 years or so ago and I didn't finish it. But even then, it had teached me a lot.
What is Linux From Scratch? It is a book, not a distro. It describes step by step, how to build a Linux system. If you follow this book and everything goes right, you will have a running Linux in the end.
To my mind, it is a good way to get a feeling for Linux, you get your hands on every package, that is more or less necessary. It can be a bit boring, but if you are completely new to Linux you can learn so much about the core elements. If you get really hooked, you can dive deeper with BLFS, Beyond Linux From Scratch.
If you are not new, it can still teaches you a lot. Most of us use a distro, use some commands and we are good. LFS can give you a new perspective on Linux.
LFS will not become my daily driver, I will stuck to Debian, but I will revisit it from time to time.
To me LFS is a good way for the curious.
https://redd.it/lijd7v
@r_linux
Hello,
I am using Linux for 16 years or so. Part of my job has to do with Linux servers.
But I always wanted to finish a LFS-10-systemd and today I did it. Covid and snow gave me the time :-)
My first try was 14 years or so ago and I didn't finish it. But even then, it had teached me a lot.
What is Linux From Scratch? It is a book, not a distro. It describes step by step, how to build a Linux system. If you follow this book and everything goes right, you will have a running Linux in the end.
To my mind, it is a good way to get a feeling for Linux, you get your hands on every package, that is more or less necessary. It can be a bit boring, but if you are completely new to Linux you can learn so much about the core elements. If you get really hooked, you can dive deeper with BLFS, Beyond Linux From Scratch.
If you are not new, it can still teaches you a lot. Most of us use a distro, use some commands and we are good. LFS can give you a new perspective on Linux.
LFS will not become my daily driver, I will stuck to Debian, but I will revisit it from time to time.
To me LFS is a good way for the curious.
https://redd.it/lijd7v
@r_linux
reddit
Linux From Scratch - great way to learn about linux
Hello, I am using Linux for 16 years or so. Part of my job has to do with Linux servers. But I always wanted to finish a LFS-10-systemd and...
20 years of orange cones: The history of VLC
https://www.protocol.com/vlc-history-open-source
https://redd.it/lii69y
@r_linux
https://www.protocol.com/vlc-history-open-source
https://redd.it/lii69y
@r_linux
Protocol
20 years of orange cones: The history of VLC
How a student project became one of the world's most popular open-source apps, powering much of modern-day media, without ever creating a huge windfall for its developers.
Enhancing the appearance of TDE (Trinity Desktop Environment)
HowTo: Enhancing the appearance of TDE (Trinity Desktop Environment)
https://brainstorm-solutions.blogspot.com/2021/01/enhancing-appearance-of-tde-trinity.html
https://redd.it/liiqoa
@r_linux
HowTo: Enhancing the appearance of TDE (Trinity Desktop Environment)
https://brainstorm-solutions.blogspot.com/2021/01/enhancing-appearance-of-tde-trinity.html
https://redd.it/liiqoa
@r_linux
Blogspot
Enhancing the appearance of TDE (Trinity Desktop Environment)
With KDE 4, the well-known stable and mature KDE 3.5 version...
Visual Studio Code comes to Raspberry Pi
https://www.raspberrypi.org/blog/visual-studio-code-comes-to-raspberry-pi/
https://redd.it/lidxi9
@r_linux
https://www.raspberrypi.org/blog/visual-studio-code-comes-to-raspberry-pi/
https://redd.it/lidxi9
@r_linux
Raspberry Pi
Visual Studio Code comes to Raspberry Pi - Raspberry Pi
Raspberry Pi and Visual Studio Code (VS Code) have finally come together. Jim Bennett shows you how to make use of this excellent tool.
Google proposes way to run Linux/Android binaries 'natively' on Fuchsia OS
https://fuchsia.googlesource.com/fuchsia/+/2940d6f300031e852333c3ee0548ecba1d69c961/docs/contribute/governance/rfcs/NNNN_starnix.md#as-she-be-spoke
https://redd.it/liop28
@r_linux
https://fuchsia.googlesource.com/fuchsia/+/2940d6f300031e852333c3ee0548ecba1d69c961/docs/contribute/governance/rfcs/NNNN_starnix.md#as-she-be-spoke
https://redd.it/liop28
@r_linux
reddit
Google proposes way to run Linux/Android binaries 'natively' on...
Posted in r/linux by u/Cleytinmiojo • 4 points and 3 comments
Error proofing for shell noscripts: shellproof
shellcheck is an util that checks shell programs for common mistakes.
So I got this simple idea: what if we combined the debugging of shellcheck with that of running the code itself, so everything is checked quickly together?
I called it shellproof. It does a quite simple thing: it runs a shell program only if it is mistake free, otherwise it lists those mistakes.
So debugging a program just takes:
shellproof [programPath\]
https://redd.it/liq5nq
@r_linux
shellcheck is an util that checks shell programs for common mistakes.
So I got this simple idea: what if we combined the debugging of shellcheck with that of running the code itself, so everything is checked quickly together?
I called it shellproof. It does a quite simple thing: it runs a shell program only if it is mistake free, otherwise it lists those mistakes.
So debugging a program just takes:
shellproof [programPath\]
https://redd.it/liq5nq
@r_linux
www.shellcheck.net
ShellCheck – shell noscript analysis tool
ShellCheck finds bugs in your shell noscripts
Best lightweight Linux distro for a newb.
I've just about had enough of Windows 10's constant forced updates, and this has driven me to consider Linux for the first time. I have two low-spec laptops that currently run Win10 that I'd like to switch to Linux if I can. I'm aware there are any different varieties of Linux out there to pick from, but I'd prefer to run a lightweight version that can run on a potato system.
Any advice and tips appreciated.
https://redd.it/lis174
@r_linux
I've just about had enough of Windows 10's constant forced updates, and this has driven me to consider Linux for the first time. I have two low-spec laptops that currently run Win10 that I'd like to switch to Linux if I can. I'm aware there are any different varieties of Linux out there to pick from, but I'd prefer to run a lightweight version that can run on a potato system.
Any advice and tips appreciated.
https://redd.it/lis174
@r_linux
reddit
Best lightweight Linux distro for a newb.
I've just about had enough of Windows 10's constant forced updates, and this has driven me to consider Linux for the first time. I have two...
XScreenSaver alpha testers sought
https://www.jwz.org/blog/2021/02/xscreensaver-alpha-testers-sought/
https://redd.it/li82j4
@r_linux
https://www.jwz.org/blog/2021/02/xscreensaver-alpha-testers-sought/
https://redd.it/li82j4
@r_linux
www.jwz.org
XScreenSaver alpha testers sought
Greetings Programs, Some extensive XScreenSaver changes are coming, and I could use some volunteers willing to compile and test it on X11 systems. If you can help out, please email me. Beyond the usual, some things that are of particular interest, for test…
Can anyone help me with resizing my root partition with unallocated space?
https://redd.it/litzns
@r_linux
https://redd.it/litzns
@r_linux
Distro recommendations for an all time Windows user?
Been using Windows forever and now I want to see how the Linux side of things are, plus to avoid all that MS-Telemetry thing that's going on with Win10. Recently tried Elementary OS Hera and got my laptop's touchpad working after a bit of tinkering in the BIOS but found out there aren't many gestures. Any distro where I can get a similar feel of the touchpad gestures? Heard that Elementary OS 6 is gonna come out with better 1:1 gesture support but until that arrives, what are my options?
https://redd.it/liu59b
@r_linux
Been using Windows forever and now I want to see how the Linux side of things are, plus to avoid all that MS-Telemetry thing that's going on with Win10. Recently tried Elementary OS Hera and got my laptop's touchpad working after a bit of tinkering in the BIOS but found out there aren't many gestures. Any distro where I can get a similar feel of the touchpad gestures? Heard that Elementary OS 6 is gonna come out with better 1:1 gesture support but until that arrives, what are my options?
https://redd.it/liu59b
@r_linux
reddit
Distro recommendations for an all time Windows user?
Been using Windows forever and now I want to see how the Linux side of things are, plus to avoid all that MS-Telemetry thing that's going on with...
Windows is behaving like over-possessive partner in Dual boot
I am using Linux and Windows both in dual boot. I don’t know why, my windows gets a problem with its BCD every once in a month and I need to reinstall this irritating operating system again only because I need to use Adobe Softwares occasionally. Anyone else facing the same issue? I badly need to get rid of this BCD corruption frequently. My machine is an Asus X570 ZD with Windows pre-installed.
https://redd.it/liv3w1
@r_linux
I am using Linux and Windows both in dual boot. I don’t know why, my windows gets a problem with its BCD every once in a month and I need to reinstall this irritating operating system again only because I need to use Adobe Softwares occasionally. Anyone else facing the same issue? I badly need to get rid of this BCD corruption frequently. My machine is an Asus X570 ZD with Windows pre-installed.
https://redd.it/liv3w1
@r_linux
reddit
Windows is behaving like over-possessive partner in Dual boot
I am using Linux and Windows both in dual boot. I don’t know why, my windows gets a problem with its BCD every once in a month and I need to...
Alternatives to dialog with more control on colors and more modern looking?
Working on a project where we need to improve ux of an installer. We are using dialog right now but would love to better match company colors and make it look a bit more modern.
Can anyone suggest an alternative?
Tia
https://redd.it/liti2t
@r_linux
Working on a project where we need to improve ux of an installer. We are using dialog right now but would love to better match company colors and make it look a bit more modern.
Can anyone suggest an alternative?
Tia
https://redd.it/liti2t
@r_linux
reddit
Alternatives to dialog with more control on colors and more modern...
Working on a project where we need to improve ux of an installer. We are using dialog right now but would love to better match company colors and...
Linux step by step
Hi,
As I am learning Linux (self-learning) and have gone through the basics, could you guide me what are the subjects I have to complete step by step.
I did first basics and command line now learning bash noscripting and then what.
https://redd.it/liwnte
@r_linux
Hi,
As I am learning Linux (self-learning) and have gone through the basics, could you guide me what are the subjects I have to complete step by step.
I did first basics and command line now learning bash noscripting and then what.
https://redd.it/liwnte
@r_linux
reddit
Linux step by step
Hi, As I am learning Linux (self-learning) and have gone through the basics, could you guide me what are the subjects I have to complete step by...
How to properly use databases in my application from a superuser account?
What is the best method to incorporate databases in my application? I am using a superuser account to run the application. While I can run the application from this, I don't want to give it superuser privileges to all the databases in the system. What's the standard? Am I supposed to create a new standard user while setting it up and assign a database to it?
https://redd.it/lixt3d
@r_linux
What is the best method to incorporate databases in my application? I am using a superuser account to run the application. While I can run the application from this, I don't want to give it superuser privileges to all the databases in the system. What's the standard? Am I supposed to create a new standard user while setting it up and assign a database to it?
https://redd.it/lixt3d
@r_linux
reddit
How to properly use databases in my application from a superuser...
What is the best method to incorporate databases in my application? I am using a superuser account to run the application. While I can run the...
Media center
I'm trying to redo my media center. It once was a window 7 machine, for almost 10 years. However it is my last machine to be transferred to Linux. For one reason my sound card it has a brand new one. A sound blaster, any idea what distro will accept it without drama, I have had very little luck.
https://redd.it/liyq02
@r_linux
I'm trying to redo my media center. It once was a window 7 machine, for almost 10 years. However it is my last machine to be transferred to Linux. For one reason my sound card it has a brand new one. A sound blaster, any idea what distro will accept it without drama, I have had very little luck.
https://redd.it/liyq02
@r_linux
reddit
Media center
I'm trying to redo my media center. It once was a window 7 machine, for almost 10 years. However it is my last machine to be transferred to Linux....
Is it normal to have a bin folder in your home directory?
Here comes a weird question. I've been using Linux for more than 8 years and I always create a bin dir in home. That's where I keep all my executable files, DRM free software etc. I don't remember why am I doing this, is this normal?
https://redd.it/lizvgx
@r_linux
Here comes a weird question. I've been using Linux for more than 8 years and I always create a bin dir in home. That's where I keep all my executable files, DRM free software etc. I don't remember why am I doing this, is this normal?
https://redd.it/lizvgx
@r_linux
reddit
Is it normal to have a bin folder in your home directory?
Here comes a weird question. I've been using Linux for more than 8 years and I always create a bin dir in home. That's where I keep all my...
Linux on a Samsung Galaxy Book 10.6
Hi all!
I have a Samsung Galaxy Book 10.6 ... tried Ubuntu 20.04 on the machine and didn't had wifi, the touch wasn't working and the keyboard was buggy (when I detached and attached again stopped working).
Should I try another distro? o what should I do?
PS: I'm a noob on Linux. I was trying to use WSL2 for windows .... but I prefer to have a real Linux machine.
https://redd.it/lj1ymk
@r_linux
Hi all!
I have a Samsung Galaxy Book 10.6 ... tried Ubuntu 20.04 on the machine and didn't had wifi, the touch wasn't working and the keyboard was buggy (when I detached and attached again stopped working).
Should I try another distro? o what should I do?
PS: I'm a noob on Linux. I was trying to use WSL2 for windows .... but I prefer to have a real Linux machine.
https://redd.it/lj1ymk
@r_linux
reddit
Linux on a Samsung Galaxy Book 10.6
Hi all! I have a Samsung Galaxy Book 10.6 ... tried Ubuntu 20.04 on the machine and didn't had wifi, the touch wasn't working and the keyboard was...