Comments for SmartTech101 https://smarttech101.com/ Do Everything in Linux Thu, 22 Feb 2024 15:47:32 +0000 hourly 1 https://wordpress.org/?v=6.6.2 Comment on FFmpeg: Compress and Rescale Video and Image by Ajay https://smarttech101.com/ffmpeg-compress-rescale-video-and-image/#comment-576 Sun, 20 Aug 2023 05:41:50 +0000 https://smarttech101.com/?p=2075#comment-576 In reply to chandu.

you can use the loops:

src_dir=~/test-dir
dest_dir=~/compressed-videos
for video in "$src_dir"/*.mp4; do
dest_video="$dest_dir/$(basename "$video")_compressed.mp4"
ffmpeg -i "$video" "$dest_video"
done

]]>
Comment on FFmpeg: Compress and Rescale Video and Image by Ajay https://smarttech101.com/ffmpeg-compress-rescale-video-and-image/#comment-575 Sun, 20 Aug 2023 05:30:12 +0000 https://smarttech101.com/?p=2075#comment-575 In reply to chandu.

Sorry for being so late. I was little busy. To delete original files execute:
find ~/test-dir -name '*.mp4' ! -name '*_compressed.mp4' -exec rm {} \;
For being on safe side, you can use rm -i instead of rm to get confirmation before deleting the file.

]]>
Comment on libinput: Fix your Linux touchpad using libinput by Ajay https://smarttech101.com/libinput-fix-your-linux-touchpad-using-libinput/#comment-574 Sun, 20 Aug 2023 05:16:25 +0000 https://smarttech101.com/?p=2024#comment-574 In reply to Fernando Silveira.

I have tried it with my Lubuntu setup (on HCL Laptop) and it worked. May be there are some conflicts with other touchpad drivers installed by Lubuntu. So make sure those drivers are disabled/have less precedence.

]]>
Comment on How to setup Newsboat – RSS Reader in Linux by Filip https://smarttech101.com/how-to-setup-newsboat-rss-reader-in-linux/#comment-573 Sat, 19 Aug 2023 19:01:12 +0000 https://smarttech101.com/?p=2341#comment-573 Thank you, that was very helpful for such a noob. Manpage is unreadable in some places, not too clear. Awsome work.

]]>
Comment on Cron: the Job Scheduler in Linux/Unix by How to send notifications in linux using dunstify/notify-send | SmartTech101 https://smarttech101.com/cron-the-job-scheduler-in-linux-unix/#comment-567 Fri, 18 Aug 2023 09:05:57 +0000 https://smarttech101.com/?p=1354#comment-567 […] *To learn about cron jobs, look at this article. […]

]]>
Comment on How to send notifications in linux using dunstify/notify-send by Cron: the Job Scheduler in Linux/Unix | SmartTech101 https://smarttech101.com/how-to-send-notifications-in-linux-using-dunstify-notify-send/#comment-566 Thu, 17 Aug 2023 09:41:39 +0000 https://smarttech101.com/?p=3009#comment-566 […] Likewise, to send notification over notification-daemon such as notify-send, we need to set DISPLAY and DBUS_SESSION_B… […]

]]>
Comment on FFmpeg: Compress and Rescale Video and Image by How to Use Loops in Bash? | SmartTech101 https://smarttech101.com/ffmpeg-compress-rescale-video-and-image/#comment-565 Thu, 17 Aug 2023 09:40:11 +0000 https://smarttech101.com/?p=2075#comment-565 […] To learn more about ffmpeg compression of videos and images, look at this article. […]

]]>
Comment on How to send notifications in linux using dunstify/notify-send by How to Configure Dunst Notifications in Linux (with images) | SmartTech101 https://smarttech101.com/how-to-send-notifications-in-linux-using-dunstify-notify-send/#comment-564 Thu, 17 Aug 2023 09:36:58 +0000 https://smarttech101.com/?p=3009#comment-564 […] You will see the following image. Now, pressing certain keys (in my system, ctrl + dot) will let you open the URLs, or take certain actions…. […]

]]>
Comment on Echo Command in Linux With Practical Examples by How to send notifications in linux using dunstify/notify-send | SmartTech101 https://smarttech101.com/echo-with-examples/#comment-563 Thu, 17 Aug 2023 09:35:21 +0000 https://smarttech101.com/?p=1770#comment-563 […] For this, find these variables using the echo command: […]

]]>
Comment on How to Use Conditional Statements in Bash: The If-Else Fi Basics by How to send notifications in linux using dunstify/notify-send | SmartTech101 https://smarttech101.com/how-to-use-conditional-statements-in-bash-the-if-else-fi-basics/#comment-562 Thu, 17 Aug 2023 09:34:50 +0000 https://smarttech101.com/?p=2965#comment-562 […] Then, the script uses the “case” conditional statement to execute the command_1. To learn about the case conditional statement, head over to this page. […]

]]>