Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-02-08 00:36:18

Lar
Member
Registered: 2022-02-08
Posts: 4

Is it possible to change the time format on the xfce lockscreen?

Hello I was wondering if you could change the time on the xfce lockscreen (xflock4) to 12hr format? everything else on my system is in 12hr format but that. I tried looking everywhere but I can seem to find where I could change this? Is it just not possible?

Offline

#2 2022-02-08 02:12:22

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

Re: Is it possible to change the time format on the xfce lockscreen?

Hi and welcome to our forum.

I think you might want to apply your locale settings system-wide. On Xubuntu, there is an app named Language Support, can be launched from the terminal with gnome-language-selector.

Perhaps you could tell more about your system?


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-02-08 10:38:16

Lar
Member
Registered: 2022-02-08
Posts: 4

Re: Is it possible to change the time format on the xfce lockscreen?

KBar wrote:

Hi and welcome to our forum.

I think you might want to apply your locale settings system-wide. On Xubuntu, there is an app named Language Support, can be launched from the terminal with gnome-language-selector.

Perhaps you could tell more about your system?

When I check my /etc/locale.conf everything is set to "en_US.UTF-8" so I dont think its that. Im running endeavourOS.

Offline

#4 2022-02-08 15:52:31

Lar
Member
Registered: 2022-02-08
Posts: 4

Re: Is it possible to change the time format on the xfce lockscreen?

I installed Xubuntu on a virtual machine and its the same case on that distro as well the lockscreen time wont change from a 24 hour format which makes me think it just cant be changed or something?

Offline

#5 2022-02-08 17:44:15

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 9,528

Re: Is it possible to change the time format on the xfce lockscreen?

If xfce4-screensaver is the screensaver that you are using, then yes, it is hard coded.

Edit: Also there is this bug report.

Last edited by ToZ (2022-02-08 17:46:25)

Offline

#6 2022-02-08 17:47:32

Lar
Member
Registered: 2022-02-08
Posts: 4

Re: Is it possible to change the time format on the xfce lockscreen?

Oh okay, thats fine was just wondering if it was possible I can live with it haha. ty for the response smile
EDIT: I ended up patching it and its working now, was quite easy since you guys pointed me in the right direction! big_smile

Last edited by Lar (2022-02-08 20:38:01)

Offline

#7 2022-05-04 16:14:48

gabor
Member
Registered: 2022-05-04
Posts: 1

Re: Is it possible to change the time format on the xfce lockscreen?

I noticed my Manjaro respects the lightdm-gtk-greeter settings on lockscreen, so I figured it out on my Arch.

installed `light-locker`
removed xfce4-screensaver package
run this: xfconf-query -c xfce4-session -p /general/LockCommand -s "light-locker-command --lock" --create -t string
restart: lightdm


and tadam, my lockscreen background, panel and theme, everything is the same as the greeter.

Last edited by gabor (2022-05-04 16:24:45)

Offline

Board footer

Powered by FluxBB