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
#Gratitude

I want to say thank you to all the thousands of professionals and volunteers that have helped to improve my life through their contributions to Linux and its diverse ecosystem. #thankyou

https://redd.it/l6x3fv
@r_linux
Is doas a good alternative to sudo?

I updated my sudo recently for the bug which supposedly escalate root permissions by some brute force attempt.

In an effort to find the solution (not just updating it), I came across doas. I read some articles by dedicated openbsd application subexecutor and some community post on r/BSD. Those post and articles are quite old and may not fit well in current scenario.

The thing which is not clear is, is it really better than sudo (if not best)? The OpenDoas repository appears to be updated quite regularly though it isn't popular among most of the Linux distros (Arch doesn't have documentation, which is pretty odd).

Do you guys prefer Doas over Sudo? If you do, please elaborate.

https://redd.it/l6y7nv
@r_linux
How does notabug.org compare to other free software hosting solutions?

I just want to check what are the best alternatives. I had code on github and was thinking to move it to gitlab. But they turned out not to be very interested in GDPR compliance.

As an alternative, I found notabug.org. What are other possible alternatives?

https://redd.it/l6x0cq
@r_linux
Gamestop stock price noscript

I made a really short noscript (just one curl command piped into other commands to filter it) to display the Gamestop stock price (or any other stock price of your choosing). It is not the pinnacle of noscripting; it could be a lot shorter, but it has worked reliably for about 24 hours now. I'll put the command below as well as a link to the GitLab repository where I will be updating it if it breaks.

​

echo "\$"$(curl -s `https://finance.yahoo.com/quote/GME` | grep 'data-reactid="50">' | awk -F "data-reactid=\"50\"" '{print $(NF-3)}' | cut -c 2- | sed 's/<.*$//')

&#x200B;

Here is the link to the GitLab: https://gitlab.com/maxchristman/gamestop-ticker/

https://redd.it/l779uc
@r_linux
YT-Splitter: Download music compilations or albums from YT and automatically split and categorize them into individual mp3 files
https://redd.it/l75pu6
@r_linux
Write Protected Bootable back to USB

Heya! Okay, so I entirely switched an old computer's operating system over to Linux both to save its functionality and for a college course and the next in its sequence. I used balenaEtcher to do so.

Now that that's over, I need to reformat it back to regular FAT usb so that it can continue waiting for usage as either backup or for me to fill my main usb and move on to it. It's currently Write Protected, so Windows can't just straight up reformat it. I tried using EaseUs toolsm to undo the Write Protection, but that failed to work.

Any ideas on how to fix it?

[probs unimportant note: I use it as USB, but it is actually in fact an external 1TB HDD meant to store the my files once the other one is full\]. I currently have both Windows and Ubuntu at my disposal, so I can follow instructions for fixing it in either.

https://redd.it/l7bxo1
@r_linux
audit full command line AND environment variables

Anyone have a decent way of of keeping track of all commands run with a certain path i.e /foo/bin/hello.sh xxx vvv xccc

AND arguments AND the environment variables passed in (so basically the execve call)

I *thought* auditd would do this for me - but it only keeps 4 args and no environment variables.

https://redd.it/l7dpph
@r_linux
How do you "become" a distro maintainer/developer?

Greetings fellow humans, human fellas.

I am a fresh College student with big dreams and ambitions to one day develop and maintain existing/my own distributions of Linux.

For now, I'm simply using a variety of Linux distributions for daily tasks(currently on EOS and Fedora), and I'm studying Python and slowly working my way to c, rust, etc.

There are many resources on how to develop software FOR Linux or for the Kernel itself. I want to become a distro maintainer and developer for existing distros or for my own one, which I assume is a bit different from the two above.

Sadly, there does not seem to be much information about becoming a maintainer/developer. I'm not sure where to start. From my experience, I learn quicker when I know what steps I should take, and right now, I might as well be shooting myself in the dark.

If there is any advice you guys can give me, I would greatly appreciate it.

I truly hope to give back to the community and make it to the big leagues. Thank you for reading.

https://redd.it/l6wr8d
@r_linux
Should I switch to linux and wipe Windows 10?

