Linux - Reddit – Telegram
Linux - Reddit
755 subscribers
4.17K 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
Looking for running an Android app on ARM64 Linux environment?

I recently setup a Kali Linux arm64 aka aarch64 in a VM (not the regular x86 one, cuz I have ARM hardware). wanna know if it's possible to run android apps (natively) inside it.

I tried Anbox but it just failed to load. not sure if it's designed only for x86 OSs or just not support inside a VM.

anyways, let me know your suggestions and other thoughts as well. I'm quite new to Linux. as well as to Reddit 😋

Cheers!!

https://preview.redd.it/ivcnnpbec8d61.png?width=2498&format=png&auto=webp&s=f58f2f7cb84adeb13b1a3ac062ac3b9083e5b19a

https://redd.it/l3uv3b
@r_linux
My article about inotify - A Linux tool for backup filesystem

Anything that happens(creation, deletion, or modification) to the filesystem, inotify will track those changes.

https://ibilalkayy.medium.com/getting-started-with-inotify-api-230c65ee52ad

Need feedback.

https://redd.it/l3tdt5
@r_linux
csBooks-5.7.0 Released

Hey Guys,
I am very happy to announce that csBooks now supports annotations for epub viewer.

On the left slidebar you can also see all the annotations and clicking on them will take you to the locations of annotation.
The annotations can be also exported as text files for sharing or printing.

Left list view for annotations

​

Exported annotations as text file.

Download link - https://caesiumstudio.com/csbooks

https://redd.it/l3xxga
@r_linux
Use a GoPro as webcam on Linux (without additional hardware)

The support for the newly added webcam mode for the GoPro(8&9) is pretty poor on Linux. I found some tutorials out there that describe the rough steps, but always require some personal adaptions. To simplify this and to get en par with Windows, I created this noscript. Enjoy!

https://github.com/jschmid1/gopro\_as\_webcam\_on\_linux

If you find any bugs or just have an enhancement request, feel free to open an issue on GitHub or just simply post it here.

https://redd.it/l44nco
@r_linux
How can Linux distros ever be successful on consumer devices if people actively try to avoid them?

I was curious and started looking at some laptops to see if I could find any with Linux pre-installed, and found some models (the laptop in this case is a super low end one, with 32gb of emmc memory, a Celeron CPU and 2gb of RAM). Naturally I tried searching for some reviews on YouTube to see what people were talking about it and even with the review saying that while the system wasn't compatible with apps like Microsoft Office, alternatives could be easily installed, many people in the comment section were asking if they could install Windows (mind you those people seemed like common consumers, not the kind of people familiar with computers) or if someone knew another similar model with Windows pre-installed.

There's a notion that having Linux pre-installed is a way to increase its market share on consumer products, but apparently people actively try to avoid models with it or even go to the extent of learning to format and install Windows on them.

What's so wrong? Is it familiarity with Windows? Program compatibility? Ease of use? What could make a person see Linux as a negative spec on a machine? Maybe Linux distros are seem as a bad and generic alternative to Windows? What could Linux distros do to be more compelling to common users?

Thanks for reading.

https://redd.it/l3rcxz
@r_linux
What is the downside of building locally and adding the binary to PATH?

A discerning feature of a distro is how it manages the installed applications. Ubuntus update the apps once in a while (~2 years)..debian longer..Arch updates them as soon as possible etc...

Now, I'm using Xubuntu 18.04 and I think I have come up with a solution for a)apps that aren't in any repo and b) outdated versions of apps. I'm asking you guys to tell me what is the drawback of this method? 😀
So I git clone the repo, checkout the latest stable and build locally...then I add the binary's path to ~/.profile...
This way I lose manpages, icons and desktop integrations, etc...
But aside from that, I don't see why it is not a practical and simple solution to this notorious problem...
Looking forward to harshest of criticisms, because I think n00b me has solved the packaging problem 😅

https://redd.it/l46xw0
@r_linux
Linux + 4k Monitor: Solution?

So my problem is the following: I have a Samsung 28 inch 4k monitor. I want to use linux on my pc cause windows isnt an option for me anymore. The problem with linux (or at least ubuntu 20.04LTS) is that everything is pretty tiny on a 4k monitor this size. I already enabled fractional scaling and it works out pretty well (i like 125 - 150%). The only problem is that applications like wine (winecfg) and also applications running with wine are still on the normal 100% scaling.

​

Is there any good way of getting around all this? Is there any distro, any desktop environment etc. that can deal really well with big 4k monitors? Any answer is appreciated.

https://redd.it/l49965
@r_linux
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