Thunderbird task manager icon

If you use Wayland and in taskbar TB has an ugly W icon, you can try

  • to check if the path of icon is correct;
  • add this line (or something similar) in tb .desktop file: StartupWMClass=thunderbird-esr. Instead of thunderbird-esr you could have to check the appropiate name of TB in yout system.
  • be sure that the name of your desktop file be capitalized, that is Thunderbird.desktop and not thunderbird.desktop;
  • be sure that you don’t have duplicate Thunderbird entries (i.g. in KDE menu or in .desktop files)



Modify several symlinks at once

adding ../ to the target path

If you have to add the same property, i.g. ../ to several symlinks in the same folder, you can use this code:

#!/bin/bash

for f in *; do 
  [ -L "$f" ] || continue
  [ -e "$f" ] && continue   # skip the valid ones

  target=$(readlink "$f")
  [[ "$target" != /* ]] && ln -snf ../"$target" "$f"
done

You can either save this code in a bash file, or paste it directly in a terminal.

another case: replace the name of the target file

If you have now target files renamed with “-” instead of space ” “, you can use this code:

for f in *; do
  [ -L "$f" ] || continue
  [ -e "$f" ] && continue

  target=$(readlink "$f")
  newtarget=${target// /-}

  [[ "$target" != "$newtarget" ]] && ln -snf "$newtarget" "$f"
done

Disable Caps Lock

It could happen that you inadvertently press and it turn out all the word you write are are UPPERCASE.
To avoid this, in Linux, you can

  • go to System Settings > Input Devices > Keyboard -> Key bindigs
  • in Key bindings -> Configure Keybord options -> Caps Lock behavior -> Caps Lock disabled.
  • and then, always in Configure Keybord options -> switching to another layout -> select both
    • Both Shifts together
    • Caps Lock.

In this way your Caps Lock will be usually disabled, but you can use it by pressing both the shift keys.

BUT…
If you have wayland and espanso the upper configuration can give problems.
So the simpler way is:

  • to disable (permanently) caps lock : Key bindings -> Configure Keybord options -> Caps Lock behavior -> Make Caps Lock an additional Ctrl

difference between free and available

You could have an ext4 partition with almost 70 gb free (i.g. on KDE partition manager) but only a few more than 10 gb available in Dolphin.

Indeed free and available are not the same: free means the total space (available for root), available (in Dolphin) is the space for a single user.

If that partition is not a root one (=is not /) you could do something like:

sudo tune2fs -m 1 /dev/sdxx 
  • in the code above replace sdxx with the real name of your partition (you can know it, i.g. doing df -h), that is something like sdb8 or sdc6.
  • Be careful! Make sure that you have enough linux knowledge to do safely this kind of command. At your risk.

After your command, you should see that in that partition your user-available space is only 1gb less of the total space (that is 70 – 1). If your command would have been

sudo tune2fs -m 3 /dev/sdxx

Your user available space would be =70-3.

Kodi in openatv 7.6

Kodi working

Very painful to make it working. But something is being to become possible.

If Kodi, in you new OpenAtv installation (after restoring settings from another release) starts only from an external device (the device you used to restore settings and flash the new image) you can try to modify the kodi script in /usr/bin.

In this way:

you can reach your decoder from your PC via terminal, with something like

:~$ ssh root@sf8008.local 

if you have more than a partition on your decoder, you have to change your keys every time (each partition has its own keys), so you have to begin with:

:~$ ssh-keygen -R sf8008.local
# Host sf8008.local found: line 1
/home/[your-username]/.ssh/known_hosts updated.
Original contents retained as /home/[your-username]/.ssh/known_hosts.old
:~$ ssh root@sf8008.local
kf.notifications: Failed to play sound with canberra: File or data not found
Warning: Permanently added 'sf8008.local' (ED25519) to the list of known hosts.
root@sf8008:~# 

and then you can do
nano /usr/bin/kodi

find something like

[ -d /media/mmc ] && export HOME="/media/mmc"
[ -d /media/hdd ] && export HOME="/media/hdd"

and replace it with

ountpoint -q /media/hdd && export HOME="/media/hdd"
mountpoint -q /media/mmc && export HOME="/media/mmc"  


in my case, it did the trick.

Wrong zoom

To avoid a wrong zoom and a wrong position of the resized screen (with a black space on left and part of Kodi screen invisible, impossible to set/fix), avoid to start Kodi standalone (in Openatv – >plungis browser -> Kodi).

Fine tuning

However there were still big problems:

  • no way to reach a chapter and see that video normally (you can see a very slow video, almost still),
  • no way to resume a video from the last position,
  • no way to go forward or rewind (using the left right key).

Today I managed to resolve the first two ones:

  • settings – > player -> adjust display rate -> always
  • settings – > player -> sync playback -> on
  • settings – > player -> allow hardware acceleration – STB -> off

    as you can see in the screenshot below

Problems in OpenATV 7.6 can see found in their forum.

Kernel panic

You could have a kernel panic problem, booting your SO (.i.g Linux).

A possible cause could be Virtualbox (an old release of it).
In this case you can try the followings steps

sudo apt remove --purge virtualbox virtualbox-dkms
sudo dkms remove virtualbox/7.0.16 --all || true

and

sudo apt --fix-broken install
sudo dpkg --configure -a

and (you can change the number of kernels, of course, to adapt them to your situation)

sudo apt install --reinstall \
 linux-image-generic-hwe-24.04 \
 linux-headers-generic-hwe-24.04 

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.

Regex in Dolphin

With KRename in Dolphin you can use this code

_(\d{9})

so that you can replace

name_2025-12-07_075701289.avif

with -> name_2025-12-07.avif

Dolphin annoying tooltips

If can happen that using Dolphin (in Linux), if you have few files (to preview) or if the image has portrait rather than landscape format, you cannot see the file and select it, because in this way the tooltip cover the file, as you can see here below:

A workaround could be in Dolphin settings → configure Dolphin → view → miscellaneous – > deselect show item information.