Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
10-28-2019, 12:18 PM
|
#31
|
LQ Veteran
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.5
Posts: 5,826
|
Yup. The clock is changed to "Mon Oct 28 09:03:28" on the MATE panel
Quote:
Originally Posted by linustalman
Thanks. Alas, 'clock' does not show anywhere for me.
|
No. Not at that level. What do you see for org.mate.panel ? You have to drill down from there
Did you try the dconf list command?
Code:
[scasey@localhost ~]$ dconf list /org/mate/panel/
general/
toplevels/
objects/
[scasey@localhost ~]$ dconf list /org/mate/panel/objects/
workspace-switcher/
clock/
menu-bar/
file-browser/
window-list/
notification-area/
show-desktop/
object-0/
web-browser/
terminal/
[scasey@localhost ~]$ dconf list /org/mate/panel/objects/clock/
applet-iid
locked
toplevel-id
position
object-type
panel-right-stick
prefs/
[scasey@localhost ~]$ dconf list /org/mate/panel/objects/clock/prefs/
temperature-unit
format
cities
custom-format
show-seconds
#
dconf read /org/mate/panel/objects/clock/prefs/custom-format
I don't think the DIR and KEY are actual paths on the filesystem. See man dconf
They certainly don't exist on mine. dconf is needed to find and use them.
|
|
|
10-28-2019, 01:12 PM
|
#32
|
LQ Guru
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,849
Original Poster
|
Code:
dconf list /org/mate/panel/objects/
Code:
object-2/
notification-area/
object-1/
object-10/
object-0/
object-3/
I wonder if I just need to run this now?
Last edited by linustalman; 10-28-2019 at 01:15 PM.
|
|
|
10-28-2019, 01:43 PM
|
#33
|
LQ Veteran
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.5
Posts: 5,826
|
Quote:
Originally Posted by linustalman
Code:
dconf list /org/mate/panel/objects/
Code:
object-2/
notification-area/
object-1/
object-10/
object-0/
object-3/
I wonder if I just need to run this now?
|
I have no idea. I'd never heard of dconf until this thread...shades of the Windows Registry...
The trailing slashes means there's more contained in each of those DIRs. Keep drilling down.
|
|
|
10-28-2019, 03:12 PM
|
#34
|
LQ Guru
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,849
Original Poster
|
I tried the xfce4-panel package in MATE -- the clock with seconds moves on that also. What the hell?
|
|
|
10-28-2019, 03:39 PM
|
#35
|
LQ Veteran
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.5
Posts: 5,826
|
Quote:
Originally Posted by linustalman
I tried the xfce4-panel package in MATE -- the clock with seconds moves on that also. What the hell?
|
I still think that's because of the variable-width font, as ondoho suggested way back.
I have no idea where that's set or how to change it, but it's apparently "systemic" on your 'puter, so that no matter what you use, you'll see that. I don't, but the font there appears to be fixed-width on my box.
|
|
|
10-28-2019, 03:39 PM
|
#36
|
LQ Guru
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,849
Original Poster
|
In 'Appearance Preferences' >> Font tab >> Changing the 'Application Font' to something else stops the clock from moving.
I just wish I could have the date show before the month.
|
|
1 members found this post helpful.
|
10-28-2019, 04:20 PM
|
#37
|
LQ Veteran
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.5
Posts: 5,826
|
Quote:
Originally Posted by linustalman
In 'Appearance Preferences' >> Font tab >> Changing the 'Application Font' to something else stops the clock from moving.
I just wish I could have the date show before the month.
|
So it was the font setting...+1 for ondoho!
You just need to keep looking with dconf for the place the custom format is stored and change it. When I found it on my system, it was just '' before I changed it, so you may have to experiment some.
I was just looking at the graphical program. Much easier to use than the command line. Still reeks of the Registry, tho.
|
|
|
10-28-2019, 04:31 PM
|
#38
|
LQ Guru
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,849
Original Poster
|
Quote:
Originally Posted by scasey
So it was the font setting...+1 for ondoho!
You just need to keep looking with dconf for the place the custom format is stored and change it. When I found it on my system, it was just '' before I changed it, so you may have to experiment some.
I was just looking at the graphical program. Much easier to use than the command line. Still reeks of the Registry, tho.
|
Kudos to ondoho.
|
|
|
10-28-2019, 06:53 PM
|
#39
|
LQ Veteran
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.5
Posts: 5,826
|
Quote:
Originally Posted by linustalman
Kudos to ondoho.
|
You could use the instructions in my sig to acknowledge his posts in #8 and #11 where he suggested using a monospaced font.
And you could use the thread tools to mark the thread SOLVED, if you think it is solved.
|
|
|
10-30-2019, 03:07 AM
|
#40
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by linustalman
In 'Appearance Preferences' >> Font tab >> Changing the 'Application Font' to something else stops the clock from moving.
|
Doesn't that change the font for the whole system??? Probably not what you wanted.
Quote:
Originally Posted by linustalman
I tried the xfce4-panel package in MATE -- the clock with seconds moves on that also. What the hell?
|
Now I remembered something - in xfce-panel's clock you can use pango markup to style the text clock.
Maybe in MATE-panel, too?
try this:
Code:
<span font="monospace">%a %b %e %H:%M:%S</span>
|
|
|
10-30-2019, 07:48 PM
|
#41
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
This *may* help you, when modified for your system.
On my Mint 19.2 MATE system, I make my clock larger and bolder using the following technique:
Code:
mkdir -p ~/.themes/Mint-X/gtk-3.0
xed ~/.themes/Mint-X/gtk-3.0/gtk.css
@import url("/usr/share/themes/Mint-X/gtk-3.0/gtk.css");
#clock-applet-button {
font-size: 140%;
font-weight: bold;
}
This is of course theme-dependent. You could try something similar with the theme that you are using but using a font-family CSS attribute to select a monospaced font.
Run sudo pkill mate-panel to immediately update the panel when you have made modifications to the theme file in question.
|
|
1 members found this post helpful.
|
10-31-2019, 01:43 AM
|
#42
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by hydrurga
Code:
mkdir -p ~/.themes/Mint-X/gtk-3.0
xed ~/.themes/Mint-X/gtk-3.0/gtk.css
@import url("/usr/share/themes/Mint-X/gtk-3.0/gtk.css");
#clock-applet-button {
font-size: 140%;
font-weight: bold;
}
This is of course theme-dependent.
|
I bet you could make that theme independent by adding it to ~/.config/gtk-3.0/gtk.css instead, that is just these lines:
Code:
#clock-applet-button {
font-size: 140%;
font-weight: bold;
}
Quote:
Run sudo pkill mate-panel to immediately update the panel when you have made modifications to the theme file in question.
|
There shouldn't be any need for superuser privileges here. Don't sudo when you don't have to.
|
|
|
10-31-2019, 12:48 PM
|
#43
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Quote:
Originally Posted by ondoho
There shouldn't be any need for superuser privileges here. Don't sudo when you don't have to.
|
Good shout.
|
|
|
11-02-2019, 06:22 AM
|
#44
|
LQ Guru
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,849
Original Poster
|
Quote:
Originally Posted by scasey
You could use the instructions in my sig to acknowledge his posts in #8 and #11 where he suggested using a monospaced font.
And you could use the thread tools to mark the thread SOLVED, if you think it is solved.
|
Done on both.
I will see if I can just change the clock font only and keep the system font as default before marking as solved.
|
|
|
11-02-2019, 07:16 AM
|
#45
|
LQ Guru
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,849
Original Poster
|
Quote:
Originally Posted by ondoho
I bet you could make that theme independent by adding it to ~/.config/gtk-3.0/gtk.css instead, that is just these lines:
Code:
#clock-applet-button {
font-size: 140%;
font-weight: bold;
}
There shouldn't be any need for superuser privileges here. Don't sudo when you don't have to.
|
Hi ondoho. I tried that. I love the larger bold font in the panel. However, the clock is moving again (I reloaded the MATE panel).
|
|
|
All times are GMT -5. The time now is 02:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|