I used to have >180k points in internet magical points called karma.
I think I figured it out, I created a .xprofile
file and moved all the env stuff there:
➤ cat .xprofile
source ~/.config/i3/scripts/qt6ct.sh
export QT_SCREEN_SCALE_FACTORS=1.45 # 1.5
export QT_AUTO_SCREEN_SCALE_FACTOR=0 # 0
Now dolphin uses breeze themes, thunar uses its gtk version and also found out about how to fix the zoom issue (it was supposed to be another different battle but seems like they have more in common than what I thought!)
Thank you so much for helping me all the way here!! :)
There’s a couple of stuff to be fixed: screenshot
Which means that in Plasma QT_QPA_PLATFORMTHEME
is still read as qt5ct
:(
remove everything from .xprofile except sourcing the script:
#!/bin/bash
CURRENT_DESKTOP=$(echo "$XDG_CURRENT_DESKTOP")
if [[ "$CURRENT_DESKTOP" = "i3" ]]; then
export QT_QPA_PLATFORMTHEME="qt5ct"
export QT_SCREEN_SCALE_FACTORS=1.5 # 1.5
export QT_AUTO_SCREEN_SCALE_FACTOR=0
elif [[ "$CURRENT_DESKTOP" = "KDE" ]]; then
unset QT_QPA_PLATFORMTHEME
export QT_AUTO_SCREEN_SCALE_FACTOR=1
else
echo "Gestor de ventanas no es i3 ni kwin: $CURRENT_DESKTOP"
fi
echo $CURRENT_DESKTOP
echo $QT_QPA_PLATFORMTHEME
echo $QT_AUTO_SCREEN_SCALE_FACTOR
Ok, something happened: adding it to .bash_profile
did change QT_QPA_PLATFORMTHEME
on i3 (whoohooo \o/), BUT it also did on plasma (ouch 😢), so the script for some reason is not returning what is supposed to.
LOL you’re right! Yet, I am still getting no better result when changing it:
➤ ~/.config/i3/scripts/qt6ct.sh
i3
qt5ct
➤ echo "$QT_QPA_PLATFORMTHEME"
➤ ~/.config/i3/scripts/qt6ct.sh
i3
qt5ct
➤ source ~/.config/i3/scripts/qt6ct.sh
i3
qt5ct
➤ echo "$QT_QPA_PLATFORMTHEME"
qt5ct
Ok, here are very interesting things:
source ~/.config/i3/scripts/qt6ct.sh
at .profile
, and logout. When I logged in, nothing has changed. I don’t know why, since when I manually run it, it apparently changes the value of QT_QPA_PLATFORMTHEME
.qt5ct
or run rofi --show -drun
and then select the qt5ct app, then it works just fine. The same happens with dolphin: if I run it from rofi, then it looks awful, but if I run it from the terminal, it looks great. BUT if I close the terminal and open it again, everything goes back to normal (meaning: awful).After including source ~/.config/i3/scripts/qt6ct.sh
to /etc/environment
and rebooting to see if anything changed: nope. No changes, the problem persists.
It worked!! Is there any way to solve this issue without depending on Kwallet? I’ll investigate for lightweight alternatives :)
I see!
I included it into the i3 config file (I saw that it was set up to execute gnome-toolkit (which isn’t installed)), but after changing it to KDE’s, it gets initialized when logging in, but it doesn’t seem to affect Workbench
I believe the only thing missing to getting SQL Workbench working is by having your authorization agent of choice launched in your i3 .xinitrc file
Hi again! Thanks for replying! I don’t know what do you mean and how to do this, would you like to help me with that?
Hi! Thanks for replying!
After logging on i3, htop
shows me that I have a process called /usr/lib/polkit-1/polkitd --no-debug
. I checked with polkit-kde-agent
by running /usr/lib/polkit-kde-authentication-agent-1 &
. I started MySQL with the same previous command (sudo systemctl start mysql.service && sudo mysql -u root -p -h localhost -P 3306
) and checked the databases (SHOW DATABASES;
), which worked: it shows the database with its schemas; but when I open Workbench again, it shows the same error message; so, from what you said above, it sounds more like a Workbench DBus issue (although I have no idea about DBus haha)
Thanks for replying! I have checked the autostart processes related to network and I got no different result. I will continue to check all of them though.
Why do you think that Nextcloud is not a good backup solution?
Thank you so much for such a complete answer!! I think I’ll give a try! BTW, why using Synching for different devices but not different computers?
Thanks, I’ll give a try! I was thinking maybe I could use both: syncthing for devices and nexcloud to have a backup
Thanks!
Hi! I am also looking for an alternative to Google Docs more oriented to LibreOffice. You said you tried Collabora for ARM64 on Nextcloud, Docker or both?
I’ll investigate it, thanks!
Wow! Thank you so much for such complete answer, although I don’t want to cheat, I just don’t want to feel abused when doing my exams. And TBH, I really appreciate all the effort you made to reply me, I love it, but I can’t afford risking they recognizing the virtual machine, even when it’s by far the best choice IMO.