TROMjaro Beta 2021.12.17
Another release, a quick one for that matter, to bring you the latest Manjaro Updates + some awesome fixes.
Making dealing with themes, awesome!
- We are happy to let you know that the way we handle the themes in TROMjaro has been improved. And it is better than Pop OS, Ubuntu, Budgie, KDE Plasma, and for that matter most such distros. You only have to change the theme from Appearance and that’s it. Read more about why this is so awesome, here: Dealing with themes (change them, understand them).
Ok, so for the current TROMjaro users you have to do a few things to make your TROMjaro awesome when it comes to dealing with the themes.
- Delete two packages that are not needed anymore:
kvantum-qt5
andkvantum-theme-vimix-git
. - Go to your home folder and edit the file
.profile
. Remove the lineexport QT_STYLE_OVERRIDE="kvantum-dark"
- Go to your System Files and in the folder
etc
you’ll find a file calledenvironment
. Remove the following lines from it by editing it as ROOT - right click for that option:
<pre><code class="lang-auto">QT_QPA_PLATFORMTHEME="gnome"
QT_STYLE_OVERRIDE="kvantum"
</code></pre>
- Reboot your computer.
- Open the QT Settings. See the video bellow and make the changes similarly (pause the video if needed):
/uploads/default/original/1X/7ff4438bb0ffe044b91b086a4a25da3b62dd90b4.mp4
That’s all! Now installing and dealing with themes is a breeze! Read the above article I linked to!
SMPlayer improved a bit!
Our default “Play” player got some tweaks, such as hardware acceleration and such. This can make a huge difference. Again, see the bellow video and try to make your player have similar settings, especially for the Performance tab:
/uploads/default/original/1X/b5df689f115db573e53ec68eaf95660eaaa590af.mp4
Update the zombie-apps script:
Last time we pushed a release we did not update this script. It was a mistake…so we are fixing it now. This is a 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 file fix-tweaked-desktop-files
- replace all of what is there with:
<pre><code class="lang-auto">#!/bin/bash
pidof -sq -o %PPID -x "$(basename "$0")" && exit
data="$HOME"/.local/share/applications/tweaked-desktop-files
# Directories where desktop files are stored
user="$HOME"/.local/share/applications
flatpak_local="$HOME"/.local/share/flatpak/exports/share/applications
flatpak_global=/var/lib/flatpak/exports/share/applications
pacman_local=/usr/local/share/applications
pacman_global=/usr/share/applications
snap=/var/lib/snapd/desktop/applications
detectfiles() {
for file in "$user"/*.desktop; do
name=$(basename "$file") || continue
[ -d "$file" ] || grep -xq "\(flatpak-local\|flatpak-global\|pacman-local\|pacman-global\|snap\)/$name" "$data" && continue
if [ -f "$flatpak_local/$name" ]; then
echo "flatpak-local/$name" >> "$data"
elif [ -f "$flatpak_global/$name" ]; then
echo "flatpak-global/$name" >> "$data"
elif [ -f "$pacman_local/$name" ]; then
echo "pacman-local/$name" >> "$data"
elif [ -f "$pacman_global/$name" ]; then
echo "pacman-global/$name" >> "$data"
elif [ -f "$snap/$name" ]; then
echo "snap/$name" >> "$data"
fi
done
}
fixfiles() {
lastmod=$(stat -c "%Y" "$data")
tmp="$(mktemp)"
trap 'rm $tmp' EXIT
[ -f "$data" ] && cp "$data" "$tmp" && copied='true'
lineno=0
[ "$copied" = 'true' ] && while IFS= read -r line; do
((lineno++))
name=${line#*/}
file="$user/$name"
# shellcheck disable=2015 # To disable shellcheck error here, line below is intended to work this way
echo "$line" | grep -xq '\(flatpak-local\|flatpak-global\|pacman-local\|pacman-global\|snap\)/.\+' && [ -f "$file" ] || { sed -i "${lineno}d" "$tmp" && ((lineno--)) ; continue; }
[ -f "$flatpak_local/$name" ] ||
[ -f "$flatpak_global/$name" ] ||
[ -f "$pacman_local/$name" ] ||
[ -f "$pacman_global/$name" ] ||
[ -f "$snap/$name" ] ||
mv "$file" "$file.bak"
done < "$data"
[ "$copied" = 'true' ] && [ "$(stat -c '%Y' "$data")" = "$lastmod" ] && sort "$tmp" | uniq > "$data"
for bakfile in "$user"/*.desktop.bak; do
origfile="${bakfile%.bak}"
[ -f "$origfile" ] && continue
name=$(basename "$origfile") || continue
[ -f "$flatpak_local/$name" ] ||
[ -f "$flatpak_global/$name" ] ||
[ -f "$pacman_local/$name" ] ||
[ -f "$pacman_global/$name" ] ||
[ -f "$snap/$name" ] &&
mv "$bakfile" "$origfile"
done
}
while :; do
user_new=$(ls -ad "$user"/*.desktop 2>/dev/null)
flatpak_local_new=$(ls -ad "$flatpak_local"/*.desktop 2>/dev/null)
flatpak_global_new=$(ls -ad "$flatpak_global"/*.desktop 2>/dev/null)
pacman_local_new=$(ls -ad "$pacman_local"/*.desktop 2>/dev/null)
pacman_global_new=$(ls -ad "$pacman_global"/*.desktop 2>/dev/null)
snap_new=$(ls -ad "$snap"/*.desktop 2>/dev/null)
[ "$user_new" != "$user_old" ] && detectfiles
[ "$flatpak_local_new" != "$flatpak_local_old" ] ||
[ "$flatpak_global_new" != "$flatpak_global_old" ] ||
[ "$pacman_local_new" != "$pacman_local_old" ] ||
[ "$pacman_global_new" != "$pacman_global_old" ] ||
[ "$snap_new" != "$snap_old" ] && fixfiles
user_old=$user_new
flatpak_local_old=$flatpak_local_new
flatpak_global_old=$flatpak_global_new
pacman_local_old=$pacman_local_new
pacman_global_old=$pacman_global_new
snap_old=$snap_new
sleep 5
done
</code></pre>
We also did a few minor changes such as muting the mic by default, unhide several tray icons that are important to be visible such as the VPN or the updates icon.
That’s all.
This month we plan to get TROMjaro our of Beta, since it is stable and awesome enough!
Grab the ISOs form here.
1 post - 1 participant
Read full topic
like this
Rokosun and Letheposting like this.
Rokosun reshared this.