Linux - Reddit – Telegram
Linux - Reddit
755 subscribers
4.18K photos
207 videos
39.8K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Shorewall Question: RATE LIMIT

Hi, first sorry if this is the wrong place to ask.

Im getting flooded by requests from a load of hosts and want to rate limit them.

From what I remember I should set ACCEPT on tcp 443 and 80, set the source as net followed by the ip addresses and then add a rate limit expression in the RATE column. If thats right then im just wondering about how to add the massive list of source ip addresses.... theres loads. The rules would look messy as heck.

ACCEPT net:ip1,ip2,ip3..... fw tcp 80,443 s:1/min:3

Something like that? Its been ages and the shorewall docs allways leave me second guessing myself.

Anyway thank you and sorry again if this was the wrong place to ask.

https://redd.it/l4a2mc
@r_linux
Fusion 360 on linux

Hi I am a hobbiest and learning cad design and I want to move from freecad to fusion 360 but the problem is it's not on linux does anybody have it threw some way I don't know of I'm using Ubuntu but am willing to switch for fusion

https://redd.it/l4bija
@r_linux
Just released a new version of the disk usage visualization terminal tool - VIZEX

So finally got some time during the winter break and release a new version of the terminal disk usage visualization tool called [vizex](https://github.com/bexxmodd/vizex), where you can graphically display each disk usage/availability in the terminal and modify colors and graph types.

In version 1.5.1:

* Added option to display battery information if you are on your laptop
* You can save the output as a JSON or CSV
* Corrected bugs and refactored for better readability

Please, try it out! Any feedback is much appreciated!

https://redd.it/l4d7it
@r_linux
rclone vs onedrive client

I'm looking to live continuous sync onedrive to my desktop. Which one is better rclone or the dedicated onedrive client maintained here github.com/abraunegg/onedrive? Both look good.

https://redd.it/l4czvy
@r_linux
Energy efficiency with Linux

Hi everyone,

​

I've been using Linux non-continuously for the past 6 years on laptops and tryied some distros (Ubuntu, Xubuntu, Mint, Open SuSE). For me, the best pros of Linux over Windows/MacOS is the highly consistent UI (Windows looks like a time machine with interfaces from XP to 10), privacy and support for programming. Now I have been using Ubuntu continuously for the past 5 months on a master degree program. Ubuntu 20.04 is the first LTS that I really enjoy!

​

But one thing stills sucks on Linux: energy efficiency. In my laptop (Asus VivoBook) I have some 2-4 hours of usage away from the charger with Windows 10 and it's almost impossible see the computer with his vents on max or any heat. On Linux, otherwise, the machine use to make some heat on the keyboard and the battery almost never passes 1.5 hours away from the charger. I'm using CPU Power Manager to limit the frequency of the processor and save some energy, but it's not resolving.

​

The question is: what are the main differences between Windows and Linux in this area? Are there any attention of the developers to this area? I really want to know why Windows even with a lot of background process, high usage and inferior performance achieving better results in the energy efficiency.

https://redd.it/l49v4g
@r_linux
eBPF runq latency metric value

I have been looking at the eBPF `runq latency` metric and was wondering for a given application (e.g. containerized microservices) what should be an acceptable range for this metric?

My line of thinking was that because this is essentially a scheduler metric, and the CFS scheduler usually lets the thread run for a few milliseconds time quantum, then an acceptable range would be up to a few orders of magnitude (say 5x). Any thoughts?

https://redd.it/l4bsy2
@r_linux
Installing Zoom via Wine

Hi
These days, I'm using Zoom every day, but it sucks that the native Linux edition is so much inferior to the Windows one. (It doesn't have push to talk and reactions, for example)

I was thinking: will Windows edition Zoom work well on Wine?

Is there a way to install Zoom via Wine or an other way to get the missing features from Windows on Linux?

I tried the flatpak version too but it's identical to the one found in the repos, and their site.

Also, I tried using installing via Wine but it doesn't recognize my laptop's camera, and meeting links didn't work either.
Have someone succeeded to install Zoom via Wine properly?

