Tag Archives: xubuntu

Disable 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

Atril (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 As

Send message to user logged in to an X11 session at a remote host

There are occasions when you want to contact a user working at a remote computer, but his/her phone is switched off. If the remote user is running an X11 session, and you have ssh access to the remote computer, and you have root privileges on the remote computer, here is a solution.

Continue reading Send message to user logged in to an X11 session at a remote host

Turn 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 hostapd:

Continue reading Turn your desktop computer into a wireless access point

Install 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 sdcc