Linux fstab to mount different fs with the same label

If you have different partitions (such as USB ones) with the same label (so that you can syncro them with the same script) but with different filesystem (such as btrfs and ext4) you can modify your fstab line using auto instead of etx4 or btrfs.

I mean something like this:

LABEL="your-label"  /media/your-mount-path  auto  users,noauto,noatime,nodiratime  0  2

In this way you will be able to mount your usb devices (either etx4 or btrfs or another fs) without problems.

ratings icon in kde plasma 5

In Plasma 5 vi è un tema predefinito: Breeze. Chi non lo gradisce può scegliere un altro tema, ad esempio Gnome, ma troverà che in Dolphin mancano le “stelle” per il rating di un file/cartella.
Allora bisogna andare a cercare il file “index.theme” del tema scelto, ad esempio Gnome e inserirvi la stringa “Inherits=breeze”.

Ad esempio in pclinuxos i files index.theme si trovano in usr/share/icons. Nel caso di gnome in “usr/share/icons/gnome”.
Fatto questo le stelle appariranno e saranno settabili.

I ratings, i tags e i commenti dei files sono embedded nei files (e cartelle) come extended attributes (xattr) purché ci sia un filesystem adeguato, come ext4 (non fat32 o ntfs).

Per sincronizzare cartelle e files con ratings da un pc all’altro occorre usare un programma come rsync con il parametro -X. In linux si può usare la GUI Grsync per sincronizzare ad esempio un PC con una chiavetta usb e poi la chiavetta usb con un altro PC. Da notare che come destinazione non va selezionata la stessa cartella di origine, ma quella che deve stare “a monte”.