css :hover on a mobile device

There lots of java-scripts to allow an effect such as mouse over on a mobile device (that is without mouse), but there is also a very, very simple solution: to use :active instead of :hover, as in the following example:

@media screen and (max-width: 580px) {
  .tooltip:active .tooltiptext {
  visibility: visible;
  opacity: 1;
}
}

while in desktop screen you can keep
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

sync murena on android nextcloud

When you are asked to set a server (opening nextcloud app on android), it’s enough to enter murena.io. Then you will asked for your user and password. (found here:: https://community.e.foundation/t/how-to-sync-nextcloud-notes-with-murena-io/47079)

A problem, if you connect your android device with KDEConnect and you copy your password from your PC, could be to paste it in password field. For security reason your keyboard could not allow you to paste easy. But eventually I managed to paste it without typing it.

KDE Connect not working

You have both smartphone and PC connected at the same network. But no connction between the two.

A possible reason is a firewall on the smartphone, .i.g. ReThink. In this case you should exclude KDE connect from firewall.

connecting android to samba in Linux

You must add in smb.conf (in /etc/samba), at [global] section and at “allow hosts = row, the android device IP, otherwise you won’t be able to connect it to PC samba network.

Then you can use several android apps, like X-plore (G-Play, commercial, but good) or Material File Manager (F-Droid, open source, quite spartan, but fast and reliable), to set the samba connection with your PC and view the files shared on your PC.

Provided, obviously, that PC and android device are both connected at the same local network.

KDE no longer working

If your smartphone doesn’t connect any more with the PC, the problem could be <b>the firewall</b>.

To fix this, you can:

1.install gufw

2.Open gufw from app launcher
Go to the Rules tab
Click the [+] button to add a new rule
Select the direction “Both”
Select category “Network:
Select Application “KDE connect”
Click “Add”

Done!

FreeDCam

It is an interesting android open source camera app, which allows you to control the smartphone camera in a very detailed way.

Unfortunately it hasn’t an easy graphical interface: therefore you should know that a) you can get settings sliding the screen (from left and from bottom); b) you must set an external storage, otherwise you won’t be able to take any photo.

android mail app

K9-Mail is a good app, but unfortunately rarely updated, in the last year. Besides, it has had an annoying cryptography bug and a notification bug.

So we tried FairEmail, that is definitely more accessorized, but not really privacy-friendly as they pretend, and not so open source: impossible to contact the developer, and pro functionalities are blocked until you pay something.

So, we went back to K9-Mail, that is absolutely open-source, even more “spartan”, but in its latest release without cryptography bug and notification bug.

split an epub per chapters

An epub book has multiple chapters. What method to split it into multiple files, each of them consist one chapter, effectively?

For example as the following:

1) Find: <h2

2) Replace: <hr class="sigil_split_marker" /><h2

3) Then select Edit > Split at markers.