Linux - Reddit – Telegram
Linux - Reddit
758 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
How to get started with linux distro development?

Hello, I have been using linux for not too long now (about half a year). I have been using Manjaro i3 edition. I have recently received my pinephone breave heart edition and I have been thinking of starting to contribute. For example, I am very interested on contribution to u/postmarkedOS. The problem is I have not done any distro development before.


What resource would you recommend as a good starting point for a beginner who wants to get their feed wet with linux distro development/contribution?

https://redd.it/f8pbhp
@r_linux
Google Summer of Code student applications open 16 March 2020. Want to work on a KDE project? Read the guidelines and get in touch
https://community.kde.org/GSoC

https://redd.it/f8pf06
@r_linux
Stuck in black screen for three days. Trying to boot from Kali linux live USB. Below image is the first thing it shows, then bunch of text appears very fast and then the dragon logo loads for a bit. Then everything goes dark and it stays that way. Please help
https://redd.it/f8r99h
@r_linux
Anyone else feel like they can write a python noscript way faster than the equivalent bash solutions (sed, awk, printf, etc.)?

Often I want to do simple tasks and to challenge myself to not use python I lookup the bash solution using tools like sed, awk, printf, etc. But just getting through the bash syntax and how every tool has its quirks using different flags is very time consuming. I also find that any task that can't be expressed as a simple loop or pipeline takes exponentially more time to write.

For example, today I had a task of trimming the leading and trailing whitespace from every line of a text file. The awk answer `awk '{$1=$1}1'` is short but very non-obvious to me, and the regex sed answer `'s/^[ \t]*//;s/[ \t]*$//'` is a mess. Python string handling such as `str.strip()` by comparison is reasonable and can handle special characters like whitespace and backslash with no problem (vs. `read` and whatever `$IFS` is). And it should be no surprise to newbies that bash syntax is full of gotchas. It feels like I am working in a minefield of potentially code-breaking special characters.

[Some articles online](https://www.makeuseof.com/tag/sed-awk-learn/) say "everyone needs to know sed and awk" but is it really worth learning whole new syntaxes? I suppose I am repeating myself of https://stackoverflow.com/questions/107603/is-there-still-any-reason-to-learn-awk I think it's more worth my time to work a language I am familiar with rather than trying to make use of these tools. What do you think?

https://redd.it/f8yep4
@r_linux
Running Linux on school computer
https://redd.it/f91cx0
@r_linux
Set sudo chmod 0750 on Admin.. how to undo

**Account Setup**

Account #1 Admin with username (called dumbfuck for this post)

dumbfuck is a default account, the first account created and a admin.

​

Account #2

Account #2 is a normal user account. We will call it bob.

Bob had acess to dumbfucks files.

I used THIS GUIDE

[https://www.howtogeek.com/190084/how-to-prevent-other-users-from-accessing-your-home-directory-in-ubuntu-14.04/](https://www.howtogeek.com/190084/how-to-prevent-other-users-from-accessing-your-home-directory-in-ubuntu-14.04/)

​

to remove bobs access to dumbfucks files

sudo chmod 0750 /home/bob

(normal user cannot see home directory of admin)

This is okay 👍

I then (being dumbfuck)

ran the same command on the admin account.

sudo chmod 0750 /home/dumbfuck

I want to reset the user permissions on the Admin so that the Admin can still see files.

Username dumbfuck can no longer view bobs files.

How can I fix the user account dumbfuck to have admin permissions again and re-open the directory of bob?!?

https://redd.it/f92bfy
@r_linux
KYFM(former name YAFM), my own file manager
https://redd.it/f8y3hu
@r_linux
Knoppix - ordered this from CheapBytes way back when
https://redd.it/f97gyp
@r_linux
LFTP (or other) to copy file / directory with same command

Hello,

I think that I am not using lftp correctly.

Does it possible with lftp to use the same command to copy file or directory ? Actually I am doing a simple mput when it's a file and mirror when it's a directory.

I would like to use a noscript which send automatically files or directory to my personnal NAS. More precisely, when my download on Deluge is over, Execute a noscript to direct copy the fresh downloaded files/directory. But sometimes it's just a standalone file or sometimes it's a directory with sub directories

I don't find the correct syntax, i could write an IF statement but maybe we can find something more easiser and proper

If I have to use an other tool than LFTP, no problem for me ! Indeed, the best way will be a web interface to manage transfert from my Seedbox to multiple destination. Actually, I have to modify my noscript for each download depends if it's a file, directory and destination.

​

Thanks,

https://redd.it/f9854m
@r_linux