Getting a hand from Handbrake

I have dozens of VHS tapes recorded, in some cases nearly 30 years ago, of our children when they were young. About ten years ago, I used a Linux computer and dvgrab to capture the video using a Firewire port on the computer and an aging digital video camera. The setup worked quite well. Using this process I could convert many of the analog tape videos to MP4s.

I was eager to share some video clips with our grandson recently. I wanted him to see what his Mom looked and acted like when she was his age. The videos, converted to digital format and reside in a folder on my Linux computer, were ready to be transferred to my iPhone for sharing.

My usual file transfer method, QRCP, has been reliable for moving files between my Linux desktop and iOS devices. However, I was left disheartened this time when the video transferred seamlessly, but the audio track was mysteriously absent. This disappointment led me to consider using Handbrake as a potential solution. I have used Handbrake in the past to convert video files to a format compatible with iOS and other modern digital playback devices

I installed Handbrake as a flatpack on my Linux desktop, but you can install it as easily as a system package.

Debian-based systems:

$ sudo apt install handbrake

RPM-based systems:

$ sudo dnf install handbrake

Once installed, I launched the program

Screenshot by Don Watkins CC by SA 4.0

At the ‘File’ menu, I selected ‘Open Source’, which opens a dialog box where I can select the video file that I want to convert. I select the one-hundred-twenty-eight megabyte MP4 and then click ‘Open’ at the bottom of the program window.

Screenshot by Don Watkins CC by SA 4.0

Looking again at the Handbrake program display I have some choices to make to ensure that the converted video is in the format that will display properly on an iPhone or other iOS device.

Screenshot by Don Watkins CC by SA 4.0

Referring to the screenshot above, it is important to choose the particular format in which you want to save the video. There are three choices: MPEG-4, Matroska, and WebM. I chose MPEG-4, and within that, I also chose ‘Web Optimized’, which will ensure that the converted video will be a smaller file and more easily shared on the web or from a mobile device. At the bottom of the program window, you can choose what you will name the completed file. The default is the original name, but I would suggest a different name so that you don’t overwrite the original, which would be important for archival purposes. The default ‘Save’ location is your ‘Video’ folder but you can easily choose some other folder on your system.

Once you are sure you have made all the proper menu selections, you will use your mouse pointer to click the ‘Start’ button at the top of the program window.

Screenshot by Don Watkins CC by SA 4.0

This begins with converting and transcoding the larger MP4 file to a smaller compatible file for iOS devices. The process takes a brief period of time and will depend in part on your processor’s speed. The new video is 42 megabytes, a reduction from its original size, and can be replayed and reshared on a mobile device. Handbrake has excellent documentation. It is open source and is available for Linux, Mac, and Windows, licensed under the GNU General Public License (GPL) Version 2.

System76’s Cosmic Desktop: A New Era in Linux UX

Last week, System76 unveiled COSMIC, a groundbreaking desktop for Linux computers. This isn’t an iteration of Gnome, Cinnamon, XFCE, or KDE. It’s a paradigm shift for the Linux desktop, crafted in Rust.

According to the System76 website:

“We aim to liberate the computer with a new desktop environment powerful enough to build custom OS experiences — for users, developers, and makers of any device with a screen.”

COSMIC stands for ‘Computer operating system main interface.’ I was eager to try this new desktop and downloaded the Alpha release ISO for my five-year-old Darter Pro laptop, which I purchased from System76 in early 2019. I created a bootable USB drive and was ready to install the new desktop. I began the installation process and answered a few questions similar to those in earlier releases of Pop!_OS, which I am familiar with. After I completed the installation, I was quick to ‘kick the tires.’

Screen picture by Don Watkins CC by SA 4.0

I looked at the top of the display for the ‘Accessibility’ icon, which is on other Linux distributions, but it was missing. I later learned from reading that this feature of COSMIC has not been released. I briefly installed Gnome-Tweaks, which is how I usually tweak Linux computers so that a person with aging eyes can manage them. After installing that software, I discovered that the COSMIC desktop has a unique settings menu that is easily accessed by clicking the third icon from the left at the bottom of the screen.

