Linux - Reddit – Telegram
Linux - Reddit
755 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
Why do you have to use Sudo commands to install programs instead of double clicking?

I'm a person who has uses Ubuntu just to watch a movie and that's about it. So my knowledge isn't that great on linux.

I like Ubuntu but I wonder why you have to use Sudo commands to install programs. On Mac and Windows you can just download a file, double click it and there it goes. Why not on Linux?

I have asked this question a couple of times to Linux users but I always get an answer that it is safer. The other answer is that you don't need to install software because (at least on Ubuntu) it is in the software centre. I doubt that both of these answers are correct. A double click can trigger a sudo command or trigger asking for a password . That would be just as safe in my opinion. And not all software is in the Software centre.

I'm not asking this out of complaint but out of curiosity why this way of installing is needed.

https://redd.it/l4khfg
@r_linux
What do you guys think about Flutter for development of Linux apps

I'm a flutter developer and a Linux enthusiast so it excites me. I want to know what you guys think about it and why.
For a long time I've wanted to get started with development of applications on Linux and Qt or gtk looks quite intimidating. Having Flutter create Native app for linux would be a game changer

https://redd.it/l4p4a3
@r_linux
Thoughts on Feren?

I just tried Feren OS out and I've got to say, it's the most aesthetically pleasing distro I've used. Beats elementary by a mile to me on appearance. I'm not a huge fan of Vivaldi being the out-of-box browser, but the whole OS works just as solid as any other Ubuntu-based distro I've used. I'm wondering if anyone else here has tried it, and what your thoughts are? Thinking of switching from Linux Mint.

https://redd.it/l4r0pn
@r_linux
What are everyones thoughts on Fedora Silverblue?

Found out about fedora silverblue a few weeks ago and I think its probably the most exciting shake up to the linux desktop space there is.

They have an explanation on what silveblue is here but the tldr is they turn the OS in to an immutable image which gets mounted as read only and any user programs and user data are separate from the OS.

The advantages:

Almost impossible to break your OS
Updates become very safe since they do not need to account for your own modifications or migrate previous data, its just a case of swapping the old OS image for the new one
Updates can be easily reverted

Downsides:

Package manager removed since it can no longer insert files in to OS dirs like /bin

Silverblue offers a few alternative workflows for package management.

One being a tool called rpm-ostree which creates an additional layer over the OS image which contains your package. You must reboot to apply the layer though.

The main suggested workflow for applications is now flatpak. Probably controversial but there are some neat advantages to this method

The third being a tool called toolbox which can create and enter podman images which contain a more standard fedora install including dnf which has access to your home directory. Best method for setting up a development env and also has the advantage of allowing multiple separate environments.

What does the community here think? Will some variant of this idea become the default in linux distros?

https://redd.it/l4z1nv
@r_linux
hey everyone

metasploit isnt working after i did apt-get update/upgrade.

\> Executing “sudo msfdb init && msfconsole”

[sudo\] password for kali1:

[+\] Starting database

[i\] The database appears to be already configured, skipping initialization

Unable to find a spec satisfying metasploit-framework (>= 0) in the set. Perhaps the lockfile is corrupted?

Run `bundle install` to install missing gems.

i ran bundle install and the output was: could not locate gemfile..

if anyone knows whats going on here please let me know

https://redd.it/l5033v
@r_linux
X2x and sharing the clipboard

I used to use Synergy to allow one keyboard and mouse to work across multiple machines. The Synergy package used to be available in Debian but has long since disappeared from the repos and seems to be no longer maintained.

I have recently been messing around with x2x and ssh between Linux machines and it provides the same functionality for the keyboard and mouse, but unlike Synergy, does not also share the clipboard.

Is there any way to get x2x working with the clipboard? I would like to copy on one machine, move the mouse to a second and paste what I copied on the first.

Update: I just noticed that xsel works (and that may be sufficient), but Contol-C/Control-V does not. Obviously they use different mechanisims.

https://redd.it/l52wsy
@r_linux
Linux UI set

What's up my dudes!

I feel this might not be the right threat to ask something like this, as this is not entirely your cup of tea but I don't know where else to turn.

