Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-01-18 04:16:18

NerdKid50
Member
Registered: 2021-12-11
Posts: 14

Trouble changing font on lock screen

Xfce 4.16
Arch Linux

Hello, how would I go about changing the font on the default xfce lock screen? I can't find any configs for it.

Offline

#2 2022-01-18 06:02:34

KBar
Moderator
Registered: 2021-11-05
Posts: 448

Re: Trouble changing font on lock screen

Lock screen uses LightDM's default configuration, so you probably need to modify that. There is an app just for that called LightDM GTK+ Greeter: settings. Try that and come back if it doesn't solve it.


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#3 2022-01-18 06:29:38

NerdKid50
Member
Registered: 2021-12-11
Posts: 14

Re: Trouble changing font on lock screen

I have tried lightdm-gtk-greeter-settings. This work for log in, but does not for the lock screen.

Offline

#4 2022-01-18 09:03:43

KBar
Moderator
Registered: 2021-11-05
Posts: 448

Re: Trouble changing font on lock screen

I don't use lock screen but I've searched through the code and found this ruleset. Example code tested on Xubuntu jammy-devel:

#login_window.keycap {
  font: bold 16px "Ubuntu"; 
}

Append it to your $HOME/.config/gtk-3.0/gtk.css file. Create the file if it doesn't exist yet.

GTK documentation on CSS font properties


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#5 2022-01-18 19:18:34

NerdKid50
Member
Registered: 2021-12-11
Posts: 14

Re: Trouble changing font on lock screen

Yep this did the trick, thanks KBar.

Offline

Board footer

Powered by FluxBB