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
Is it possible to format my flash drive even if it's already flashed?

Last week, I flashed Solus in my flash drive on Etcher. I wanted to know if it's possible to format or avoid

https://redd.it/ettpsr
@r_linux
Distro for Hybrid graphics (Nvidia+intel integrated)?

Hello there!

I have decided to move to Linux recently. So far I've installed Manjaro but I've had plenty of problems when it comes to use hybrid graphics. I installed Optimus Manager, but for some reason, my fans accelerated a lot when on Nvidia exclusive use.

I could not come up with a solution for this, maybe an arch based distro is too much for me atm.

​

Have any of you a distro with hybrid graphics working? Which one would you recommend?

https://redd.it/etxi0f
@r_linux
CHANGE SCREEN OUTPUT

Hi!

I had my netbook connected to a monitor. But suddenly this one started to fail, and finally it didn't turned on again lol. The thing is, now I want to use my netbook with his own screen. But it's all black. ¿What can I do? I use Lubuntu 16.04 Thx!

https://redd.it/etxu9f
@r_linux
Anyone know how to fix the lightdm configuration file?
https://redd.it/etyh1l
@r_linux
Imagine not using linux and not being able to do this?

timeout .4 yes yyyyyyyyyyyyyyyyyyyyy | aplay; timeout .4 yes yyyyyyyyyyyyyyyyyyyyy | aplay; timeout .5 yes yyyyyyyyyy | aplay; timeout .6 yes yyyyyyyyyyyyyy | aplay; timeout .5 yes yyyyyyyyyyyyyyy | aplay; timeout .5 yes yyyyyyyyyyyyyyyy | aplay; timeout .5 yes yyyyyyyyyyyyyyyyyy | aplay; timeout .3 yes yyyyyyyyyyyyyyyyyyyyy | aplay; timeout .3 yes yyyyyyyyyyyyyyyyyy | aplay; timeout .3 yes yyyyyyyyyyyyyyyy | aplay; printf "████████▀▀░░░░░░░░░░░░░░░░░░░▀▀███████\n██████▀░░░░░░░░░░░░░░░░░░░░░░░░░▀██████\n█████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█████\n████░░░░░▄▄▄▄▄▄▄░░░░░░░░▄▄▄▄▄▄░░░░░████\n████░░▄██████████░░░░░░██▀░░░▀██▄░░████\n████░░███████████░░░░░░█▄░░▀░░▄██░░████\n█████░░▀▀███████░░░██░░░██▄▄▄█▀▀░░█████\n██████░░░░░░▄▄▀░░░████░░░▀▄▄░░░░░██████\n█████░░░░░█▄░░░░░░▀▀▀▀░░░░░░░█▄░░░█████\n█████░░░▀▀█░█▀▄▄▄▄▄▄▄▄▄▄▄▄▄▀██▀▀░░█████\n██████░░░░░▀█▄░░█░░█░░░█░░█▄▀░░░░██▀▀▀▀\n▀░░░▀██▄░░░░░░▀▀█▄▄█▄▄▄█▄▀▀░░░░▄█▀░░░▄▄\n▄▄▄░░░▀▀██▄▄▄▄░░░░░░░░░░░░▄▄▄███░░░▄██▄\n██████▄▄░░▀█████▀█████▀██████▀▀░░▄█████\n██████████▄░░▀▀█▄░░░░░▄██▀▀▀░▄▄▄███▀▄██\n"

Couldn't be me.

https://redd.it/etx3ia
@r_linux
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