I'm going to make an animation in the linux debian envoirenment. I want it to be like the episode of modern family but then focused on the linux OS. I have screen recordings of someone using the OS to get the feel of how it works, but using the frames and apps from a screen recording kind of limits what I can do with it.

Does anybody know if there is an EPS/SVG/PNG set available of the UI? It would really save me a lot of time, and make my animated video a lot cooler

https://redd.it/l5a0on
@r_linux
Automating an entire Youtube channel with Terminal magic.

So I was wondering creating an entire youtube channel and running it with bash noscript cronjob.

One night I noticed there is a youtube channel which is doing nothing but making a compilation video of tik tok, there are lot of compilation video channels on youtube and those channels are just picking someone else content from other social media.

So I decided to create my own and running it with cronjob.

There are 3 things I have to do -

* Finding content using reddit
* Editing video using ffmpeg
* Uploading video on youtube with python.

Script link - [http://0x0.st/--T0.sh](http://0x0.st/--T0.sh)

You can watch a [Video explanation](https://youtu.be/PS5vBJELtj4)

Or read the text below -

# 1. Finding Content

I can use r/TikTokCringe to download 12 most upvotes tik tok video of that particular day. I can use youtube-dl to download these videos. It's pretty easy because in reddit if you add .json in the end of url you will get json output something like [this](https://www.reddit.com/r/TikTokCringe/top.json?limit=12).

So by using curl only this line is enough to download funny tiktok video -

youtube-dl $(curl -s -H "User-agent: 'your bot 0.1'" https://www.reddit.com/r/TikTokCringe/hot.json?limit=12 | jq '.' | grep url_overridden_by_dest | grep -Eoh "https:\/\/v\.redd\.it\/\w{13}")

# 2. Editing video

Now these tik tok videos are vertical videos so First thing I have to do is adding the blur background in vertical video, to make it horizontal video. So I can use ffmpeg to add blur background. After looking online a little I found a weird command to do this trick and now I can run this command to all files using a for loop -

for f in *.mp4; do ffmpeg -i $f -lavfi '[0:v]scale=ih*16/9:-1,boxblur=luma_radius=min(h\,w)/20:luma_power=1:chroma_radius=min(cw\,ch)/20:chroma_power=1[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2,crop=h=iw*9/16' -vb 800K blur/$f ; done

Now in last I have to merge the videos to finish my editing. I can also download a subnoscription request video from youtube to just add it in the end and then use ffmpeg concat function to merge all videos and making one compilation video.

for f in blur/*.mp4; do echo "file $f" >> file_list.txt ; done
ffmpeg -f concat -i file_list.txt final.mp4

Don't forget to delete vertical and horizontal videos after making a final.mp4 file.

# 3. Uploading Video

Now this is very simple google have an [article](https://developers.google.com/youtube/v3/guides/uploading_a_video). Explaining how you can upload a youtube video by using python. You can read this article. It's provide a python2 noscript which require your google account outh2 authorization keys and then you can run this noscript in last.

python2 $HOME/bw/.local/bin/upload.py --file="final.mp4" --noscript="Funny TikTok Compilation" --denoscription="Buy my merchandise - spamlink.ly" --keywords="tiktok,cringe" --category="22" --privacyStatus="public"

You can post video in privacy status public so this way you don't have to worry about anything.

​

>isn't that amazing?

This one simple noscript will run as cronjob daily and upload funny tik tok videos in 24 hours. Also these are most up voted tik tok on r/TikTokCringe So your video are pretty much high quality tik toks. So you will get good retention on your video. Also by running multiple channels like this you have a good chance of getting subscribers and you can find a way to monetize your channel and earn some Money.

I am very sure your videos will also get picked by stupid youtube algorithm.

BTW I am not going to do this thing by myself. Because I don't support putting someone else video and earning from it. I have my own youtube channel where I put original content. But since this is good idea I just wanted it to share with you.

https://redd.it/l5awi1
@r_linux
This media is not supported in your browser
VIEW IN TELEGRAM
100% installed on a pc,not on anything else(it's a bare bone Debian machine,surprised it can run on a Snapdragon 835)

https://redd.it/l5lajc
@r_linux