https://redd.it/l4heul
@r_linux
i came across what people call the ethical source movement (i dont believe that software licenses will solve the worlds problems)

https://ethicalsource.dev/

while its great that they support human rights i fail to see how this fails to stop human rights violations as its not like countries that violate human rights will all the sudden respect a software license

another issue is that you are expecting that same government that violates people rights to all the sudden enforce your software license and not use your software

https://redd.it/l4h3p8
@r_linux
Noob question about chown

Sorry about asking this but I'm not sure how to ask such a specific question anywhere else.

​

I used the following to gain read/write permissions on an encrypted thumb drive:

user@user-MacBookAir:/media/truecrypt1$ chown -R $USER .

​

Later, I read that chown -R $USER \~ would revert things. So i used it, then formatted the thumb drive since I was done with it. Now I'm looking and realizing that /media/truecrypt1 wasn't on the thumb drive, but in my file system. Can the commands I used have messed anything up? Can anything have been left compromised?

https://redd.it/l4hw09
@r_linux
Implementing something like latte-dock in GTK.

Hello!

I've embarked on a rather stupid journey to program everything in my DE in Rust by myself (display manager, window manager, all apps, etc...). I've gotten pretty far, but I'm stuck on how I might implement something like latte-dock in GTK.

I assume I just pick a different top level, but I have no idea which one to choose, or how to write code for it. I'm obviously not looking for code, just for someone to point me in the right direction.

https://redd.it/l4iu65
@r_linux
Hardware Acceleration is working on Google Chrome!

I know Google Chrome isn't popular in Linux masses. But hey it works. I am on Manjaro. Downloaded Google Chrome using aur. Turned on this flags in chrome://flags

ignore-gpu-blocklist
enable-gpu-rasterization
enable-accelerated-video-decode

Installed enhanced-264ify extension. https://chrome.google.com/webstore/detail/enhanced-h264ify/omkfmpieigblcllmkgbflkikinpkodlk

I can see "MojoVideoDecoder" on chrome://media-internals

00:00:09.406 kVideoDecoderName" MojoVideoDecoder"

Also, I installed intel-gpu-tools
sudo pacman -S intel-gpu-tools


and running sudo intel_gpu_top
I can see the Video/0 moving.

So, Google team just enabled Hardware Acceleration without much news?

https://redd.it/l4la28
@r_linux
Why do you have to use Sudo commands to install programs instead of double clicking?

I'm a person who has uses Ubuntu just to watch a movie and that's about it. So my knowledge isn't that great on linux.

I like Ubuntu but I wonder why you have to use Sudo commands to install programs. On Mac and Windows you can just download a file, double click it and there it goes. Why not on Linux?

I have asked this question a couple of times to Linux users but I always get an answer that it is safer. The other answer is that you don't need to install software because (at least on Ubuntu) it is in the software centre. I doubt that both of these answers are correct. A double click can trigger a sudo command or trigger asking for a password . That would be just as safe in my opinion. And not all software is in the Software centre.

I'm not asking this out of complaint but out of curiosity why this way of installing is needed.

https://redd.it/l4khfg
@r_linux
What do you guys think about Flutter for development of Linux apps

I'm a flutter developer and a Linux enthusiast so it excites me. I want to know what you guys think about it and why.
For a long time I've wanted to get started with development of applications on Linux and Qt or gtk looks quite intimidating. Having Flutter create Native app for linux would be a game changer

https://redd.it/l4p4a3
@r_linux
Thoughts on Feren?

I just tried Feren OS out and I've got to say, it's the most aesthetically pleasing distro I've used. Beats elementary by a mile to me on appearance. I'm not a huge fan of Vivaldi being the out-of-box browser, but the whole OS works just as solid as any other Ubuntu-based distro I've used. I'm wondering if anyone else here has tried it, and what your thoughts are? Thinking of switching from Linux Mint.

https://redd.it/l4r0pn
@r_linux