Linux - Reddit – Telegram
Linux - Reddit
752 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
jtbl: simple JSON tables in the terminal

`jtbl` just does the right thing. You pipe in JSON or JSON Lines and a beautiful table is printed. No configuring of headers. It will auto-wrap if your terminal is too narrow for the data. You can truncate vs. wrap, if you'd like, but other than that it's pretty simple and elegant.

https://blog.kellybrazil.com/2020/03/09/json-tables-in-the-terminal/

https://github.com/kellyjonbrazil

Example:
```
$ cat cities.json | jtbl
LatD LatM LatS NS LonD LonM LonS EW City State
------ ------ ------ ---- ------ ------ ------ ---- ----------------- -------
41 5 59 N 80 39 0 W Youngstown OH
42 52 48 N 97 23 23 W Yankton SD
46 35 59 N 120 30 36 W Yakima WA
42 16 12 N 71 48 0 W Worcester MA
43 37 48 N 89 46 11 W Wisconsin Dells WI
36 5 59 N 80 15 0 W Winston-Salem NC
```

https://redd.it/fg4dtj
@r_linux
Seeking advice on capturing Notifications

Hello. I'm trying to capture notifications that appear in the top section of Gnome (Ubuntu 19.10), such as email or discord. The end objective is to parse the notifications, and write out some data to a text file. I can't seem to find any programs that do this outright, or a file location where Ubuntu stores it's notifications. So if any of you know of either please share.

\*\*Edit\*\* I may have found something that works: [https://launchpad.net/\~jconti/+archive/ubuntu/recent-notifications](https://launchpad.net/~jconti/+archive/ubuntu/recent-notifications)

​

In the meantime, I'm going to try assembling my own program. In case anyone lands here trying to do the same thing, here's a list of resources that currently seem helpful.

[https://askubuntu.com/questions/89279/listening-to-incoming-libnotify-notifications-using-dbus](https://askubuntu.com/questions/89279/listening-to-incoming-libnotify-notifications-using-dbus)

[http://bazaar.launchpad.net/\~jconti/recent-notifications/trunk/view/head:/recent\_notifications/Notification.py](http://bazaar.launchpad.net/~jconti/recent-notifications/trunk/view/head:/recent_notifications/Notification.py)

[https://www.devdungeon.com/content/desktop-notifications-linux-python](https://www.devdungeon.com/content/desktop-notifications-linux-python)

https://redd.it/fg8fe5
@r_linux
Does anyone know what version of Kali this is?
https://redd.it/fg9j7z
@r_linux
Bring your shell wherever you go through the SSH

[xxh project](https://github.com/xxh/xxh) is to bring your favorite shell wherever you go through the ssh. Zsh, Xonsh, Fish or your own Bash shortcuts will be with you in ssh session without any system installations or affections on host.

home> echo $SHELL
zsh
home> xxh myhost
myhost> echo $SHELL
zsh

https://redd.it/fgdwo5
@r_linux
Xubuntu is used to load core software on delta A320 IFE
https://redd.it/fgheba
@r_linux
Async shell

I have a very poor connection and I am using mosh for the time being, which is a life-saver, but I was wondering if I could use something asynchronous, possibly web based.

Basically I would write a command and the reply would be a future, in a web interface it could be a div or anything holding the future answer when available and I would be able to type new commands asynchronously and queue them for execution, with their future replies becoming visible when available. I know it is far from ideal and arguably uncomfortable, but with my current connection, this is the lesser evil.

Currently, I am using mosh and a Jupyter notebook running by a user with very limited privileges, and thinking that there has to be a better way.

Do you know of any?

Thank you

https://redd.it/fgjs6l
@r_linux
Hey guys, I'm planning to create a variant of the Solus OS for professional pentester.

Hey guys, I'm Gabriel, and I'm a web developer, trained in analysis and systems development and I'm planning to create a variant of Solus OS for pentester, as well as black arch or kali, because I believe that this system will grow a lot if become an option with more performance. As this would be a fork of the solus I think I can be redundant, I don't know, what is your opinion about it?

https://redd.it/fggck5
@r_linux
What are the benefits of a rolling release with a delay? (i.e. Manjaro, Solus)

I've been thinking of switching to a rolling release distro from Pop!OS because I want updates quicker in particular Gnome 3.36.

​

What I don't understand, is if there's any point to this for a rolling release distro that delays packages by 2 weeks anyways. I already have a slight delay for updates (Firefox usually takes a few days), my kernel I update just fine with the UKUU fork "Mainline", and my Mesa drivers I use a PPA for. Is there anything I'm missing?? How would a delayed rolling release distro be an advantage?

https://redd.it/fgn1r0
@r_linux
Command to list sourced functions?

Is there a command that can list all commands and functions that are "sourced" to the current shell and display the original noscript they come from?
I have many functions in the shell of one of my system but I can difficultly find where the noscript they originated from without greping the whole system.
Is there a builtin command to get this information?

https://redd.it/fgnskz
@r_linux
Is it possible to create Wine but for MacOS?

I'm a Linux noob, so it might be a stupid question but, wouldn't it be easier to run macOS apps on Linux than running MS Windows softwares? After all both Linux and macOS have more in common than what they have with MS Windows. I think it would be a great advantage for Linux to be able to run macOS apps, specially that now even Microsoft Office supports macOS, plus obviously the whole Adobe ecosystem.

https://redd.it/fgooof
@r_linux
Combo Apt/Dnf

You know what would rock? A combination of Apt and Dnf.

So I started my Linux journey like most on Ubuntu. Dabbled a bit in Solus but landed on Fedora. I think what got me was just how dang clean dnf looks. It's what got me more comfortable in the terminal. I mean when I run sudo dnf update the format of the output is so clean with lines and column headers. I'm able to actually understand the information I see. Apt always seemed messy looking.

But I'm on a system76 machine and needed to do a firmware update and when I popped in my live boot of Pop! OS I fell in love with it's beauty. It is themed so we'll. So I installed to my hard drive and am just impressed at it's speed, so much faster than Fedora. But apt. Sure it's easy, just as easy as dnf but man I'd love it if it looked as clean as dnf during updates.

That is all

https://redd.it/fgqi36
@r_linux
Weekly Questions and Hardware Thread - March 11, 2020

Welcome to r/linux! If you're new to Linux or trying to get started this thread is for you. Get help here or as always, check out r/linuxquestions or r/linux4noobs

This megathread is for all your question needs. As we don't allow questions on r/linux outside of this megathread, please consider using r/linuxquestions or r/linux4noobs for the best solution to your problem.

Ask your hardware requests here too or try r/linuxhardware!

https://redd.it/fgr9m0
@r_linux
What is the easiest way to use ssh to connect to my windows desktop from my Linux laptop?

I am currently studying the Google IT specialist certification and I am learning about the ssh. There are a lot of guides on windows to Linux ssh using puTTy but not the other way around. My question is what is the easiest way to connect via ssh to my windows desktop by using my Linux laptop?

https://redd.it/fgs1n0
@r_linux