This seems a bit unstable, actually a bit unfair but they have changed how they deal with bursting swap, and firefox at least uses snap and so I may need some more tools. I have added to this page as I learn more about what additional configuration I need. My notes …

What I’ve found

On swap

This is a bit odd.

  1. https://askubuntu.com/questions/1408784/apps-crash-randomly-on-newly-installed-ubuntu-22-04
  2. https://linuxhint.com/add-swap-space-ubuntu-22-04/, I found this, extending swap on an ubuntu 22 system.
  3. And this on sizing swap! There it seems several rules, varying from 2Gb to same as RAM.

On Snap

  1. https://snapcraft.io/docs/keeping-snaps-up-to-date, claims to do it l the time or at least four times/day, can I configure a refresh to be part of the boot sequence.

Image Editing

  1. https://linuxhint.com/best-image-editors-ubuntu/ from Linuxhint, I downloaded GIMP, I thought I knew how to use it, but it seems I don’t. Perhaps I should use imagemagick?

On Samba

The client only uses SMB1? If so this is a bug in Ubuntu, can I configure my servers to use both versions of the protocol. I have a Samba page on this wiki.

UFW

At some time in the early 20’s ubuntu moved from iptables interface to ufw, I found this manual, A Beginners Guide to Linux firewall 2021. ufw defaults to running without logs, they must be turned on. I usually need ssh, smb, nmb, http/https, and maybe cups. AFAIK ufw is an interface to iptables. It comes with rules which are on or off, for OpenSSH, apache and Samba. It is enabled/disabled via the ufw cli. 

On VLC

I forgot to do the things to make VLC work, it’s not as simple as it should be, I checked my V20 notes and  referred to these notes, which guided me through the reinstall and then the configuration. I used steps 1-4 with apt.

Filezilla

I made an image and cannot get sftp or smb to work. Actually, I have sftp working from the command line but not from the GUI. IONOS have some instructions which spend a lot of time on groups. Filezilla’s instructions are unhelpful, but I think its the Ubuntu config which is faulty. I have asked Ubuntu.

On Sudoers privilidge

When running under virtualbox, I corrupted the sudoersfile. This is not simple to fix, well it is, but you need to know how. You need to boot in recovery mode and enter single user shell as root. I used this advice from tecmint.com and found this from askunbuntu, which wasn’t quite what I needed.

Update-alternatives

My mingle broke and I think it’s a python version thing. While looking at how to run an old version and new version I came across update-alternatives, which does exactly what I need given that python3 & python2 install [using apt] with those names. Here is techadmin net’s page, and also that of Baeldung. However, it may not be the answer to the problem I am trying to solve.

Google Drive

This is now managed via settings -> online accounts. Do the do, and make sure that the file manager is granted permissions. Nautilus will find the drive.

Bad Blocks

I have one or more bad blocks on my hard disk, to remediate this,,

It would also be good to fix the boot manager if this works.

3 Replies

  1. Added the comment on UFW and Samba. I also note that my real Ubuntu machine, the one with the bad blocks was sent for recycling, it had lasted a long time.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.