Hardware Acceleration is working on Google Chrome!
I know Google Chrome isn't popular in Linux masses. But hey it works. I am on Manjaro. Downloaded Google Chrome using aur. Turned on this flags in chrome://flags
Installed enhanced-264ify extension. https://chrome.google.com/webstore/detail/enhanced-h264ify/omkfmpieigblcllmkgbflkikinpkodlk
I can see "MojoVideoDecoder" on chrome://media-internals
Also, I installed intel-gpu-tools
and running
I can see the Video/0 moving.
So, Google team just enabled Hardware Acceleration without much news?
https://redd.it/l4la28
@r_linux
I know Google Chrome isn't popular in Linux masses. But hey it works. I am on Manjaro. Downloaded Google Chrome using aur. Turned on this flags in chrome://flags
ignore-gpu-blocklist enable-gpu-rasterization enable-accelerated-video-decode Installed enhanced-264ify extension. https://chrome.google.com/webstore/detail/enhanced-h264ify/omkfmpieigblcllmkgbflkikinpkodlk
I can see "MojoVideoDecoder" on chrome://media-internals
00:00:09.406 kVideoDecoderName" MojoVideoDecoder"Also, I installed intel-gpu-tools
sudo pacman -S intel-gpu-tools and running
sudo intel_gpu_top I can see the Video/0 moving.
So, Google team just enabled Hardware Acceleration without much news?
https://redd.it/l4la28
@r_linux
Google
enhanced-h264ify - Chrome Web Store
Choose what video and audio codecs YouTube should play for you
How to Trace Linux System Calls in Production Without Breaking Performance
https://dzone.com/articles/how-to-trace-linux-system-calls-in-production-with
https://redd.it/l4dsfu
@r_linux
https://dzone.com/articles/how-to-trace-linux-system-calls-in-production-with
https://redd.it/l4dsfu
@r_linux
DZone
How to Trace Linux System Calls in Production (Without Breaking Performance)
Learn how to perform system calls in Linux without hurting your performance.
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
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
reddit
Why do you have to use Sudo commands to install programs instead...
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...
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
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
reddit
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...
Lemmy Release v0.9.0 - A federated, self-hostable reddit alternative.
https://lemmy.ml/post/49280
https://redd.it/l4pfx0
@r_linux
https://lemmy.ml/post/49280
https://redd.it/l4pfx0
@r_linux
lemmy.ml
Lemmy Release v0.9.0 🥳 - Lemmy
# Lemmy v0.9.0 Release (2021-01-25)
…
…
GitLab 13.8 released with a Pipeline Editor and DORA metrics
https://about.gitlab.com/releases/2021/01/22/gitlab-13-8-released/
https://redd.it/l4q73u
@r_linux
https://about.gitlab.com/releases/2021/01/22/gitlab-13-8-released/
https://redd.it/l4q73u
@r_linux
GitLab
GitLab 13.8 released with a Pipeline Editor and DORA metrics
GitLab 13.8 released with a Pipeline Editor, DORA metrics, quality of life improvements, and much more!
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
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
reddit
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...
Dotfile - Simple VCS for managing single files
https://github.com/knoebber/dotfile
https://redd.it/l0ok0y
@r_linux
https://github.com/knoebber/dotfile
https://redd.it/l0ok0y
@r_linux
GitHub
GitHub - knoebber/dotfile: Simple version control made for tracking single files
Simple version control made for tracking single files - GitHub - knoebber/dotfile: Simple version control made for tracking single files
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
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
Fedora Docs
Fedora Silverblue User Guide
Learn more about Fedora Linux, the Fedora Project & the Fedora Community.
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
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
reddit
hey everyone
metasploit isnt working after i did apt-get update/upgrade. \> Executing “sudo msfdb init && msfconsole” \[sudo\] password for kali1: \[+\]...
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
Is there any way to get
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
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
reddit
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...
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
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
reddit
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...
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
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
Offloading NixOS builds to a faster machine
https://sgt.hootr.club/molten-matter/nix-distributed-builds/
https://redd.it/l521lx
@r_linux
https://sgt.hootr.club/molten-matter/nix-distributed-builds/
https://redd.it/l521lx
@r_linux
sgt.hootr.club
Offloading NixOS builds to a faster machine
steenuil's blog
Strengths, weaknesses, opportunities, and threats facing the GNU Autotools
https://www.owlfolio.org/development/autoconf-swot/
https://redd.it/l5e3qv
@r_linux
https://www.owlfolio.org/development/autoconf-swot/
https://redd.it/l5e3qv
@r_linux
reddit
Strengths, weaknesses, opportunities, and threats facing the GNU...
Posted in r/linux by u/ouyawei • 6 points and 3 comments
Add Voice Interfaces to Python Apps, in Minutes!
https://medium.com/picovoice/add-voice-interfaces-to-python-apps-in-minutes-4398e24a7986
https://redd.it/l5fdfq
@r_linux
https://medium.com/picovoice/add-voice-interfaces-to-python-apps-in-minutes-4398e24a7986
https://redd.it/l5fdfq
@r_linux
Medium
Add Voice Interfaces to Python Apps, in Minutes!
There are already several approaches for adding speech recognition to Python apps. In this article, I’d like to introduce you to a…
gocryptfs - Encrypted overlay filesystem written in Go
https://nuetzlich.net/gocryptfs/
https://redd.it/l5ec16
@r_linux
https://nuetzlich.net/gocryptfs/
https://redd.it/l5ec16
@r_linux
nuetzlich.net
gocryptfs
None