Open e-y-e opened 7 years ago
Isn't that a bug with the Breeze theme and better to be filed at KDE, not here?
I have no idea, as I said above though, this occurs on all the SDDM themes.
So when I run sddm-greeter --theme /usr/share/sddm/themes/breeze
the font is handled correctly. However when SDDM runs from the daemon or via systemctl start sddm.service
the issue remains.
Hi,
I have the same issue, but only for the "login failed" message, not for the wole interface (for example, the top part of breeze theme, with the datetime, don't use monospaced font).
Have the same issue on archlinux, only the font is different: Free Mono. However on the Tumbleweed it works fine.
@efermi does running sddm-greeter --theme /usr/share/sddm/themes/breeze
Give the correct font?
@e-y-e sddm-greeter --theme /usr/share/sddm/themes/breeze does, but I think sddm ist started by systemd as root, so sddm takes the default root font I guess... cheers
sddm-greeter --theme /usr/share/sddm/themes/breeze/theme.conf with custom font sudo sddm-greeter --theme /usr/share/sddm/themes/breeze/theme.conf without copying ~.config/kdeglobals to /root didnt work :)
copying ~.config/kdeglobals to /root
What exactly do you mean? What file has to be created and where? Copying to /root/.config/kdeglobals
doesn't make sudo sddm-greeter --theme /usr/share/sddm/themes/breeze
work for me.
Thanks for the activity by the way, would be nice to at least find a workaround for this issue.
I am sorry for my unstable syntax...
...it was my last post before I felt to bed.
So I've tried to copy ~/.config/kdeglobals
to /root/.config
but it didn't work out.
I also tried to log into plasma as root to generate all
plasma-relevant config-files within root-home.
Logged in as root I changed the font settings and theme via
systemsettings5
. The only effect was that now
sudo sddm-greeter --theme /usr/share/sddm/themes/breeze
uses breeze-dark instead of breeze-theme for textfields.
But sddm.service still didn't change.
Finally I've tried to copy /root/.config
recursivly to
/var/lib/sddm
(sddm-home) and chowned it to sddm.
The only effect was that sddm.service textfields
changed from breeze to breeze-dark.
Maybe one could try to add something like
timeFont.family: "Oxygen"
to /usr/share/sddm/themes/breeze/Main.qml
like the maldives-theme does.
I have to read into qml reference again...
Try define a default fallback substitution font in /etc
. This worked on Archlinux (fontconfig configuration), SDDM stopped using a monospace font.
In /etc/fonts/local.conf
:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- Generic name aliasing -->
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Noto Serif</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Noto Mono</family>
</prefer>
</alias>
<dir>~/.fonts</dir>
</fontconfig>
i.e: Fallback to Noto Sans/Serif/Mono, for sans-serif, serif and monospace. Good luck!
Also: http://eosrei.net/articles/2016/02/changing-default-fallback-subsitution-fonts-linux
If anyone wants to customise the font used in the login screen, without having to change the global font or messing with fallbacks, I've made a version of Breeze allowing font customisation (just edit theme.conf
!).
If anyone wants to customise the font used in the login screen, without having to change the global font or messing with fallbacks, I've made a version of Breeze allowing font customisation (just edit
theme.conf
!).
I tried your theme but the font change doesn't seem to work. I wish the lock screen and sddm screen were interchangeable. Biggest frustration with plasma so far...
I tried your theme but the font change doesn't seem to work. I wish the lock screen and sddm screen were interchangeable. Biggest frustration with plasma so far...
@b15hop Can you open an Issue in that repository? Describe your current setup and the version of plasma you are using so we can track your problem down
I tried your theme but the font change doesn't seem to work. I wish the lock screen and sddm screen were interchangeable. Biggest frustration with plasma so far...
@b15hop Can you open an Issue in that repository? Describe your current setup and the version of plasma you are using so we can track your problem down
I used the trick above with: /etc/fonts/local.conf and copied & pasted, then modified the file accordingly. Fixed the problem for now. Though I still wish SDDM and the screen locker were the same.
Edit: I tried to post a video of the login but it's failing me. SDDM Video login with custom font
After installing a clean install of plasma 5.8 with SDDM the login greeter has a monospaced font that looks somewhat like Hack or Clean. However, the font should follow the default font chosen for KDE (Noto Sans in most cases) as the lock screen does.
This occurs on all the SDDM themes.
System information:
Distro:
Parabola GNU/Linux
KDE Plasma version:
5.8.0-1
SDDM version:0.14.0-2