I use windows because some games I play have VMProtect and don't run. I don't want to loose everything because I can not back everything up. I have used ubuntu on an older laptop, I am thinking about Hackintoshing, using linux, or just sticking with windows. Windows is shit but everything I play and stuff doesnt run well under linux (And the game I play most doesn't have a linux version and it has a poorly optimized Mac version)

https://redd.it/l7fpc6
@r_linux
Planning To Switch To Linux

This year i plan to switch over to Linux, i am looking for distro suggestions, my chocies right now is Ubuntu, Lubuntu, Linux Mint.

I am using a Dell Latitude E6410 with
I5 560m
8GB of ram,
256GB SSD and 1TB HDD,
I plan on using just 1 512GB SSD later on in the year.
My current OS is Win 7, no fancy support plans, just plain Win 7 Pro that was meant for the laptop.

https://redd.it/l7hqjv
@r_linux
anticheat engine ideas on linux and possibly other platforms

hello everyone! I had some thoughts recently for an anticheat engine and I wanted your opinion.

THE PROBLEM

anticheat software is obviously a big problem in linux especially with the new trend of kernel level anticheat engines, but not only there. having a kenel level anticheat software, can be a major vulnerability in the system, as someone can potentially get kernel level access to multiple machines. if the program crashes all hell breaks loose. by installing it you are basically giving full access to the company providing the game/anticheat. they say they won't use this for nefarious reasons obviously but still I personally do not trust them.

LACK OF KNOWLEDGE

I have only a small idea of what an anticheat basically checks for to find the issue. every program works differently for sure but if you know anything or you can point me somewhere that would be helpful. I am also not an expert programmer, but a beginner and a gamer.

THE THOUGHT

so I had the following thoughts for an anticheat software:

1. check installed programs in $PATH
2. collect info about the absolute path of the game's installation directory
3. verify game file integrity with checksums
4. check active processes
5. send 1 to 4 info to the server before logging in and block access if anything is wrong or at failure to send
1. check for cheat software
2. make sure the running process matches the absolute path
3. compare checksums
4. check for cheat software
6. sent 3 & 4 info at constant time intervals during the online play. This can also be randomized to avoid detection from the user's machine. perform actions 3 & 4

I can already think of the commands for this. they don't need root level access.

THE QUESTION

wouldn't that work on linux? am I missing something really important? that could also work on other platforms with the appropriate commands.

it sounds like an easy noscript to make. the tests can be done in server side and I think the noscript, to collect and send info, can be installed locally, as it can also sef-check for checksum.

am I dumb for thinking it's simple?

https://redd.it/l7j3tc
@r_linux
LibreOffice VS OnlyOffice VS FreeOffice VS WPS

Alright, a LibreOffice user here.

I have been using LibreOffice for past 2 years, hated it all the time because of the UI not being modern as compared to MS (not icons but simplistic design). Recently I switched to Office online like Microsoft suite and Google suite. I must say, both of these in-browser tools are nice but still don't come close to what LibreOffice has to offer (I have come across situations where I had to use LibreOffice because either of the other two didn't have the feature).

So I started looking for alternatives. OnlyOffice vs LibreOffice seems nice.

I tried these office suites currently offered on Linux (bold are my best bet),

1. LibreOffice: Standard office suite for Linux, it just works, not very good support for docx, classic UI (new ribbon interface doesn't make it modern), better than online suites.
2. Apache OpenOffice: Discontinued, let's not mention it at all.
3. WPS Office: Pretty advanced alternative to MS suite, not open source, a mature project but seems not maintained.
4. CalligraOffice: Actually KOffice, doesn't even come close to LibreOffice, slow development, difficult to switch for naive user.
5. Gnome Office (Abiword, Gnumeric, Dia): Is is still a thing?
6. FreeOffice: The best office suite after LibreOffice, not open source, good compatibility with MS, mature project,
7. OnlyOffice: Web version + desktop + cloud solution available, decent compatibility with MS, mature?, new in the market.

and also the web variants,

1. Microsoft Office Online: nice offering but is slow and sluggish (are they using asp?), lacks many features (I can't even draw a line).
2. Google Suite: Perfect for university students (me), good development but lacks many features.

I haven't had time to try out all the features and hence I want community suggestions. If I were to recommend one of the options to a Windows user, which one would make more sense? (The folks have hatted LibreOffice on Windows)

https://redd.it/l7ju7s
@r_linux
Is something similar to Rosetta 2 possible on Linux?

Since Linux has a lot of support for ARM platforms, I was wondering if something like Rosetta 2 where x86 instructions are translated into ARM instructions would be possible for the inevitable second RISC revolution.

I’m studying computer engineering.

https://redd.it/l7ko2f
@r_linux
Show (In)Active Linux Services in Tray Icons

be-tray: Watch services from the tray!

I'm new to Python and decided to make a simple program out of it. And this is what I did; a simple program that uses Linux's systemd to show services on the tray icons. It works by reading a config file in json format which contains the services to "watch" and its custom icon in icons/. If the service is active, then it'll show the icon for active, and when it's off, it'll show the icon for inactive. That's it.

https://redd.it/l7mfrq
@r_linux
This media is not supported in your browser
VIEW IN TELEGRAM
Gambal 1.0 : A tiny transparent window that provides an overview of network, CPU and memory usages

https://redd.it/l7mxe6
@r_linux
Trying to understand how I just kinda accidentally installed an app via chrome browser and snapcraft

My primary browser is Firefox. I installed chromium just to play Youtube music, for reasons I won't get in to here. Anyway, as I was listening to music in the chromium browser, a popup offered to install an app, said something about snapcraft (which is an Ubuntu package type, I think), and in an uncharacteristically trusting move, I said "OK". My music was uninterrupted as my playback was moved to a new window. I somehow installed an app without going through my package manager (my system is manjaro, so that'd be pacman or yay or whatever) by simply clicking "OK" in a browser window. WTH?

&#x200B;

This app shows up as a "Chromium app" under KDE's app menu. What have I done? Do I need to update this app from time to time? How dangerous is this? Is this just a special instance of Chromium, and therefore not really a big deal? This method of app installation probably seems normal to Windows users, but it's very foreign to me, a long time Linux user.

https://redd.it/l7g0ff
@r_linux
Why there is to 2 exams to get LPIC2?

Having to pass 2 exams to get lpic1 certification is something I cant understand. I took CCNA few months ago, which I believe much harder and thourough and there is only one exam. Would someone please explain to me, why there 2 instead of one exam to get the lpic1?

https://redd.it/l7oh3l
@r_linux