Bluetooth Adapter Ubuntu

VMWare ended up taking away the USB port for the blue-tooth adapter.   Eventually, fixed by using USB 4-port to get a different adapter to get recognized.  Ran the following, anyway and left it.  Don't know if it did anything or not.

Refer: https://www.linuxliteos.com/manual/hardware.html#bluetooth

$ sudo leafpad /etc/bluetooth/audio.conf
Add the following to the file:

[General]
Enable = Source,Sink,Headset,Gateway,Control,Media
Disable = Socket

HFP=false

[A2DP]
SBCSources=1
MPEG12Sources=0

sudo add-apt-repository ppa:cschramm/blueman
sudo apt-get update && sudo apt-get install blueman pavucontrol pulseaudio-module-bluetooth -y

Refer: https://www.reddit.com/r/linuxhardware/comments/t7hzdb/which_usb_bluetooth_dongle_would_you_recommend_me/

Use this to see kernel version

uname -r

UB500 Released September 2022

I've read in a few places that the TP-Link UB500 driver was added to the linux kernel starting with kernel version 5.16, meaning older kernel versions will require you to manually install the driver (https://github.com/tedboudros/tplink-ub500-linux-patch-guide)

Since Ubuntu 20.04 and 22.04 only have kernel version 5.15, I bought the previous version of this device (TP-Link UB400) and I can confirm it works out of the box on Ubuntu. I just plugged it in and it worked.

I'm currently using UB400, and UB500 DID NOT WORK yet.

You could build a newer kernel, instructions here:

Refer: https://github.com/tedboudros/tplink-ub500-linux-patch-guide

How to Change Your Kernel

Refer: https://blog.mruckman.com/2021/09/change-linux-kernel-being-used/

Panasonic Cordless Phone Wrong Time Zone

Refer: https://eng-au.faq.panasonic.com/app/answers/detail/a_id/43080/~/troubleshooting---i-set-my-time-on-my-cordless-phone-and-when-someone-calls-me

TROUBLESHOOTING - I set my time on my cordless phone and when someone calls me the time changes to the wrong time. How do I stop this?

What is happening is by default your phone uses what is known as the Caller ID information to obtain the time. So when someone calls you your phone, it is being given the time that is being used by the phone exchange of the phone provider.

If you wish to avoid this from happening you need to change the time settings in your phone from "Caller ID" to "manual".

Go to Menu->Time Settings->Time Adjust. Change from Caller ID to Manual.

Change Timezone on Ubuntu

From a Terminal

export TZ=America/Los_Angeles
timedatectl

Example Output

$ timedatectl
                      Local time: Sun 2022-09-18 18:28:01 UTC
                  Universal time: Sun 2022-09-18 18:28:01 UTC
                        RTC time: Sun 2022-09-18 18:28:03
                       Time zone: Etc/UTC (UTC, +0000)
       System clock synchronized: no
systemd-timesyncd.service active: yes
                 RTC in local TZ: no

Another way

sudo timedatectl set-timezone America/Los_Angeles

Inside a Docker Container

ln -fs /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
dpkg-reconfigure --frontend noninteractive tzdata

Interactive Way

dpkg-reconfigure tzdata

Ubuntu Text to Speech from Command Line

Free Online WebSite

https://www.naturalreaders.com/online/

Paid Software with Lifetime Subscription
https://micmonster.com/pricing/

Alexa Has a Skill that can be accessed from a browser

Refer: https://www.lifewire.com/make-alexa-say-what-you-want-5204622

Install Alexa "Text to Voice" skill

https://texttovoice.io/

One,
Two,
Three

Refer: https://askubuntu.com/questions/501910/how-to-text-to-speech-output-using-command-line

Say converts text to audible speech using the GNUstep speech engine.

sudo apt-get install gnustep-gui-runtime
say "hello"

Refer: https://www.geeksforgeeks.org/how-to-use-aplay-and-spd-say-command-in-linux/

spd-say Seems to be built-in

spd-say "Hello World"
spd-say -t female2 -r -30 "Hello World"

Outlook OST File

If you need to delete your Outlook OST file because it is out of date, it's here:

C:\Users\mruckman\AppData\Local\Microsoft\Outlook

Register an AppImage as a desktop application in Linux

Refer: https://dev.to/tqbit/how-to-register-an-appimage-as-a-desktop-application-in-linux-31c7

The Scenario:

You have an .AppImage file and would like to treat it like an installed Linux app.

The solution:

Create a custom .desktop file

For this article, I'll use the following constraints:

  • Register the Electron.js app Marktext on an Ubuntu 20.04 distro
  • Use this icon from icon-library.com or some other place

Let's do it.

NOTE: You might have to use sudo commands to access files in the /bin and /use directories

  • Download the .AppImage file and an icon you would like to register it with
  • Move the .AppImage file to the path /bin, e.g. sudo mv ~/Downloads/Marktext.AppImage /bin/
  • Make it executable with sudo chmod +x /bin/Marktext.AppImage
  • Save the icon under /use/share/icons/custom/markdown.png e.g. sudo mkdir --parents /use/share/icons/custom && sudo mv ~/Downloads/markdown.png /use/share/icons/custom/
  • Create a .desktop file under ~/.local/share/applications/marktext.desktop
  • Paste the following content into it:
[Desktop Entry]
Name=Image Name                           # NAME YOUR IMAGE HERE
Comment=What this program does            # COMMENT ABOUT USAGE
Exec=/bin/marktext-x86_64.AppImage        # REPLACE WITH YOUR .AppImage
Terminal=false
Type=Application
Icon=/usr/share/icons/custom/markdown.png # REPLACE WITH YOUR ICON
Categories=Utility                        # SET THE CATEGORY, CAN HAVE MULTIPLE ENTIRES SEPARAGED BY ;
MimeType=text/markdown;                   # SET MimeType
Keywords=marktext;markdown;               # ADD SEARCHABLE KEYWORDS
StartupWMClass=filename.AppImage          # USE PROGRAM BINARY NAME HERE
Actions=NewWindow;

That should do it. Try pressing the Super key now and search for the app.