You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
People have wondered whether we can get a Platinum-like theme to work on helloSystem.
The following is a quick writeup, mainly for my future self, but maybe it can get you started if you want to experiment with this sort of thing:
# Install QtCurve
qt5-style-qtcurve
# It may be possible to get Gtk2 and maybe Gtk3 applications
# to look somewhat consistent using
# gtk2-qtcurve-theme
# https://github.com/QtCurve/qtcurve-gtk3
# https://igurublog.wordpress.com/2012/11/05/gnome-et-al-rotting-in-threes/
# Needed for global menus to work
export QT_QPA_PLATFORMTHEME=panda
# Use QtCurve
export QT_STYLE_OVERRIDE=QtCurve
# Set a QtCurve theme
export QTCURVE_CONFIG_FILE=/home/user/Downloads/QPlatinum/QPlatinum2.qtcurve
# Unpack the QPlatinum folder from QPlatinum_2.0.tar.gz from https://www.opendesktop.org/p/1287743
# Get the icons and the fonts
cd /tmp
git clone https://github.com/grassmunk/Platinum9
sudo mv Platinum9/NineIcons /usr/local/share/icons/
sudo ln -sf /usr/local/share/icons/NineIcons /usr/local/share/icons/default
sudo mv Platinum9/MONACO.TTF Platinum9/Charcoal.ttf /usr/local/share/fonts/
# Disable our stylesheet
sudo mv /usr/local/etc/xdg/stylesheet.qss /usr/local/etc/xdg/stylesheet.qss.disabled
# Need to set the fonts somewhere (Need to make it configurable via an env in QtPlugin?)
Currently the system font is hardcoded in QtPlugin; I had to change it to Charcoal there. Maybe we should make it use an environment variable or only set it when the current style is Panda or something like that.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
People have wondered whether we can get a Platinum-like theme to work on helloSystem.
The following is a quick writeup, mainly for my future self, but maybe it can get you started if you want to experiment with this sort of thing:
From there, follow https://www.opencode.net/zinjanthr0pus/qplatinum to make it look even better.
Currently the system font is hardcoded in QtPlugin; I had to change it to
Charcoal
there. Maybe we should make it use an environment variable or only set it when the current style is Panda or something like that.Beta Was this translation helpful? Give feedback.
All reactions