User account with ClamAv
I recently upgraded from clamav .100 to .103. In .103 the way on access scanning is implemented has changed. A result of this change requires you to exclude scanning events triggered by the user ID running clam av. Unfortunately the directories being watched contain files owned by root. The userid running clamav is also root. This means none of the files that need scanning are being scanned.
I'm trying to create a new ID for clamav that has the permissions of root. That way it will have the necessary permissions to start and scan the files.
Can someone point me to where I can find the information to do this?
Is there anyone else with experience with ClamAV that can provide a better way?
https://redd.it/lhv2rs
@r_linux
I recently upgraded from clamav .100 to .103. In .103 the way on access scanning is implemented has changed. A result of this change requires you to exclude scanning events triggered by the user ID running clam av. Unfortunately the directories being watched contain files owned by root. The userid running clamav is also root. This means none of the files that need scanning are being scanned.
I'm trying to create a new ID for clamav that has the permissions of root. That way it will have the necessary permissions to start and scan the files.
Can someone point me to where I can find the information to do this?
Is there anyone else with experience with ClamAV that can provide a better way?
https://redd.it/lhv2rs
@r_linux
reddit
User account with ClamAv
I recently upgraded from clamav .100 to .103. In .103 the way on access scanning is implemented has changed. A result of this change requires you...
Blog Bash variables — Things that you probably don’t know about it
Hey,
Yesterday I wrote this blog exploring the ~~scope of the~~ Bash variables. I'm explaining their differences, how and when to use each one of them. Feel free to give any feedback/suggestion/* :)
See on Medium: https://medium.com/unboxing-the-cloud/bash-variables-things-that-you-probably-dont-know-about-it-8a5470887331?sk=26693ca772a0c54c99d3712303560ed4
See on my Website: https://www.lozanomatheus.com/post/bash-variables-things-that-you-probably-don-t-know-about-it
https://redd.it/lhve1l
@r_linux
Hey,
Yesterday I wrote this blog exploring the ~~scope of the~~ Bash variables. I'm explaining their differences, how and when to use each one of them. Feel free to give any feedback/suggestion/* :)
See on Medium: https://medium.com/unboxing-the-cloud/bash-variables-things-that-you-probably-dont-know-about-it-8a5470887331?sk=26693ca772a0c54c99d3712303560ed4
See on my Website: https://www.lozanomatheus.com/post/bash-variables-things-that-you-probably-don-t-know-about-it
https://redd.it/lhve1l
@r_linux
Medium
Bash variables — Things that you probably don’t know about it
Let’s explore the variables scopes and types, the ways to define variables on Bash and when/where to use each one.
Antergos be Damnd... now where?
I tried to stick it out with Antergos even though the have been gone for a while but now I need to jump ship. Should I move on to Endeavour or go back to my "old" hunting grounds of RHE? Or is there a recommendation I have not thought of? I do enjoy the Arch but..
https://redd.it/lhx8ps
@r_linux
I tried to stick it out with Antergos even though the have been gone for a while but now I need to jump ship. Should I move on to Endeavour or go back to my "old" hunting grounds of RHE? Or is there a recommendation I have not thought of? I do enjoy the Arch but..
https://redd.it/lhx8ps
@r_linux
reddit
Antergos be Damnd... now where?
I tried to stick it out with Antergos even though the have been gone for a while but now I need to jump ship. Should I move on to Endeavour or go...
Beginners' guide to Command Line Interface (UNIX/LINUX) >
I just created a repository -very brief, concise and straight to the point type that cuts down to the chase for starters or advanced developers seeking to dive into to Command Line Interface (UNIX/LINUX) >\ (the kind that I wish I knew about when I started...I might be biased with referenced inspirations and recommendations but sub-redditers and noobs are free to edit, or make pull requests CommandLineInterfaceGitHubRepo
https://redd.it/lhtr97
@r_linux
I just created a repository -very brief, concise and straight to the point type that cuts down to the chase for starters or advanced developers seeking to dive into to Command Line Interface (UNIX/LINUX) >\ (the kind that I wish I knew about when I started...I might be biased with referenced inspirations and recommendations but sub-redditers and noobs are free to edit, or make pull requests CommandLineInterfaceGitHubRepo
https://redd.it/lhtr97
@r_linux
GitHub
uptimistic/CommandLineInterface
Contribute to uptimistic/CommandLineInterface development by creating an account on GitHub.
Terminal based software for banking
So I have been looking online if there is any solution to using banking software via the terminal or a bank that allows some type of ssh. I saw this site which gives some software options for linux but nothing terminal based: https://www.thebalance.com/top-linux-personal-finance-software-solutions-1293777 . Does anyone use the Linux terminal for checking their bank account?
https://redd.it/lhzwrq
@r_linux
So I have been looking online if there is any solution to using banking software via the terminal or a bank that allows some type of ssh. I saw this site which gives some software options for linux but nothing terminal based: https://www.thebalance.com/top-linux-personal-finance-software-solutions-1293777 . Does anyone use the Linux terminal for checking their bank account?
https://redd.it/lhzwrq
@r_linux
The Balance
Choose the Best Linux Financial Software to Manage Your Money
Do you run a Linux system? Here are the best choices for personal finance software so you can start managing your money smartly and effectively.
Linux Touchpad like Macbook Update: Touchpad gestures in Qt, Gimp, Firefox and X server
https://bill.harding.blog/2021/02/11/linux-touchpad-like-a-mac-update-firefox-gesture-support-goes-live/
https://redd.it/lhqkrn
@r_linux
https://bill.harding.blog/2021/02/11/linux-touchpad-like-a-mac-update-firefox-gesture-support-goes-live/
https://redd.it/lhqkrn
@r_linux
reddit
Linux Touchpad like Macbook Update: Touchpad gestures in Qt, Gimp,...
Posted in r/linux by u/bigweevils2 • 3 points and 0 comments
Zink Now Supports OpenGL 4.5 Over Vulkan With Mesa 21.1
https://cgit.freedesktop.org/mesa/mesa/commit/?id=aad3135ec97af1230714cc805eec21013c0f0808
https://redd.it/lhz9go
@r_linux
https://cgit.freedesktop.org/mesa/mesa/commit/?id=aad3135ec97af1230714cc805eec21013c0f0808
https://redd.it/lhz9go
@r_linux
i feel like im wasting the potential of my pc
this is gonna sound very stupid. I feel like I'm wasting my computer's potential by using ubuntu. I am a very recent user.
Mainly because all of the games I play are no compatible with Linux because of the anti-cheat. How do I get by this feeling?
https://redd.it/li28kf
@r_linux
this is gonna sound very stupid. I feel like I'm wasting my computer's potential by using ubuntu. I am a very recent user.
Mainly because all of the games I play are no compatible with Linux because of the anti-cheat. How do I get by this feeling?
https://redd.it/li28kf
@r_linux
reddit
i feel like im wasting the potential of my pc
this is gonna sound very stupid. I feel like I'm wasting my computer's potential by using ubuntu. I am a very recent user. Mainly because all of...
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...