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
Command highlighting in interactive shell?

Hello,

Is there any way to color highlight commands entered in BASH terminal?

For example, if my foreground color is set to white and background set to black, are there any utilities or way to make the last command I entered appear orange or green? I'm not talking about color highlighting in vim--just the standard output to host in the interactive shell.

It would be so cool to have this feature because if I type a command and a big block of text spits out right after, it's a little difficult to look back at my command and see what it is I did. It would be great to have it color coded for easier readability.

https://redd.it/c0p29n
@r_linux
Hello im creating a new distro for newbies, based from mx ,any suggestions?

Hello im creating a new distro for newbies, based from mx ,any suggestions?

Does the ui look good its alpha 0.3 :D

​

[https://snag.gy/VQhUwH.jpg](https://snag.gy/VQhUwH.jpg)

​

[https://snag.gy/yiqBmE.jpg](https://snag.gy/yiqBmE.jpg)

https://redd.it/c0rlie
@r_linux
I think Arch is becoming more of a beginner distro.

I don't think it deserves the fame of "being difficult to install". The wiki is great, and you can just straight up copy all of the commands.

You don't even compile the kernel, cause the whole installation part is handled by 'pacstrap'. Most Arch users probably don't even know what/where a kernel is.

Also I see many questions on r/archlinux asking about complex partition setups. People don't know how to handle them thanks to the 'genfstab' command.

Then 'arch-chroot' command hides everything that is actually happening behind the scenes.

I think you don't actually install Arch, you just run a bunch of noscripts that do it for you. I realized this after installing Gentoo. Don't get me wrong, I like Arch as a distro (I have it on my main pc). But I don't like how noscripts obscure most of the installation and people come to the forums asking stupid questions. What I would prefer is Gentoo, with the binaries and the wiki from Arch.

Basicly to sum up people want to be cool so they install Arch and just paste all the commands from a guide without understanding anything, and when something doesn't work they come to reddit and say 'Installing steam doesn't work, what do I do?' without any more information.

Hope you enjoyed my little rant

https://redd.it/c0qdul
@r_linux
Why I love Linux and why it will never be popular or mainstream

You build your own system from the ground up. There's so many options, a lot of distros hold your hand and create an easy user experience like Windows or Mac OS (Ubuntu, Mint, Elementary, Debian), and then other distros are very time-consuming, but ensure a much more secure and stable system (Gentoo, Void, Arch, Slackware, OpenBSD). But the best part is, because of the free and open source software, you can control every inch of your own system and adjust it to your heart's content. You can have a shell noscript for every single task that can be automated, and eventually your daily workflow becomes easier and smoother. I'm not crazy about systemd, so I chose a distro that leaves it out on purpose with Devuan. I love compiling my own programs and kernel and experimenting with build systems, so right now I'm happy with Void Linux and its XBPS.

If someone makes a piece of software you really like, like a window manager, terminal, web browser, music player, video player - you can improve on that software yourself and re-compile it yourself, until it solves your problems and you're happy with the result. Sure, you can make a pull request on GitHub and everything, and if you're lucky the maintainers will like it and you'll contribute to open source, but there's absolutely nothing stopping you from just running your own modified version of whatever software you like.

Me, I run a minimal, stripped-down system. Herbstluftwm or Bspwm, Polybar, Dmenu, Ncmpcpp + Mpd, and the suckless simple terminal are really all I need. Transmission-remote-cli for extra fun. I like the idea of DWM even though I don't use it. I love putting unicode icons in my Polybar and in my terminal, I love Vim status lines, I love Z Shell, I love icons in Ranger. Sure, it takes a while for a new or inexperienced user to re-learn all the key bindings for a certain program, but once they do, it's worth it.

I'm not really trying to say anything. I think it's kind of self-defeating and futile to expect the Linux world, which is very niche and time-consuming and hard on new users, to be a bigger, mainstream, commercial thing like Windows. It's fun like this.

https://redd.it/c0pgxf
@r_linux
Features Microsoft "stole" from linux, that linux already had for years

Hello,

I have recently read somewhere, that they finally separated userspace from kernelspace. Maybe hoax, maybe not, but ghis question rose in my mind: name things linux had for years and windows copied it calling it a new feature, like virtual desktops. Or name a thing linux stole from windows, I am curious :)

https://redd.it/c0u073
@r_linux
Recording 4K Linux (including gaming) footage using AverMedia GC553 4k Ultra capture card - finally got it to work

So I've been messing around with a new AverMedia GC553 Live Gamer 4k Ultra card recently and I just could not get it to work on Linux. AverMedia have their own stream/record studio software called RECCentral which does not run on Linux (tried with Wine) so I had to get creative and use a tweaked V4L2 raw stream in OBS.

​

Here's a video of some test footage I recorded yesterday:

[https://www.youtube.com/watch?v=JyNAXJL0eS8](https://www.youtube.com/watch?v=JyNAXJL0eS8)

​

I'm using two machines running Manjaro Linux 18.04, one recording the capture card in OBS and the other one using the cards passthrough to a 4K monitor for the actual gaming. If anyone wants to know how I set this up and my thoughts just hit me up.

https://redd.it/c0vy1c
@r_linux
ElectronMail - unofficial open-source desktop app for ProtonMail and Tutanota E2EE email providers

The project page is [here](https://github.com/vladimiry/ElectronMail).

Linux is well supported by the app (deb/snap/freebsd/pacman/AppImage/rpm packages provided, the program author is a Linux user).

The below quote is picked from the [readme](https://github.com/vladimiry/ElectronMail#readme) file:

> ElectronMail is an [Electron](https://electronjs.org)-based unofficial desktop client for [ProtonMail](https://protonmail.com/) and [Tutanota](https://tutanota.com/) end-to-end encrypted email providers. The app aims to provide enhanced desktop user experience enabling features that are not supported by the official in-browser web clients.

Among other things, the program tackles the issue raised by Nadim Kobeissi in [An Analysis of the ProtonMail Cryptographic Architecture](https://eprint.iacr.org/2018/1121) paper and [highlighted in "Linux" subreddit](https://www.reddit.com/r/linux/comments/9yqfao/an_analysis_of_the_protonmail_cryptographic/) about 6 months ago.

https://redd.it/c0w2bk
@r_linux
CRUX 3.5 is released :)

[https://lists.crux.nu/pipermail/crux/2019-June/006291.html](https://lists.crux.nu/pipermail/crux/2019-June/006291.html) i have not updated my laptop yet, but i will!

https://redd.it/c0wr96
@r_linux
Let your Linux server have the GUI in one minute. linux-remote 2 is publish!

linux-remote is a webside remote desktop of Linux. Create by Nodejs/js, html, css. Connecting via HTTP Websocket Protocol. Use browser visit.

It is tiny. It takes less than a minute to complete the installation and startup.

​

github: [linux-remote](https://github.com/linux-remote/linux-remote)

**Online demo:**

First register a new user: [http://149.129.62.26:3000](http://149.129.62.26:3000/)

Then visit demo: [http://149.129.62.26:3001](http://149.129.62.26:3001/)

https://redd.it/c0xmqh
@r_linux
Two new ISOs images for Artix: Plasma/LXQt and MATE/LXDE

Artix is a fork of Arch **\[without systemd\]**.
Originally pure LXQT, installer & installed system, you can always install later on any other DE.

​

**Artix Linux is a rolling-release distribution, based on Arch Linux.**
**It uses OpenRC as init because PID1 must be simple, secure and stable.**

​

**The news is that 2 new ISOs, community supported.**

A QT-based ISO featuring the KDE Plasma and LXQt desktop environments and a GTK-based ISO with MATE and LXDE are [available for downloading](https://artixlinux.org/download.php). Both ISO images come equipped and ready for general use (multimedia, office, internet, productivity), offering the latest software available and are, despite their general DE/toolkit orientation, preconfigured for completely uniform look between QT and GTK applications, allowing for aesthetically pleasing integration of the best apps from both worlds. Read [the forum announcement](https://forum.artixlinux.org/index.php/topic,1010.0.html) for more information and screenshots.

https://i.redd.it/fwaa0qt3dj431.png

https://redd.it/c0y9z8
@r_linux
Slim – Build 23MB micro-VM from Dockerfile, boots in seconds

**Meet Slim: Docker without the containers**

* Create a micro-vm from a Dockerfile (23MB image)
* Boots in 3 seconds on hyperkit (also works in kvm/vbox)
* Can ssh in and use like a real vm

GitHub repo: [https://github.com/ottomatica/slim](https://github.com/ottomatica/slim)

https://redd.it/c0y33x
@r_linux
Map midi signals to shell commands

I searched and noticed an absence of programs to translate midi signals to shell commands, so I made one

Repo: [https://github.com/zawwz/zmidimap](https://github.com/zawwz/zmidimap)
It's still early dev but should be 100% functional without any major issue


Feedback and bug reports are welcome, thanks.

https://redd.it/c11spu
@r_linux
I just found a use for ed.

You know those people that make horseshoes by hand, usually at some sort of historical exhibition. I sorta feel like those guys, except with computers. I love studying old computer technologies. I've spent dozens of hours learning about old 8 bit architectures, weird one-off computer systems like the Apollo Guidance Computer, and also old unix utilities.

Now, of course, the unix utilities are still with us, and I'd argue they are here to stay, but some of them have become more obscure than others. For instance, ed isn't even installed by default in many linux distros. I spent a bit of time learning about it, mainly for the legacy it has in the way vim works (also, grep gets its name from ed).

Today I was not actually in my historical mood, I was working on another project involving book length flat html files generated from markdown. I wanted to generate a table of contents with an entry for every level 2 heading in the document. Now, there are many ways to crack an egg, but it occurred to me that this was actually a problem that I could solve with ed! It seemed like an interesting challenge at least. In a surprisingly short time, I had a working ed noscript to solve the problem. It's only 17 loc and even has the distinction of containing my most knarly looking line of code written to date.

H
1
/<h2>/
i
<h2>Table of Contents</h2>
<ul>
</ul>
.
-1ka
g/<h2>Chapter /s/\(<h2\)\(>Chapter \)\([0-9][0-9]*\)</\1 id="\3"\2\3</\
t'a\
s/<h2/<li><a/\
s,</h2>,</a></li>,\
s/id="/href="#/\
ka
w
q

https://redd.it/c10wx1
@r_linux