Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using Gentoo and Gnome Shell, and I have a very large monitor. Since space in the menu bar is not an issue, I would like the clock to read "Monday April 16, 12:04 AM" instead of "Mon Apr 16, 12:04 AM". In my opinion you'd ought to be able to change the clock format in the "Date and Time Settings" window, or at least using gsettings. That's not the case, though, as far as I can tell. I assume that all I have to do is change "%a %b %d, %I:%M %p" to "%A %B %d, %I:%M %p" in some file somewhere, but I can't find it. I've looked through my system for files that might be related to the Gnome Shell clock or localization settings, and spent a few hours Googling things, with no luck. I'd appreciate any information anyone has on how to change the clock, or on why it isn't as easy as it should be.
I haven't used these forums much, so please let me know if I've done anything incorrectly.
switch (format) {
case '24h':
if (showDate)
/* Translators: This is the time format with date used
in 24-hour mode. */
clockFormat = showSeconds ? _("%a %b %e, %R:%S")
: _("%a %b %e, %R");
else
/* Translators: This is the time format without date used
in 24-hour mode. */
clockFormat = showSeconds ? _("%a %R:%S")
: _("%a %R");
break;
case '12h':
The line you modify depends on what options you want.
I modified the time with date but no seconds in 24 hour mode.
It may just be my machine, but it took a loooong time for the shell to restart using Alt+F3 and r
switch (format) {
case '24h':
if (showDate)
/* Translators: This is the time format with date used
in 24-hour mode. */
clockFormat = showSeconds ? _("%a %b %e, %R:%S")
: _("%a %b %e, %R");
else
/* Translators: This is the time format without date used
in 24-hour mode. */
clockFormat = showSeconds ? _("%a %R:%S")
: _("%a %R");
break;
case '12h':
The line you modify depends on what options you want.
I modified the time with date but no seconds in 24 hour mode.
It may just be my machine, but it took a loooong time for the shell to restart using Alt+F3 and r
It took about 30 seconds
That did it! I had found that folder, but I overlooked dateMenu.js. My shell restarted without an unusual delay.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.