webdav after changing cloud password

I.G. you could have changed the psw switching to 2FA. So, in Linux, Dolphin o any other file manager could not recognize any more your cloud webdav.

To fix this problem, try the following steps:

1. in system settings -> KDE Wallet -> Wallet Manager -> Passwords – > Maps,

2. find your old cloud account and delete it,

3. then you will asked, as expected, for a new user and password.

4. And then it should work.

Sound in Musescore 4

In Ubuntu, to get the sound in Musescore 4, after installing Pipewire (with its repo) you could have to follow these steps (in Italian, but you can find it in English as well).

If you have, following that steps, an error (such as Error while installing package: trying to overwrite '/usr/share/man/man1/pipewire-pulse.1.gz', which is also in package pipewire-pulse 0.3.48-1ubuntu3) you can resolve with this command:

sudo dpkg -r pipewire-pulse

As said here.

Regex find and replace a digit

To find only a single digit (such as “1”, or “2”) and replace (only) it, you have to add a plus after \d.

Something like:

(\d+)

(to find it) and

\1

to replace it.

For example you have to add a new element to these lines

1 some first text 
3 some other text
8 other text

You can use this regex

find: (\d+) replace: \n\1

as a result you will get


1 some first text 

3 some other text

8 other text

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.

usb bootable partition

It is not necessary that a whole usb space be used as bootable disk (as do, on the contrary, grafical software such as Rosa ImageWriter): you can reserve only a USB partition for the boot, and keep the remaining space for your use. In this way, f.e., you can have a boot partuition of 6 gb, and a data backup partition (on the same usb drive) of 24 Gb.

After downloading the ISO you want use as bootable, you have to make it bootable:

  1. create a FAT32 partition (fitting your SO size: 4gb, f.e.) and other parttions (such as ext4) on the free space after.
  2. Install, if you don’t have yet, syslinux-utils: sudo apt-get install syslinux-utils
  3. make bootable your ISO with: isohybrid --partok your.ISO
  4. copy your ISO so modified with:
    dd if=your.ISO of=/dev/[yourdevicename, f.e. "sde1"] bs=1M
    (you can check the exact dev partition name using lsblk)
  5. You should have now a bootable USB using only the first partition of pour USB disk.

Verify a KDE-Neon iso with a sig file

You have first of all to install the public-key of KDE-Neon:

  • downloading it (it is a text file)
  • and installing it gpg –import [your-downloaded-public-key-file].gpg

Then you have to go into the folder where are both iso and sig files and give this command

gpg --verify [your-iso-file-name].iso.sig

You should see something like:

gpg: assuming signed data in 'neon-user-20200813-1119.iso'
gpg: Signature made �� 16:40:21 PKT �� 13 �������� 2020
gpg:                using RSA key 348C8651206633FD983A8FC4DEACEA00075E1D76
gpg: Good signature from "KDE neon ISO Signing Key <neon@kde.org>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 348C 8651 2066 33FD 983A  8FC4 DEAC EA00 075E 1D76

Here more.

LibreWiter header and footer

This feature is very useful if you write a book: have headers page with the book title on left pages and chapter title on right pages, and page number at the bottom, for example.

  1. To add a header to a page, choose Insert – Header and Footer – Header, and then select the page style for the current page from the submenu.
  2. You can also choose Format – Page, click the Header or Footer tab, and then select Header on or Footer on. Clear the Same content left/right check box if you want to define different headers and footers for even and odd pages.
  3. Then you can add the field you want, such as page number or book title (with Insert -> Field).
  4. Inserting chapter title is a bit more complex: Choose Insert -> More fields and then click the Document tab. Click “Chapter” in the Type list and “Chapter number and name” (or “Chapter name”) in the Format list and select the level (typically the second one: “2”). Click Insert and then click Close.