Screen picture by Don Watkins CC by SA 4.0

Clicking on COSMIC settings provides a very granular approach to most of the settings I needed to make the computer interface more accessible. Here, I found that by adjusting the ‘Panel,’ I could change the size of the icons at the top of my display to make them larger and more accessible. The first choice is ‘Wallpaper’, which is self-explanatory. The second is ‘Appearance’, which I can choose from based on a light and dark theme. I can also adjust the accent colors for the application windows. The third selection is ‘Panel,’, where I could change the size of the icons and where they were displayed, whether left, right, or center.

Screen picture by Don Watkins CC by SA 4.0

Besides adjusting how the desktop appeared, I could also change the display resolution and the scale, which I set to 125%. The COSMIC settings app is compelling. Once I became more aware of all the options, I became quite happy with the experience.

Applications launch quickly. As a writer, I frequently illustrate my articles with pictures like the ones above. Taking screen pictures in COSMIC is accessible by pressing the Print-Screen key on the keyboard. There are several options for screen pictures. One is a self-selected window; the others are the entire screen or the present window.

The COSMIC App Store is great, too. There are dozens of applications to choose from, including my favorite applications, such as VS Codium, Chromium web browser, VLC, and many more. Flatpak is preferred, but distribution-packaged apps are also shown.

Screen picture by Don Watkins CC by SA 4.0

The text in the terminal is okay, but I’d like to increase the size to 12 points, making it more accessible. I look forward to more changes as COSMIC continues its development cycle.

You can easily download COSMIC and try it out for yourself, or you can add the COSMIC desktop to many of your favorite Linux distributions by following the directions for your distribution listed next. . Try Cosmic on Fedora, Arch, NixOS, and others. Cosmic is based on Pop!_OS 24.04. See the code.

Contributing to open source

I started using Linux and open-source software in the late 1990s, and the more familiar I became with it, the more uses I saw for it, whether on the server side of our school system data infrastructure or software applications for students and teachers.

My contributions to our school system were significant. I developed a content filter using Suse Linux, Squid, and Squidguard and later enhanced it with Dansguardian. We lacked the funds for expensive servers, so I introduced Linux servers and Samba to create user home directories for our teachers. This provided a backup system for our teachers and saved the school system money.

Recognizing the disparity in software accessibility, I sought alternatives. Instead of relying on the special deals school systems get from proprietary software vendors, I introduced Open Office and later LibreOffice. We provided these software on CD-ROMs and later USB drives, empowering students and parents to install them on their home computers.

As we continued to benefit from this free software, I couldn’t shake the feeling that we were taking more than we were giving. Our appreciation, though genuine, was not flowing upstream to the programmers who shared their work with us. This led me to ponder: how could we, as a school system, repay these open-source communities for the fruits of their labor?  

Within a year of my retirement in 2013, I received an invitation to attend All Things Open in Raleigh, NC. There, I was invited to join the team at Opensource.com as a ‘community moderator,’ a person who wrote articles about open-source software and open-source communities. At last, I was contributing to the communities and folks whose work I had been benefitting from for the previous fifteen years.

Coding is not my long suit, but writing is something that comes more naturally, and in the next eight years, I wrote almost three hundred articles about the various aspects of open-source software and open-source communities. I became part of a growing community of writers from all over the world. It became one of the most fulfilling avocations of my life. Opensource.com was shuttered in May of 2023, but the writers’ community lives on both.org and TechnicallyWeWrite.com. You can quickly become part of these vibrant writing communities.

In addition, there are other ways to contribute to the open source community. You can contribute to open source projects and communities using Patreon, PayPal, and other forms of payment for communities such as FedoraLinux MintUbuntuGnuCashand LibreOffice.

Mastering the ‘rm’ command

The “rm” command in Linux is a powerful tool for deleting files and directories. While it may seem simple, mastering this command requires understanding its various options and potential pitfalls. Early on in my Linux journey, I managed an Apache web server and needed to remove files occasionally. That is when I became familiar with the ‘rm’ command. It’s very effective, but its misuse can be devastating without understanding the basics and having proper respect for the command.

Understanding the Basics

The rm command stands for “remove.” Its primary function is to delete files and directories from the filesystem. The basic syntax is:

rm [options] file...

For example, to remove a file named example.txt, you would use:

rm example.txt

Removing Multiple Files

You can remove multiple files at once by listing them separated by spaces:

rm file1.txt file2.txt file3.txt

Using Wildcards

Wildcards allow you to remove multiple files that match a specific pattern. For instance, to remove all .txt files in a directory, you can use:

rm *.txt

 Removing Directories

It would help if you used the -r (recursive) option to remove directories. This tells rm to remove the directory and its contents:

rm -r directory_name

Be cautious with this option, as it will delete everything within the specified directory.

Force Deletion

The -f (force) option allows you to remove files without prompting for confirmation. This is useful for scripts or when you want to bypass confirmation prompts:

rm -f file_name

Combining Options

You can combine options to perform more complex deletions. For example, to forcefully remove a directory and its contents without confirmation, use:

rm -rf directory_name

Safety Tips

Practical Examples

Removing Log Files:

