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

Powered by : @r_channels
Download Telegram
Linux on Apollo lake

Hi

I'm wondering if anyone has run Linux on a low end Apollo lake machine. I have Asus e203na here which I picked up awhile back as I wanted something cheap and small I could chuck in my bag for typing documents. (Didn't wanna risk breaking my XPS 15)

It works ok with windows 10 but it's pretty sluggish especially if there's anything going on in the background. It only has 2gb ram and N3350 CPU which I think is the bottleneck. I have a old baytrail tablet here which only has 2gb of ram but is pretty snappy but has 4 cores.

Since it's only used for very basic work I was thinking maybe a light weight distro like xubuntu would fair better.

Any suggestions?

Thanks

https://redd.it/c1l90c
@r_linux
Sonoace r3 , file system failure
https://redd.it/c1llwk
@r_linux
Linux Networking Tools That You Should Know - via Julia Evans
https://redd.it/c1m6n0
@r_linux
Why is network bridging necessary?

Hi all,

A router, or in this case the Linux server, providing it has IP functionality (and has IP forwarding turned on) can act as a ROUTER. Therefore, all L3 forwarding decisions should be handled at the 'router', why then is network bridging even necessary?

​

From my perception, all it does, is replaces an already existing function of connecting two networks together, but if this wasn't implemented, the 'router' would receiving an incoming packet with the destination IP in its routing table on another physical interface, and just forward that packet out of that interface.

​

\- A

https://redd.it/c1n3w4
@r_linux
AMA: I spent 3 years creating a new bash-compatible shell called Oil

Here are a couple posts that may spawn some further questions.

