LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-28-2019, 12:18 PM   #31
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.5
Posts: 5,826

Rep: Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251

Yup. The clock is changed to "Mon Oct 28 09:03:28" on the MATE panel

Quote:
Originally Posted by linustalman View Post
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.
 
Old 10-28-2019, 01:12 PM   #32
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,849

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
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?

Code:
dconf reset -f /

Last edited by linustalman; 10-28-2019 at 01:15 PM.
 
Old 10-28-2019, 01:43 PM   #33
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.5
Posts: 5,826

Rep: Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251
Quote:
Originally Posted by linustalman View Post
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?

Code:
dconf reset -f /
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.
 
Old 10-28-2019, 03:12 PM   #34
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,849

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
I tried the xfce4-panel package in MATE -- the clock with seconds moves on that also. What the hell?
 
Old 10-28-2019, 03:39 PM   #35
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.5
Posts: 5,826

Rep: Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251
Quote:
Originally Posted by linustalman View Post
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.
 
Old 10-28-2019, 03:39 PM   #36
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,849

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Lightbulb

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.
Old 10-28-2019, 04:20 PM   #37
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.5
Posts: 5,826

Rep: Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251
Quote:
Originally Posted by linustalman View Post
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.
 
Old 10-28-2019, 04:31 PM   #38
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,849

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by scasey View Post
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.
 
Old 10-28-2019, 06:53 PM   #39
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.5
Posts: 5,826

Rep: Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251
Quote:
Originally Posted by linustalman View Post
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.
 
Old 10-30-2019, 03:07 AM   #40
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by linustalman View Post
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 View Post
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>
 
Old 10-30-2019, 07:48 PM   #41
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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.
Old 10-31-2019, 01:43 AM   #42
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by hydrurga View Post
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.
 
Old 10-31-2019, 12:48 PM   #43
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by ondoho View Post
There shouldn't be any need for superuser privileges here. Don't sudo when you don't have to.
Good shout.
 
Old 11-02-2019, 06:22 AM   #44
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,849

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Post

Quote:
Originally Posted by scasey View Post
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.
 
Old 11-02-2019, 07:16 AM   #45
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,849

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Exclamation

Quote:
Originally Posted by ondoho View Post
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).
 
  


Reply

Tags
clock, mate, moving, panel, seconds


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Plasma panel items moved, can't move them back L_Carver Linux Mint 3 12-30-2016 08:21 PM
[SOLVED] Solus - possible to move panel to bottom and single click to open items? linustalman Linux - Distributions 6 03-04-2016 03:15 PM
LXer: Ubuntu MATE 15.04 Arrives With MATE Desktop 1.8.2 and MATE Tweak LXer Syndicated Linux News 0 05-15-2015 10:30 AM
[SOLVED] "No system tray detected on this system" error on MATE desktop after nvidia graphics upgrade. lensilvan Slackware 14 07-24-2014 12:36 AM
Things for KDE system tray in gnome system tray Boffy Linux - General 3 09-17-2004 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration