Error relocating: Symbol not found

I was running a container from linuxserver.io, which is based on Alpine linux.

While this container ran fine for a while, it seems after a while I’m getting the following errors in the log:

transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_cipher_list: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_default_passwd_cb_userdata: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_free: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_use_certificate: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_sess_set_new_cb: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_get_current_cipher: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_get_privatekey: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_add_client_CA: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_ciphersuites: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_default_passwd_cb: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_write: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_use_certificate_file: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_get0_alpn_selected: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_set_fd: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_get_shutdown: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_ctrl: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CIPHER_get_name: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_new: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_read: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_load_verify_locations: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_use_PrivateKey: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_get_cert_store: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_set_session: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_post_handshake_auth: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_use_certificate_chain_file: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_options: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_alert_desc_string_long: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_connect: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_keylog_callback: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_next_proto_select_cb: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: BIO_f_ssl: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_use_PrivateKey_file: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_free: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_get_peer_cert_chain: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_check_private_key: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_get_peer_certificate: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_get_verify_result: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: OPENSSL_init_ssl: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_shutdown: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_set_bio: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_pending: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_alpn_protos: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_get_certificate: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_msg_callback: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_ctrl: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_srp_password: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_new: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_set_connect_state: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_get_ex_data: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_get_error: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_get_version: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_set_ex_data: symbol not found
transmission  | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_verify: symbol not found
transmission  | Error relocating /usr/bin/transmission-daemon: SSL_CTX_get_cert_store: symbol not found

It seems this is because there are incompatibilities between the minimal (musl) system C library (libc.so) that ships with Alpine Linux and the bigger (GNU) libc that ships with more typical Linux distributions. Those error messages hint that you’re tripping over something like that. (text copied from the post linked below)

More information in this thread: Error relocating – symbol not found – building docker-fpm-alpine image – Stack Overflow

In my case I was indeed running Ubuntu Linux as host for the Docker images.

I’ll update this post when I found the exact solution. For now I’m using another image provider for this specific goal.

Linux, thank you for all the good times

This will be quite similar to a lot of stories I’ve read on Reddit, Stack, etc lately. But last week there was a straw which broke the camel’s back.

I’m currently installing my tool set on a macbook, after spending nearly half my life on Linux. As an analogy; it feels like finally trading in that old-timer car, which you know every nook and cranny of the engine bay but it just isn’t up to it’s task in this world.

In the past 20 years I loved how the merry heap of Open Source devvers tackled every (really every) hurdle and created this OS shaped out of hope and dreams. A project started so small and turned to influential by those same characters 🙂 I laughed about the naming of less (less is more), used cowsay on most of my terminal messages and could use this free and open solution to earn money as a self employed engineer.

I installed Warty Warthog and was wondering what I would do with the rest of my day, since it only took 30 minutes instead of a full day compiling in Gentoo.

I found out about so many beautiful solutions built, maintained and cared for by communities which were revolving around the community itself, instead of self-glorifying CEO personalities.

The straw was an email from the customer I’m currently working at, they stated that you need to be MS Intune compliant to be able to login to corporate resources. Which means that I can reach everything (yay openvpn) but not use it (nay intune)

In all those years it has always been corporate policies which broke stuff for me. A customer or client would ask me to join their network and it’s tough to explain that you need to recompile gnome-network-manager to add VPN support. For me myself I can explain why this time is an investment, but when a client/customer is waiting for me to deliver value it’s a different story.

I spent a full day on getting audio to work in MS Teams via Citrix Workspace (both Citrix and MS are very corporate), and that shows where the issue lies; The corporates (not meant as a negative!) don’t care that much about the minority share that Linux users are. They don’t lose (much) money when I can’t use their products, so why bother.

Next to that the companies which develop solutions for Linux are in trouble with testing, the group is abysmally small and the techniques they used are splintered (gnome/kde, ubuntu/fedora/mint/pop_os, cpu architecture, sound subsystems, etc etc) so it’s neigh impossible to test a new release properly to prevent previous bugs to re-appear.

I switched to a Macbook three days ago, ported my whole workspace and most of the tools are working fine. Next to that, I am now compliant, thus can use the corporate facilities without restrictions.

And. It. Just. Works.

Honestly it feels like losing a good friend, who’s been there for most of my life.

Goodbye Linux, it’s been a blast. I’ll see you on all of my servers, so I guess we’ll be neighbours, no longer roommates.

photo of person walking on deserted island
Photo by Tom Swinnen on Pexels.com

Citrix Workspace (ICAClient) no sound/audio in Microsoft Teams

Since last week I am working with a virtual desktop (VDI) through Citrix Workspace (ICAClient) and noticed I can not use Teams to call or join meetings.

This message is displayed in Microsoft Teams:

There’s a problem with your connection.
Still connecting to remote devices. Calling isn’t available yet.

Cause: HDX Optimized audio does not work

If you want to skip straigt to the solution, click here: Solution: Change MSTeamsRedirSupport to zero

How to diagnose if the cause is the same as what I encountered

Log in to your VDI, play some sounds AND talk into your microphone to make sure your audio is actually working. Check this via the sound mixer, that’ll show a moving bar if it’s receiving sound by your microphone. Speakers should work when you watch a random youtube movie.

Next; Open MS Teams and click the “Three dots” settings menu, choose About, then Version. When your Workspace and Teams are expecting HDX to work but it didn’t, you will see this message: Citrix HDX Not Connected

MS Teams, Settings – About – Version: “Citrix HDX Not Connected”

Note: If it would be working, you would have seen Citrix HDX Connected

The third option is if Teams does not expect Citrix HDX to work, then it simply doesn’t show anything about Citrix HDX and tunnels sound over the regular sound channels. This is what we want to accomplish in the next chapter.

There is a registry entry MSTeamsReditSupport, which is set every time you connect to your VDI with Citrix Workspace. From what I understand; Citrix Workspace communicates to your VDI that it is capable to receive HDX optimized audio streams. Next to that MS Teams checks that registry setting when it is started to use/not use HDX optimized audio.

Solution: Change MSTeamsRedirSupport to zero

Change MSTeamsRedirSupport to 0 (zero) in registry. The exact location of this registry entry is here:
HKEY_CURRENT_USER\SOFTWARE\Citrix\HDXMediaStream\MSTeamsRedirSupport

It’s a bit tedious to open Registry Editor every time, so you can also create a registry entry file MSTeamsRedir.reg
In this file you can paste this content:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Citrix\HDXMediaStream]
"MSTeamsRedirSupport"=dword:00000000

Remember; You should run MSTeamsRedir.reg every time you connect to the machine or when you restart MS Teams.

Why is this a problem?

I do not know exactly, but I know that the HDX optimized socket on my laptop can not be reached contact the VDI and I tried searching for a solution for a couple of hours. I then became fed up with HDX optimized sockets and thought about buying a macbook to just make the damn thing work. After that short existential crisis I kept searching for a possible solution and was happy to find this registry setting.

My emotions with Linux after figuring stupid things out which simply work on other OS’s

What I’ve tried and did not work:

1.) Run Citrix supplied hdxcheck.sh and see if you have all the libs installed, I tried installing all libs manually and in the end still had no HDX optimized sound in my VDI. You can run this command via the following path:
/opt/Citrix/ICAClient/util/hdxcheck.sh

2.) Install older version of Citrix Workspace, which didn’t use the HDX optimization and thus sound worked in all applications. I did encounter some bugs with full-screen not working properly on a bigger monitor. The version I used is linked below:
Download icaclient_19.12.0.19_amd64.deb via https://www.citrix.com/downloads/workspace-app/
Direct link to the download: https://www.citrix.com/downloads/workspace-app/legacy-workspace-app-for-linux/workspace-app-for-linux-1912.html

Sources:

Citrix.com: Enable optimization of Microsoft Teams

Citrix.com: How to collect Logs for Citrix Workspace app for Linux?

(Web-safe) Fonts blurry/bad/jagged/vague in Chrome

Chrome based browsers (Edge/Vivaldi/etc) and Chrome itself are great. But the font smoothing on my Linux laptop (Pop!_Os / Ubuntu) is not great. This comes into play when you’re visiting pages with web or web-safe fonts.

Web(-safe) fonts allow Web designers to use fonts that are not installed on the viewer’s computer.

The edges of the fonts look a bit jagged and the edges are vague. This is quite annoying, since the fonts are rendered perfectly in all other applications.

After a whole lot of searching I finally found the solution (for me). YMMV (Your miles may vary)

Solution: Disable Hardware acceleration in settings

Go to settings by clicking the three dots and then select settings.

In the settings, search for hardware

(You can click this link to go there directly: chrome://settings/?search=hardware)
(If you use chrome, click here to go there directly: chrome://settings/?search=hardware)

Flip the switch next to Use hardware acceleration when available and click Relaunch

Wonderful! Click Relaunch to view beatifully rendered web fonts

After the relaunch my fonts were rendered perfect.

Examples:

Hardware acceleration disabled, bask in the glory of clean fonts!
Hardware acceleration enabled, fonts edges are vague !

Pop!_Os: NVidia gpu card very slow (or not working) Linux

So after a long while I wanted to get back to CS:GO on my Thinkpad X1 Extreme with hybrid Intel/Nvidia GPU, and the performance was horrible!

Long story short: (re)install the Nvidia drivers to get the Nvidia card working.

First: Testing if the NVidia card is active

You can test if you are actually using the NVidia card by running this command:

 ~ î‚° glxinfo|egrep "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2) 
 ~ î‚° 

You can see in the example above that Intel means that you’re still using the Intel onboard graphics card for all your OpenGL stuff (including games like CS:GO)

And Intel GPU is not good for gaming.

Note: If it actually says NVIDIA in your output then don’t continue with the solution below.

Solution: (Re-)Install the NVidia driver

Check if you have the driver currently installed:

dpkg -l |grep nvidia

Notice: If the package is installed on your system then the package name is preceded by ii

There should be driver package named nvidia-driver-xxx installed. Where xxx is the version number.

In my system it looks like this:

~ î‚° dpkg -l |grep nvidia                         
ii  libnvidia-cfg1-470:amd64                470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-470                    470.57.02-1pop0~1627044105~21.04~f9815ed                             all          Shared files used by the NVIDIA libraries
rc  libnvidia-compute-435:amd64             440.31-1pop1~1573485407~19.04~af08493                                amd64        Transitional package for libnvidia-compute-440
rc  libnvidia-compute-455:amd64             460.67-1pop0~1616430777~20.04~71e1ad1                                amd64        Transitional package for libnvidia-compute-460
rc  libnvidia-compute-460:amd64             465.31-1pop0~1623777959~20.10~a3ca7f3                                amd64        Transitional package for libnvidia-compute-465
rc  libnvidia-compute-465:amd64             470.57.02-1pop0~1627044105~20.10~f9815ed                             amd64        Transitional package for libnvidia-compute-470
ii  libnvidia-compute-470:amd64             470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        NVIDIA libcompute package
ii  libnvidia-compute-470:i386              470.57.02-1pop0~1627044105~21.04~f9815ed                             i386         NVIDIA libcompute package
ii  libnvidia-decode-470:amd64              470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-470:i386               470.57.02-1pop0~1627044105~21.04~f9815ed                             i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-470:amd64              470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-470:i386               470.57.02-1pop0~1627044105~21.04~f9815ed                             i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-470:amd64               470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-470:amd64                470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-470:i386                 470.57.02-1pop0~1627044105~21.04~f9815ed                             i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-440:i386                   470.57.02-1pop0~1627044105~21.04~f9815ed                             i386         Transitional package for libnvidia-gl-470
ii  libnvidia-gl-470:amd64                  470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-470:i386                   470.57.02-1pop0~1627044105~21.04~f9815ed                             i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ifr1-470:amd64                470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  libnvidia-ifr1-470:i386                 470.57.02-1pop0~1627044105~21.04~f9815ed                             i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
rc  nvidia-compute-utils-460                460.73.01-1pop0~1620243205~20.10~9a91ef9                             amd64        NVIDIA compute utilities
ii  nvidia-compute-utils-470                470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        NVIDIA compute utilities
rc  nvidia-dkms-460                         460.73.01-1pop0~1620243205~20.10~9a91ef9                             amd64        NVIDIA DKMS package
ii  nvidia-dkms-470                         470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        NVIDIA DKMS package
rc  nvidia-driver-460                       460.67-1pop0~1616430777~20.10~71e1ad1                                amd64        NVIDIA driver metapackage
ii  nvidia-driver-470                       470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        NVIDIA driver metapackage
rc  nvidia-kernel-common-460                460.73.01-1pop0~1620243205~20.10~9a91ef9                             amd64        Shared files used with the kernel module
ii  nvidia-kernel-common-470                470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-470                470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        NVIDIA kernel source package
ii  nvidia-settings                         470.57.01-0ubuntu0.21.04.1                                           amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-470                        470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                 0.18build2                                                           all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-470           470.57.02-1pop0~1627044105~21.04~f9815ed                             amd64        NVIDIA binary Xorg driver
 ~ î‚° 

Re-Install the driver package by installing the latest nvidia-driver-xxx package to your system with the following command:

sudo apt install nvidia-driver-xxx

Accept the additional packages and after the installation, reboot your system. You should now have the correct output when you run the glxinfo command in the first paragraph.

glxinfo|egrep "OpenGL vendor|OpenGL renderer"

Example output:

~ î‚° glxinfo|egrep "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1050 Ti with Max-Q Design/PCIe/SSE2
 ~ 

My favorite Gnome Extensions

Gnome has been my favourite Window Manager for ages, to me it feels like a cosy blanket meaning that I’ve arrived at home 🙂

Part of that feeling is because of the awesome extensions that so many enthusiasts have made over the years. If you don’t know, the extensions add so much productivity and possibilities to an already great window manager.

I’ve put my favourite extensions in the list below. This list is part so that I can remember myself but also to explain why some of these extensions are so cool to use (to me at least)

Click the Extension name in the table below to go to the extensions web page on extensions.gnome.org

ExtensionAwesome index
(1-5)
Why it is so awesome
Activities Configurator3Allows you to customize the Activities logo and fine tune the menu bar

Caffeine2Disable the screensaver and auto suspend, great for watching video’s or extreme prolonged pondering of diagrams

Clipboard Indicator5Clipboard manager for Gnome. I ALWAYS use a clipboard manager, doesn’t matter if I’m working on a Windows, Linux of OSx machine, it is one of the first things I install. Such a productivity booster.
Clipboard indicator is one of a few clipboard managers in the extensions repository, I like the simplicity.

Dash to Dock5A dock for the Gnome Shell. One of the most popular extensions because it turns the dash into a dock! (What’s in a name) Makes switching and launching of applications easier.
Desktop Icons NG (DING)2Adds icons to the desktop (for the ~/Desktop folder)
Draw On You Screen3This extension allows me to draw on the screen when making screencasts.
You can toggle the drawing on/off with a keyboard shortcut.
gTile5Makes it easy to order your windows in a grid. Very nice productivity tool.
I mostly use the 5×4 grid, with browsers having a size of 2×4 and terminals sized 1×4.
You can switch on the fly between three (configurable) grid presets

Internet Radio4Small widget which streams internet radio. I most often listen to Pinguin Radio and some of the local Dutch radio stations.
Note: Does not listen to the keyboard media keys
Favourite radio stations:
Pinguin Radio: http://streams.pinguinradio.com/PinguinRadio192.mp3
Radio 538: http://22353.live.streamtheworld.com/RADIO538AAC.aac
Radio Veronica: https://20873.live.streamtheworld.com/VERONICA.mp3
Radio 3FM: http://icecast.omroep.nl/3fm-bb-mp3
Quick Close in Overview5Very simple yet effective: Middle mouse button in Overview (Win-key) closes the application
Sound Input & Output Device Chooser4Shows all the input and output devices. I love this since I have several audio in- and outputs (USB amp / headphones / HDMI output via monitor) for different purposes.
This extension gives me the current selected in- and output as well as letting me choose quickly.

System Monitor5One of the simplest and cleanest looking system monitors (CPU, Mem, Storage, Network, Load)
It takes minimal space in the bar, yet gives me exactly the information I want on a glance. The extension works with colors (Shades of yellow, orange, red) to show how busy a resource is.
For me this is very convenient if I want to know IF my CPU is being used heavily. One click on the pane and you see the top 5 of each category in a handy overview.

VirtualBox applet3Shows a list of running VirtualBox machines. I use this widget mostly to check if there is any running Vagrant stuff I forgot after a day of work
Workspace Scroll3Allows me to scroll anywhere in the top panel to change the workspace.
Very convenient when working with multiple workspaces.
Wallpaper Changer4Changes the wallpaper based on several providers, I have it set to pick a picture from a folder every 30 minutes.
It also serves a little like a pomodoro timer that way.
Tray Icons4Always handy to keep the tray icons in sight.
Table with my favorite extensions

Summary

I feel these extensions help a lot with increasing productivity and are a massive part of why I love working on Linux with the Gnome Window Manager.

Screencasts on Ubuntu

For a colleague I just made a screencast of a problem we were discussing. I was trying to use the minimum amount of tools in Gnome/Ubuntu and wanted to share the proces with you all.

Goal: Create a screencast recording of my desktop with narrated (recorded) audio at the same time.

If you are very curious and want to see the result immediately, look at the video below:

“Apache Kafka files store data without encryption”

I use Pop!_OS 21.04, which is based of Ubuntu. In Pop!_OS I use Gnome with Wayland.
All the instructions below will work with Ubuntu and any Ubuntu based distribution as well.

This howto is divided in several sections:

  • Desktop (Video) recording
  • Audio recording
  • Putting the video and audio recording together

Additional tools used in the video:

  • Show the webcam (guvcview)
  • Written annotation on a page (xournal++)
  • Written annotation on screen (Draw On You Screen)

Video recording:

Since I want to use the most simple method, my approach is to use the built-in screen cast ability in Gnome.

Press Ctrl+Alt+R to start the screen cast recording.

When the recording is in progress, you see a red filled circle in your notification area:

When you press Ctrl+Alt+R again, the circle disappears and the recording is saved to the Videos folder in your home folder:

Note: This video file is without audio.

Audio recording

As the most simple solution I used the builtin Sound Recorder in Gnome:

Press “Record” to start your recording and click “Done” when you would like to end your recording. You can see me pressing the buttons in the recorded screen cast.

Important: You need to press the screencast start keyboard command Ctrl+Alt+R and the Record button at the same time, or your video and audio will be out of sync.

When you stop the recording, the Ogg Vorbis file will be saved in the default location in your home folder, which is: ~/Recordings.

Combine the video and audio

Right now you have two separate files, not really useful when they are not combined.

To combine them, I used the following command:

ffmpeg -y -i Videos/Screencast\ from\ 05-12-2021\ 02:51:06\ PM.webm -i Recordings/Clip\ 5 -map 0:v -map 1:a -c copy file.webm

Explanation of the command:

ffmpeg
 this is the command itself
-y
 overwrite output files without asking
-i {file location}
 input file + file location
 Note that there are two input files (video & audio)
-map
 Designate one or more input streams as a source for the output file. The number is the first (0) or second (1) input file. The map itself shows what we are using in the output. In this case it is 0:v to use the video for the first input file and 1:a to use the audio of the second input file
-c copy file.webm
 Specify the output file, in this case it will be copied to file.webm in the same directory as where you run the command.

The result is what happens here:

GIF recording of putting the video and audio together (Recorded with Peek GIF Recorder)

This is the minimum necessary to create a screencast!

For example, you can send this webm video output file to people over email / file share / whatever you’d like. You can also upload it to Youtube, which can process the output file and you are done to spread some knowledge!

Add some extra spice to your screencast

To add some engagement with whoever will view your screencast, you can show your own webcam in the screen. You can use the built in program Cheese

Another option is to use guvcview, which has a cleaner interface (no buttons on the webcam output window)

Install with sudo apt install guvcview , start the program with guvcview.

Then select your video input device. You can minimize the settings pane so that you’re left with only the video of your webcam for the introduction/conclusion of your video.

Annotation

For annotation I use Xournalpp (xournal++) which helps me in drawing with my XP-Pen drawing tablet. I think it makes the screen cast a bit more entertaining compared to showing plain text but you can decide for yourself.

You can also use a Gnome Extension called Draw on You Screen by Abakkk, with this extension you can do annotations directly on the screen and thus show your thoughts / comments / pointers on screen directly.

Note: I don’t use this extension in my example video though.

Conclusion

I hope this blog post helps you in creating screen casts with the simplest possible tools. Good luck and hope to see your videos around on the web!

How to put GPX file on Garmin watch with USB

So I’m kinda tired of Garmin apps needing internet all the time. Also it’s an extra step for me to first upload my GPX files in any Garmin app before I can sync it to the watch. And the Garmin apps don’t make sense to me. The libraries are overly complicated (for my use)

First: Connect your Garmin watch to your device.

Make sure the Garmin watch is in USB storage mode (in the settings)

Second: Open the watch in your file explorer and navigate to the "NEWFILES" directory.

Third: Place your GPX file there.

As soon as you disconnect the watch, the files there will be imported into the Courses folder and you can use them for your activities.

Update HP Proliant Microserver BIOS without Windows

I wanted to update my MicroServer Gen8 bios to the latest version but the download site on HPE only showed .EXE files. Since I’m only running Linux on my machines it was not possible to execute that file.

You can however update the BIOS via ILO (Integrated Lights Out) if you extract the BIOS file from the executable.

First download the .EXE from the HPE site: https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_e9bfdf20809a426cb16ef9cd81

(Currently the latest version is SP99427.exe. If you want to be sure you’re using the latest BIOS then click the tab “Revision History” to see if there are newer BIOS files available)

Extract the contents of the executable. Have a look at the directory structure below and extract the file marked "CPQJ06xx.xxx"(where “x” might change depending on versions)

.
├── How to Use.txt
├── logo.gif
├── README.1ST
├── rev_hist.txt
├── ROMPaq Flat Files
│   ├── CPQJ0613.684
│   ├── CPQSRVR2.CPU
│   ├── README.1ST
│   ├── Readme.txt
│   └── ROMPAQ.EXE
├── ROMPaq USB Key
│   ├── CPQJ0613.684
│   ├── CPQSRVR2.CPU
│   ├── HPEUSB.exe
│   ├── Readme.txt
│   └── ROMPAQ.EXE
├── Start_files
│   ├── colorschememapping.xml
│   ├── filelist.xml
│   └── themedata.thmx
└── Start.htm
3 directories, 18 files

Then log in to ILO and navigate to the page “Firmware” via the Menu Option “Administrator”

At the bottom of the page select “Browse” to select the CPQJ06 file and then click Upload.

Let the upload complete and reboot your Microserver. When you start the microserver it displays the BIOS version and date in the first line.

You can also see the version in the ILO overview page.

HP Smart Array P222: The cache is permanently disabled

I just installed a new Hardware RAID card in my microserver (gen8), and as soon as I booted it gave me this error and refused configuration of the Raid arrays on the P222.

It seems related to the battery which is connected to the cache module on my card. The battery was empty when I first booted the system.

Solution was to power up the system, leave it in POST while the battery was being charged.

After about an hour I tried again and I was able to clear the cache, clear the configuration for the RAID array and create a fresh array on the controller.

Note; perhaps the period of an hour could be shorter or longer in your specific case. The battery provided with my unit was quite small so it was charged enough after an hour to continue without errors. But I guess that that might differ per unit.

Note; Several posts on HP and server forums were suggesting that the unit might be defective and said to return the battery / cache module / Smart Array card.
This post is mostly here to encourage patience; Getting a cup of coffee and checking again after an hour was the solution in my case.