When starting a LibreOffice component, e.g. lowriter or localc, it may complain with the above warning about not being able to start javaldx.
Continue reading Warning: failed to launch javaldx – java may not function correctlyTag Archives: Ubuntu
Clear your DNS cache
Are you experiencing a website with a dynamic IP address not loading? First thing to try is clearing your DNS cache:
resolvectl flush-caches
No sftp connection to Ubuntu 22.04
After upgrading to Jammy Jellyfish I could no longer connect from my phone using AndFTP (sftp).
Continue reading No sftp connection to Ubuntu 22.04Install non-snap version of Google chrome
Ubuntu is providing more and more software, including chrome, as snap packages. As a result I may actually end up moving away from ubuntu / xubuntu after many years as a happy user, but that is an other story. For the time being, here is an alternative way to install the non-snap deb package:
Continue reading Install non-snap version of Google chromeDisable snap and switch from snap to deb packages for Firefox in Ubuntu 22.04
Disable snapd
Remove Firefox (and other) snap packages:
snap list
snap remove firefox
Stop snapd service:
systemctl stop snapd.service
systemctl stop snapd.socket
systemctl stop snapd.seeded.service
systemctl disable snapd.service
systemctl disable snapd.socket
systemctl disable snapd.seeded.service
Remove snap related packages and directories:
apt autoremove --purge snapd chromium-browser* chromium-browser-l10n* gnome-software-plugin-snap* liblzo2-2* snapd* squashfs-tools*
rm -rf /var/cache/snapd
rm -rf /root/snap/
rm -rf /snap /var/snap /var/lib/snap
Install non-snap version of Firefox
Disable snap version
nano /etc/apt/preferences.d/mozilla-firefox
Package: firefox*
Pin: release o=Ubuntu*
Pin-Priority: -1
add-apt-repository ppa:mozillateam/ppa
apt update
apt install firefox
How to Install Latest Firefox as classic Deb in Ubuntu 22.04 | UbuntuHandbook
https://ubuntuhandbook.org/index.php/2022/04/install-firefox-deb-ubuntu-22-04/
How to Install Firefox as a .Deb on Ubuntu 22.04 (Not a Snap) - OMG! Ubuntu!
https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04
Convert two scanned A4 PDF files of an A5 booklet into a single PDF
When scanning an A5 booklet as individual A4 pages, but would still like to have them combined into an A5 PDF, the individual pages all end up in the ‘wrong’ place.
Continue reading Convert two scanned A4 PDF files of an A5 booklet into a single PDFAtril (evince, document viewer) default directory for Save As
For the XFCE desktop environment Atril is the default PDF viewer and I also use it to open any PDF files from Firefox. It is a great lightweight document viewer which does what I need most of the time. One exception is when after opening a PDF file from Firefox I decide to keep the file and select File Save As. Atril insists on saving the file in $HOME/Documents, which is practically never the directory I want to use…
Continue reading Atril (evince, document viewer) default directory for Save AsArduino IDE Linux installation
Download latest IDE tarball from the Arduino store, unpack the tar file and install bin symlink, desktop files and add menu entries.
Continue reading Arduino IDE Linux installationFull colour emoji fonts for Linux
Full colour emoji fonts are now available for Linux. To install:
Continue reading Full colour emoji fonts for LinuxHumax HDR-FOX-T2 dropbear ssh / sftp password change
On the Hummy, dropbear passwords are kept in /mod/etc/dropbear/shadow. To change the password, this file will have to be edited directly.
Continue reading Humax HDR-FOX-T2 dropbear ssh / sftp password changeList ssh tunnel connections
There are occasions when you would like to list ssh tunnel connections established to or from your server with information about the port numbers used.
Continue reading List ssh tunnel connectionsTurn your desktop computer into a wireless access point
My desktop computer has a wired connection to the internet and so the built-in wifi card is normally not used. I decided to enable and use it as a wireless access point.
Unfortunately NetworkManager will only create an ad-hoc wifi network, and Android devices will only connect to infrastructure access points. Don’t ask why… A rooted Android phone or tablet can be configured to connect to an ad-hoc network, and if a separate program can configure a Linux box to act as an access point, NetworkManager should be able to do the same. As far as I can see, there are no good technical reasons for either of these deficiencies.
The solution is
Netbeans cannot open old / existing project
After having installed Netbeans 7.0.1+dfsg1-5ubuntu2 I found that I cannot open old projects. Netbeans will find list the project directories, but will not open the projects. The solution is quite simple.
Continue reading Netbeans cannot open old / existing projectAdd “Copy To” and “Move To” custom actions in Thunar file manager
If you are missing the split view or dual pane functionality in Thunar, at least you can implement a workaround by adding the following custom action definitions to your Thunar config file:
Continue reading Add “Copy To” and “Move To” custom actions in Thunar file managerInstall or update mplabx, gputils, gpsim and sdcc
This is a summary of the steps involved in setting up development tools under Linux for Microchip PIC microcontrollers.
I have created Ubuntu Trusry packages for the most recent versions of gputils, psim and sdcc, and also updated the MPLAB X toolchain plugin for sdcc.
Continue reading Install or update mplabx, gputils, gpsim and sdccSystem Program Problem Detected – disable apport
A system component crashing will activate the apport reporting system. What is really annoying about this is that the warning pop-up windows will keep appearing long after the problem is solved.
Continue reading System Program Problem Detected – disable apportInstall pyUSB 1.x latest version
pyUSB is an excellent Python package that can significantly simplify USB programming. For most Linux distributions there are packages only for older versions of pyUSB, but since it is actively developed you probably want to have the latest version on your system.
Continue reading Install pyUSB 1.x latest versionApple keyboard with Linux
After having installed Ubuntu Linux 14.04 on an Apple Mac I found that the keyboard layout was not quite correct, e.g. function keys were not easily accesible and some characters were missing. The changes below will turn the keyboard into a keyboard with standard PC layout.
Continue reading Apple keyboard with LinuxMicrochip MPLabX installation on 64-bit Ubuntu system
The Microchip MPLabX IDE, IPE and XC8 packages need additional 32-bit libraries and so their installation is slightly more involved than just running the installer scripts.
Continue reading Microchip MPLabX installation on 64-bit Ubuntu system