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

Powered by : @r_channels
Download Telegram
Linux tutorial on how to mount your cloud storage via rclone.

$ df -h

Filesystem Size Used Avail Use% Mounted on

...

dropbox: 2.1T 173G 1.9T 9% /dropbox

​

**\[Install rclone\]**

sudo apt install rclone

\-or-

[https://rclone.org/install/](https://rclone.org/install/)

​

**\[Config rclone to your cloud storage\]**

[https://rclone.org/docs/](https://rclone.org/docs/)

​

**\[Mount cloud stoage\]**

[https://rclone.org/commands/rclone\_mount/](https://rclone.org/commands/rclone_mount/)

sudo mkdir /dropbox

sudo chown -R username:group /dropbox

rclone mount dropbox:/ /dropbox/ &

​

**\[Create noscript to mount at login\]**

\#!/bin/bash

rclone mount dropbox:/ /dropbox/ &

https://redd.it/eu25zf
@r_linux
Dual Boot Linux Mint and Windows

Hey everyone! I have a question about dual booting with running Linux Mint and Windows 10. I'm new to linux so I had a friend install it and it worked fine and still does. When I first had the dual boot when it turned on it would say Linux Mint as an option and then a few other options below and the last one being Windows option as the OS I wanted to use. Well now for some reason it says "Ubuntu" instead of "Linux mint" and it also removed my Update Manager. I was just curious if anyone has had this happen or know what happened?

https://redd.it/eu2jpi
@r_linux
Struggling to get openvpn client service to start at bootup.

I'm attempting to configure an openvpn client on a raspberry pi 3 b+. The raspberry pi is running CentOS 7 armhfp.

I installed openvpn from the EPEL repository for armhfp platforms. I've placed my config and associated keys and auth file in /etc/openvpn

[root@raspberrypi openvpn]# ll
total 24
drwxr-x---. 2 root openvpn 4096 Jan 1 1970 client
-rwxrwxrwx. 1 root root 2186 Jan 25 22:17 mullvad_ca.crt
-rwxrwxrwx. 1 root root 985 Jan 1 1970 mullvad_us.conf
-rwxrwxrwx. 1 root root 19 Jan 25 22:17 mullvad_userpass.txt
drwxr-x---. 2 root openvpn 4096 Nov 18 14:06 server
-rwxrwxrwx. 1 root root 1301 Jan 25 22:17 update-resolv-conf
[root@raspberrypi openvpn]#

I'm attempting to start the service with the command: systemctl start openvpn-client@mullvad\_us

When I do it fails with the following status:

[root@raspberrypi openvpn]# systemctl status openvpn-client@mullvad_us -l
● openvpn-client@mullvad_us.service - OpenVPN tunnel for mullvad_us
Loaded: loaded (/usr/lib/systemd/system/openvpn-client@.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2020-01-26 01:17:19 UTC; 3h 10min ago
Docs: man:openvpn(8)
https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
https://community.openvpn.net/openvpn/wiki/HOWTO
Process: 994 ExecStart=/usr/sbin/openvpn --suppress-timestamps --nobind --config %i.conf (code=exited, status=1/FAILURE)
Main PID: 994 (code=exited, status=1/FAILURE)

Jan 26 01:17:19 raspberrypi systemd[1]: Starting OpenVPN tunnel for mullvad_us...
Jan 26 01:17:19 raspberrypi openvpn[994]: Options error: In [CMD-LINE]:1: Error opening configuration file: mullvad_us.conf
Jan 26 01:17:19 raspberrypi openvpn[994]: Use --help for more information.
Jan 26 01:17:19 raspberrypi systemd[1]: openvpn-client@mullvad_us.service: main process exited, code=exited, status=1/FAILURE
Jan 26 01:17:19 raspberrypi systemd[1]: Failed to start OpenVPN tunnel for mullvad_us.
Jan 26 01:17:19 raspberrypi systemd[1]: Unit openvpn-client@mullvad_us.service entered failed state.
Jan 26 01:17:19 raspberrypi systemd[1]: openvpn-client@mullvad_us.service failed.

It appears to be failing to read my mullvad\_us.conf file. I've given it full 777 permissions as well as tried to change its ownership to openvpn:openvpn. I've also disabled selinux just in case that's the problem. I've also moved the files into /etc/openvpn/client with no success as well.

If I start openvpn from the command line it works fine. I'll run the command: "nohup openvpn --config /etc/openvpn/mullvad\_us.conf &" and the tunnel builds and forms correctly.

I just can't get it to come up automatically at bootup. I'm planning to run this in a headless manner and don't want to have to ssh into the device each time I power it on just to get the vpn tunnel up.

I've seen articles online saying to edit the file at /etc/default/openvpn but that file doesn't exist for some reason and I can't help but think it's due to the flavor of CentOS that I'm running. At this point I'm pretty stumped. Any help would be hugely appreciated.

https://redd.it/eu23u4
@r_linux
Anyone know any good ppa packages for ubuntu 19.1

Can't use my update commands as it is out of date and other aren't compatible with 19.1

https://redd.it/eu471a
@r_linux
Should i switch to Linux ?

So I used windows my whole life and now I want to switch to linux. Which one do you recommend to me ? And what should I know about linux. Primary usage would be design/coding.

https://redd.it/eu4xb3
@r_linux
Secure cloud backup plan!?

Hi all,

i want to backup my entire linux ssd, it is 240GB and only used 140gb off it. But incase my ssd dies i want to have a 1:1 copie on a cloud server. Who knows a good plan to go with, needs to be proper encrypted. Going to expand to a 1TB nvme drive soon, so i need 1TB+ storage. Mutiple computer backup support is a plus!

waiting for your suggestions!

TA

https://redd.it/eu57ko
@r_linux
Most Useful Softwares for Microsoft as well as Linux
https://redd.it/eu67v3
@r_linux
I have patched libinput to provide 3-finger drag functionality

This includes patches to libinput itself, and X11 libinput driver (I don't care about Wayland too much, but I guess the compositor would need to have a switch to enable it). The only thing I have not yet implemented is [that little countdown](https://bugs.freedesktop.org/show_bug.cgi?id=89999#c6) when you need to lift your fingers off touchpad for long drags. But that's for another weekend.

However, there's a dilemma. Given that [this post](https://www.reddit.com/r/archlinux/comments/6c64jr/3_finger_drag_for_wayland/) summarizes pretty accurately the state of upstream when it comes to basic usability issues, I'm *very* reluctant to contribute the patch there. Also, most of the discussion participant are salaried for their bickering and bikeshedding (by Red Hat, no less), and I'm not. It's also hacky enough to open another Pandora's box of bikeshedding around where the initialization code should be and where the config structure should reside.

Prior art: [this guy](https://github.com/complyue/libinput) who did a more comprehensive effort (I think he also did the drag-timeout-drag thing), but I didn't try his code and just did it my way because I could, and because it's mine, dammit. Keeps me wondering, though, why he didn't try contributing his patches to upstream as well. Probably because the libinput/wayland/GNOME devs are so nice and welcoming to new (not really) ideas. ;-)

https://redd.it/eu6k4x
@r_linux
My first encounter with linux as an 11 year old.

One day I went to the library to get some books to read because I was bored. I couldn't find anything interesting so I hopped onto one of the new computers used to search books.

When I opened up the computer I immediately got confused when I saw that this wasn't Windows. It looked better, it was faster and everything went smoother.

After that I went home and never thought about it again, until 4 years later when I switched to Linux.

https://redd.it/eu7qwe
@r_linux
Add a newline after output of every command in bash?

Is it possible to automatically insert a newline after the output of a bash command has returned? I am looking to put a bit of space between my prompt and the previous command to aid readability.

Thanks

https://redd.it/eu7ado
@r_linux
Top Ranked Linux Distros by Popularity on the Internet Based on the Information at Alexa

So there is this website and it's called Alexa, it can show the popularity in terms of how many visits each website gets. Now I figured, since there is no real impartial ranking of Linux distros by popularity (Google Trends doesnt work well because of the keywords not being impartial, so there is bias in terms of exact search keywords used, and DistroWatch is frequently gamed to make smaller distros appear more popular than they really are) that I would create an Alexa based ranking of each distribution.

The original search results were as follows.

​

[Original result of Alexa ranked Linux distro sites](https://preview.redd.it/iw3aeplnp5d41.png?width=210&format=png&auto=webp&s=d64c17d167f746a53a7f701775a38d6f7908987c)

Now I added a little bit of processing (mainly converting it to a Log scale because the rankings are really sharply ranked) and the final output is as follows.

​

[Log ranked Distros by Alexa Rank](https://preview.redd.it/khvf3gdkp5d41.png?width=216&format=png&auto=webp&s=bc4d86f9f618f6a046167f82d2d466aeb72d08a0)

Now it cannot be used as a definitive go to Linux guide because obviously different Linux distros have different goals, such as some being desktop-oriented and some being server-oriented and they are not all driven to be as popular as possible, some don't have a huge growth in mind as their base goals anyway. But I hope it at least gives a taste of where in the overall scheme of things, in terms of how much they are used, the different Linux distros are.

I hope this was a helpful analysis of where the different distros are based at in terms of how much they might be used and thanks for reading through this.

https://redd.it/eu9lj8
@r_linux
Music Library Management with automatic folder setup

Hey, currently searching for a Tool to manage my library.

Not tagging the files, i got something for that, rather setting up the folder hierarchy like /music/\*artist/\*album for example. Anyone got something for me?

https://redd.it/eu98sv
@r_linux
Exein - Open Source Security Module for Linux

Hi guys we are working on Exein, an on edge machine learning security module for linux, we released a first version targeting Open-WRT for ARM and MIPS, in the next weeks we will relase it for other platform and kernels , we aim to build secure devices , hope you like our work and please share your opinion with us!

[https://github.com/Exein-io/exein-openwrt](https://github.com/Exein-io/exein-openwrt)

​

Thanks!

​

Exein team!

https://redd.it/euavnh
@r_linux
QMessenger: desktop GUI messenger with Qt, POSIX sockets and threads

## Functional features

* private messaging
* group messaging (messages sent to multiple selected users)
* broadcast messaging (messages sent to all online users)
* supporting colored unicode emojies (UTF-16 encoding)
* messages visible in Linux terminal (colors and emojies also supported)
* login and registration (password is stored with sha254 hashing algorithm)
* easy upgradable to support file transfer
* easy upgradable to support SSL secure communication

## Download:

**Github repository:** [https://github.com/AraKhachatryan/QMessenger](https://github.com/AraKhachatryan/QMessenger)

## Requirements

* g++ compiler with C++11 standart
* Supporting POSIX standarts
* GNU make
* OpenSSL version 1.1.1 or higher
* QMake version 3.1 or higher
* Qt version 5.9.5 or higher

## Compiling and usage:

on server side:

$ sudo apt-get install libssl-dev
$ openssl version
$ make
$ ./server

on client side:

$ sudo apt-get install qt5-default
$ qmake -v
$ qmake
$ make $ ./client

## Screenshot:

https://preview.redd.it/i8013lve86d41.png?width=1265&format=png&auto=webp&s=e3bcf759fd35eea14d8844756d65ecc005fee506

https://redd.it/eub5nw
@r_linux
A new commandline/sysadmin course - via Reddit

A month-long challenge for anyone wanting to build Linux sysadmin skills. Daily lessons will appear in the sub-reddit /r/linuxupskillchallange from 3 February - which will also be used for support/discussion. All going well this will be a 'rolling' course repeated each month.

Does require some serious commitment, but if gaining/growing these skills was one of your New Years Resolutions, then you now have no excuse! Look forward to seeing you there! [https://linuxupskillchallange.com](https://linuxupskillchallange.com)

https://redd.it/euc4yj
@r_linux
GtkStressTesting (GST): a system utility designed to stress and monitoring various hardware components

​

[GtkStressTesting \(GST\)](https://preview.redd.it/uzs3avd5w6d41.png?width=1190&format=png&auto=webp&s=be9e38a25817a01a812ad0c1d157530e089cd55d)

Hi everyone, I recently published my latest Linux app and I was hoping to get some feedback for it here.

[GST](https://gitlab.com/leinardi/gst) is a GTK system utility designed to stress and monitor~~ing~~ various hardware components. Currently the main focus is the CPU but I will soon add more tests also for RAM and Cache.

Beside the stress testing feature, it provides also many information about the system, like:

* Show Processor information (name, cores, threads, family, model, stepping, flags,bugs, etc)
* Show Processor's cache information
* Show Motherboard information (vendor, model, bios version, bios date, etc)
* Show RAM information ^(root required) (size, speed, rank, manufacturer, part number, etc)
* Show CPU usage (core %, user %, load avg, etc)
* Show Memory usage
* Show CPU's physical's core clock (current, min, max)
* Show Hardware monitor (info provided by `sys/class/hwmon`)

The app is written entirely in Python and the stress testing part is handled by [stress-ng](https://github.com/ColinIanKing/stress-ng).

The app is available on Flathub, AUR and Fedora CORP (see the [README.md](https://gitlab.com/leinardi/gst#distro-specific-packages) for details) but it is always possible to download the source and build it locally.

If you have comments regarding the app feel free to write here but, if you found a bug or would like to request a new feature, it would be better to use the official tracker: [https://gitlab.com/leinardi/gst/issues/new](https://gitlab.com/leinardi/gst/issues/new)

https://redd.it/eudbdj
@r_linux
Making a KDE Plasma edition of Linux Mint after official support was dropped in 19. I will keep you posted.
https://redd.it/euep6k
@r_linux