We want each TROMjaro update to come with as little changes as possible. That would create a more stable and sane Operating System. Speaking of that, this update brings very few changes.
- We renamed a few custom actions in the File Manager. You know when you right click a folder/file or inside of a folder and get options such as “Open in terminal” and so forth. To change these open the File Manager, then go to Edit → Configure custom actions. And edit the name of any as you wish.
- We removed the global menu toggle script keybinding. Because we do not need that. Open “Keyboard” then go to Application Shortcuts to add/remove such shortcuts.
- We improved a bit the script that removes the zombie app icons - the icons of apps that were edited manually (renamed and such) and then uninstalled. Go to
.local/bin
and edit the filefix-tweaked-desktop-files
- replace all of what is there with:
#!/bin/bash
data="$HOME"/.local/share/applications/tweaked-desktop-files
detectfiles() {
for file in "$HOME"/.local/share/applications/*.desktop; do
[ -d "$file" ] || grep -xq "$file" "$data" && continue
name=$(basename "$file") || continue
[ -f /usr/share/applications/"$name" ] ||
ls /var/lib/flatpak/app/*/current/active/files/share/applications/"$name" >/dev/null 2>&1 ||
[ -f /var/lib/snapd/desktop/applications/"$name" ] &&
echo "$file" >> "$data"
done
}
fixfiles() {
lastmod=$(stat -c "%Y" "$data")
tmp="$(mktemp -u)"
[ -f "$data" ] && cp "$data" "$tmp" && copied='true'
[ "$copied" = 'true' ] && while IFS= read -r file; do
[ -f "$file" ] || { sed -i "/^$file$/d" "$tmp" ; continue; }
name=$(basename "$file") || continue
[ -f /usr/share/applications/"$name" ] ||
ls /var/lib/flatpak/app/*/current/active/files/share/applications/"$name" >/dev/null 2>&1 ||
[ -f /var/lib/snapd/desktop/applications/"$name" ] ||
mv "$file" "$file.bak"
done < "$data"
[ "$copied" = 'true' ] && [ "$(stat -c '%Y' "$data")" = "$lastmod" ] && mv "$tmp" "$data"
for bakfile in "$HOME"/.local/share/applications/*.desktop.bak; do
origfile="${bakfile/%.bak}"
[ -f "$origfile" ] && continue
name=$(basename "$origfile") || continue
[ -f /usr/share/applications/"$name" ] ||
ls /var/lib/flatpak/app/*/current/active/files/share/applications/"$name" >/dev/null 2>&1 ||
[ -f /var/lib/snapd/desktop/applications/"$name" ] &&
mv "$bakfile" "$origfile"
done
}
pidof -q -o %PPID -x fix-tweaked-desktop-files && exit
while :; do
local_new=$(ls -ad "$HOME"/.local/share/applications/*.desktop 2>/dev/null)
pacman_new=$(ls -ad /usr/share/applications/*.desktop 2>/dev/null)
flatpak_new=$(ls -ad /var/lib/flatpak/app/*/current/active/files/share/applications/*.desktop 2>/dev/null)
snap_new=$(ls -ad /var/lib/snapd/desktop/applications/*.desktop 2>/dev/null)
[ "$local_new" != "$local_old" ] && detectfiles
[ "$pacman_new" != "$pacman_old" ] ||
[ "$flatpak_new" != "$flatpak_old" ] ||
[ "$snap_new" != "$snap_old" ] && fixfiles
local_old=$local_new
pacman_old=$pacman_new
flatpak_old=$flatpak_new
snap_old=$snap_new
sleep 5
done
- We have removed the package
python2-bcrypt
that is not needed.
Grab it form here.