$ rm -rf /var/log/*.log

Removing Temporary Files:

rm -rf ~/tmp/*

Deleting Old Backups:

rm -rf /backups/backup-*.tar.gz

 I had serious file system trouble using ‘rm—rf’ inside my root partition. There is no undoing such a move, and you can quickly render your operating system and its files useless or worse. Always double-check your commands, use interactive mode when needed, and create backups of important data. With these tips, you’ll be well on mastering the rm command. Check the man pages on your Linux system for more information.

I’m with you AOC!

The Women

The WomenThe Women by Kristin Hannah
My rating: 5 of 5 stars

It is a powerful historical novel about the courageous nurses and other women who served in Vietnam. This book was recommended by my daughter and another person I volunteer with. There were many things I could identify with. I was a US Navy Hospital Corpsman who served with US Navy Nurses, and though I never went to Vietnam, I served with many Corpsmen and some nurses who did. Reading the book reminded me of the acrimony we faced while serving our country in a very unpopular war. I have been to the Vietnam Memorial in Washington, DC, and found the names of three young men I went to high school with who were killed in action. The wall is very meaningful, and it has brought healing to veterans and a generation that needed therapy. The book revealed many nuances of the conflict and my feelings about the war and our fellow veterans. Thank you to Kristin Hannah for a job well done.

View all my reviews

WNYHigherEdCamp

Yesterday, I was privileged to attend the Western New York Higher Ed EdCamp at Daemen University. Except for a few visits to the gymnasium, I’d never set foot on the campus until yesterday. Soon after driving through the main entrance, I spied Duns Scotus Hall, which reminded me I was on the university’s campus rooted in the Franciscan Tradition. The conference took place in the Social Room of the  John R. Yurtchuk Student Center, which is at the center of the campus. Registration for the EdCamp provided me with a parking pass, and after some driving around, I found a spot in front of the residence hall and just a short walk to the student center.

Upon entering the building, I was directed to the second floor and the large Social Room. As I walked toward the front of the room, I spotted a long-time friend, Dr. Katie McFarland. She greeted me warmly, and we soon shared our lives since the last time we met. EdCamp organizer Angela Stockman also came over and gave me a warm greeting and said how glad she was to see me. We had a nice lunch, and then the conference began with a keynote by Daemen University senior Maggie Burns, who shared her journey as a recovering perfectionist. Who can’t identify with that? She was poised and passionate and invited me to remember what I might have thought of that subject when I was her age.

At each of our seven tables, there were 3×5 cards for us to fill out areas we’d like to learn or share about. I was at table one with Katie, Maggie, and another Daemen senior who was also a special education major. Katie filled in the topics we picked among our several common interests and added them to the shared Google Doc displayed on large projection screens in the front of the room.

I came to the conference wanting to learn more about how other colleges and universities approached the hot topic of artificial intelligence. I wasn’t disappointed as I heard firsthand from experienced professionals what they were doing. The senior students also shared their positives about how AI helped them write lesson plans, differentiate instruction, and rewrite objectives. I found that most of the professional staff embraced the idea of AI in the classroom. There were concerns about privacy and plagiarism, but overall, I came away with the impression that AI is here to stay. I was pleasantly surprised that Daemen University has a position statement on the use of generative AI tools at the university. Further research after yesterday’s conference demonstrated to me that Daemen is a leader in this area in Western New York higher education.

The last session I attended was one I had proposed on how folks were using social networking to share what they were learning. How have personal learning networks evolved in the post-Twitter/X? I shared about the Fediverse and Mastodon, but no one else at our table was familiar with that platform. LinkedIn has become the platform of choice for sharing. I came away from the conference encouraged and hungry for more. I hope that this conference will continue and that I’ll be eager to attend. The EdCamp model is learner-centric and encourages the free flow of ideas. Thank you to Angela Stockman, conference organizer and thought leader, for her leadership.

Jesus The Refugee

A poem created from a ChatGPT prompt with an image from Stable Diffusion.

In shadows cast by desert suns,
A story of a journey begun.
Jesus walks the southern line,
A refugee seeking a hope divine.

Through arid plains, a dusty road,
He bears the weight of a heavy load.
Innocence draped in tattered shroud,
Seeking solace ‘neath the border’s shroud.

A humble child, a migrant’s tale,
His weary steps leave a dusty trail.
Seeking refuge, a haven to find,
In a world where compassion’s often confined.

No room at the inn, a familiar theme,
Yet echoes of love in the silent stream.
In the borderland where humanity meets,
Jesus walks, humility at his feet.

Strangers offer hands, hearts unfold,
A parable of compassion, untold.
Crossing borders, transcending fear,
In the embrace of love, redemption’s near.

Through the Rio Grande, a baptismal flow,
Jesus, the refugee, continues to grow.
In the desert’s heat and the border’s cold,
A timeless tale of love, forever told.

New MacBook Air M2

It’s been a few years since I purchased a MacBook. My last Mac was a MacBook Pro I bought in the spring of 2020. Since then, I’ve been using Linux exclusively. My desktop is an Intel NUC 11 that’s running Linux Mint Cinnamon, and I’ve no plans to change that anytime soon. However, I’ve heard lots of good reviews of Apple Silicon. I experimented with a MacMini with the M1 chip a bit over a year ago but sent it back and purchased an HP DevOne, which I had docked for just about a year.

When I upgraded to the NUC 11, the DevOne became an extra laptop. I’ve been using it since August in that capacity. Last month I took it to All Things Open and used it for note-taking, writing, and tooting. I was disappointed in its battery life and the 14-inch display was not enough for a guy who’s used to more desktop real estate.

I was attracted to the MacBook Air M2’s 15.3-inch display. My eyes aren’t what they used to be, and I need bigger fonts on a bigger display. I read many reviews and visited the Apple Store nearby to inspect this new Mac. I was impressed and almost purchased a unit that day. I decided to walk around the mall and left without purchasing the MacBook. More positive reviews and commentary from some of the open-source podcasts I listen to.  That led me to purchase this unit on a ‘Black Friday’ deal from Amazon. The MacBook Air arrived today and got it configured the way I wanted to. I installed the latest Python from Python.org and Visual Studio Code .

I wanted to ensure that I could use this new laptop to continue to hone my Python skills.

I used HomeBrew to install some of my other favorite open-source apps which included GnuCash, MacDown, and Joplin. I’m not doing any heavy lifting with this laptop but I was attracted by its reported long battery life. This MacBook Air M2 came with 256 GB SSD and 8 GB RAM. I like the feel of the keyboard and the overall performance and build quality. There are no readily apparent downsides to this new purchase.