[FAQ, 2019 Edition](http://www.oilshell.org/blog/2019/06/17.html) - I wrote this yesterday for the AMA

[Why Create a New Unix Shell?](http://www.oilshell.org/blog/2018/01/28.html) (2018)

Questions could be about: technical issues when writing a shell, why I'm creating a new shell, surprising things I learned about shells, related Unix tools, programming style, etc.

I'm looking for people to try the shell and give feedback! It takes about 30 seconds to install.

https://redd.it/c1pigw
@r_linux
Bits of Wisdom from The Art of UNIX Programming

from Basics of the Unix Philosophy :

1. Rule of Modularity: Write simple parts connected by clean interfaces.
2. Rule of Clarity: Clarity is better than cleverness.
3. Rule of Composition: Design programs to be connected to other programs.
4. Rule of Separation: Separate policy from mechanism; separate interfaces
from engines.
5. Rule of Simplicity: Design for simplicity; add complexity only where you must.
6. Rule of Parsimony: Write a big program only when it is clear by demonstration that nothing else will do.
7. Rule of Transparency: Design for visibility to make inspection and debug-
ging easier.
8. Rule of Robustness: Robustness is the child of transparency and simplicity.
9. Rule of Representation: Fold knowledge into data so program logic can be stupid and robust.
10. Rule of Least Surprise: In interface design, always do the least surprising thing.
11. Rule of Silence: When a program has nothing surprising to say, it should
say nothing.
12. Rule of Repair: When you must fail, fail noisily and as soon as possible.
13. Rule of Economy: Programmer time is expensive; conserve it in preference to machine time.
14. Rule of Generation: Avoid hand-hacking; write programs to write programs when you can.
15. Rule of Optimization: Prototype before polishing. Get it working before you optimize it.
16. Rule of Diversity: Distrust all claims for “one true way”.
17. Rule of Extensibility: Design for the future, because it will be here sooner than you think.


I am a big fan of Nntaleb's Antigrafile.
But this is some serious principles too !

https://redd.it/c1mjrp
@r_linux
Ideal linux distribution

To me, the ideal Linux distribution would be one which would have an installation procedure similar to that of Gentoo (where you compile the kernel yourself - having a default preset kernel config and having the option to do your own), the repository have some form of curation of packages like in Manjaro (where the packages are released to the public after \~2 weeks of testing), have a large number of packages submitted by the users(like the AUR) which would perhaps not be as curated (it is not really possible to curate that many things, plus too much curation would probably bring forth some packages not going through for minor reasons) and the package manager have options for both compiling it with USE flags as well as opting for binaries (similar to Gentoo, but portage has binaries for very few packages).

​

What would be your ideal linux distribution?

https://redd.it/c1sksa
@r_linux
Shred external HD inside Ubuntu (Windows Subsystem for Linux)

I have installed Ubuntu inside Windows 10 (Windows Subsystem for Linux), so I have the Linux terminal in Windows.

I have an external HD in my computer and, in Linux terminal, I can find it under `/mnt/d`, it's not in `/dev/sdaX`.

I read that `shred` can wipe partitions using `shred -vfz -n 2 /dev/sda`, but once my external HD is mounted, `shred` does not work in `/mnt`.

**Question:** is there a way to secure wipe my external HD using Linux terminal inside Windows, or do I really have to boot a live Ubuntu and execute it?

https://redd.it/c1tbcs
@r_linux
Is there a way to create an initrd that doesn't have a rescue/interactive initramfs prompt?

I've been playing around with tpm-tools. I've been able to secure a drive encryption password in the nvram area of the tpm and have them recalled to auto-unlock drives (btw... not luks). There is even a method to prevent ANYONE from accessing that nvram location until next boot. This means there is a window prior to initrd mounting the drive (then locking the memory) that a knowledgeable person COULD "break=premount" and use the tpm-tools to hunt for the password.

Is there a way to create an initrd image that CANT drop to a prompt, and assign it a PCR value so it must be used for the auto-unlock. If I wanted a rescue prompt, I'd use another initrd that would then fail the PCR check and require a manual password entry.

Currently this is TPM 1.2, but TPM 2.0 will be tackled next, if that makes any difference in the answer.

https://redd.it/c1udap
@r_linux
i can't get away from dark themes and white text that don't match?

i've used dark themes on several DE so far, XFCE, mate, gnome, kde, and with all of them whenever I activate a dark theme there are always circumstances on the web when white text is overlayed on a white background. i remember this problem since like 2010 when i started using linux. has anyone ever found a workaround?

https://redd.it/c1v0pn
@r_linux
Clear Linux as a Gaming / Daily Driver?

Does anybody have any opinions they'd like to share?

I run an Intel CPU and an AMD GPU and I'm interested in Clear Linux for the performance but I mainly game or watch videos, so I'm wondering how well it would perform as just a daily gaming / media / casual browsing machine

https://redd.it/c1w2n3
@r_linux
Help with dual-booting Windows 10 and Pop OS

When dual-booting, I used Rufus to create a bootable usb flash drive for Pop OS 19.04. When trying to install onto a partition that I created on my 512gb ssd for my laptop, Pop OS couldn't detect it no matter what I did. If you need more details please ask me and I'll try my best.

https://redd.it/c1ykku
@r_linux
LibreOffice Impress doesn't impress Students

I love LibreOffice and what it stands for, but I have to say that it doesn't do a good job of replacing PowerPoint. It's no secret that PowerPoint is the superior product, but there are a couple shortcomings of Impress that really stop it from doing its job *well*.

As a student who has to take notes from professors all day long, the speaker notes interface is atrocious. Instead of showing a giant sheet of paper, it should have a nice pull up panel like in PowerPoint. This is by far the most irksome thing that keeps it from being my daily PowerPoint solution. I opened up Impress, not Writer.

I tried using Impress for project presentations as well and I really have to say that the fact that its default toolbar is missing text formatting is a huge turn off for me. I can't believe that something this basic doesn't come by default. Instead, you have to take the time to add all the options and tools yourself.

I would rather avoid depending on Microsoft Online or running a VM just to get basic PowerPoint functionality, but it can't be avoided until Microsoft Office ports to Linux (Hah!) or LibreOffice becomes more user friendly.

Thanks for coming out to my rant.

TL;DR Impress isn't a substitute for Microsoft PowerPoint until it keeps the everyday user in mind

https://redd.it/c1zkoq
@r_linux
Finally did it

I finally did it. it might seem like nothing to some, but i managed to setup kali linux with live usb persistence! I mean its amazing not gonna lie

https://redd.it/c1zpm1
@r_linux