I would like to change the JWM tray clock (minixcal) fonts but without changing the puppy fonts globally or the JWM fonts globally.
So the, previously reported in other similar questions, changes through the global font size and JWM font size, are out. I would like just the minixcal's fonts changed.

I could not find anything in the forum and looking at the minixcal-1.1 code I could not see any gtk get_font call. Only a get_style call which I assume it inherits the GtkWidget settings ie the global settings.

Do I miss something? Is it possible to change minixcal's fonts only without affecting other fonts or minixcal needs a rewrite to support this?

Thx

PS: I do not really care about any other tray clock that may be capable of that..._________________Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Last edited by mavrothal on Fri 16 Nov 2012, 14:15; edited 2 times in total

I would like to change the JWM tray clock (minixcal) fonts but without changing the puppy fonts globally or the JWM fonts globally.
So the, previously reported in other similar questions, changes through the global font size and JWM font size, are out. I would like just the minixcal's fonts changed.

Thank you ETP,
PupClockset is a very nice app, but as I said originally I do not want to replace minixcal with some other clock.
As far as I remember this is what PupClockset does in JWM, replaces "minixcal" in /root/.jwmrc-tray with "PupClockset"._________________Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too

I made my adjustments at /root/.jwm/jwmrc-theme as in the screen shot, though I'm not at all sure if this is what you mean.

Thank you Jasper.
I believe that this affects the entire tray, not just the clock.
What I would like is to have all fonts at puppy-default and just the clock fonts to be of different type and/or size. ie a minixcal-specific change._________________Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too

Just to clarify this issue PupClockset only changes the font on the clock which I have just cranked up to 18 point.
jwmrc-theme then shows 18 in the ClockStyle section at the bottom: (no other fonts are changed)

I'm sure you are right, except I think mavrothal is saying that
minixcal no longer works and I vaguely recollect that's why I
made my manual adjustment (so I could still click the clock).

My regards

Hi jasper,

You make a valid point. A possible alternative is a symlink in startup to usr/bin/osmo with run minimised selected in OSMO.
Mavrothal now has more options than he can shake a stick at, as he can click the "little man".

First, to avoid confusion, understand that minixcal is not the JWM tray clock. The JMW tray clock is provided by JWM itself. minixcal is simply the command that is run when a user clicks on the tray clock -- the miniature calendar.

As mavrothal and Jasper have correctly pointed out, one side-effect of running PupClockset is that it replaces minixcal with itself as the command to run when the clock is clicked.

ETP has made the good suggestion of having Osmo automatically added to the tray when X starts, so a user can quickly access its calendar.

But if you prefer the little minixcal calendar, PopClockset 1.9.2 can be cured of its self-absorption by running the following command:

Code:

sed -e "s/>PupClockset</>minixcal</g" -i /usr/local/PupClockset/func

You may, of course, want to first make a backup of /usr/local/PupClockset/func just in case something goes amiss.

After executing that command, run PupClockset and click the Set button. PupClockset will restart JWM and you should now be able to access minixcal again by clicking on the tray clock. (And you can still access PupClockset from Menu -> Desktop -> PupClockset manager, or from a command line.)

This works with JWM and PopClockset 1.9.2. It won't work with other window managers and I make no guarantees about other versions of PupClockset.

Of course, if all you really need to do is to change the font, and don't need any of the other benefits of PupClockset, the simple solution provided by 01micko is your best bet.

Normally, that would be the /root/.gtkrc-2.0 file. But if you ever use the dictatorial theme changers included with some Puppies, you may find that the theme changer has claimed the file for its own use, and put up "no trespassing" signs, such as THEME AUTO-WRITTEN DO NOT EDIT.

In that case, you can still use that file, but be aware that if you ever use the theme changer again it will evict your changes.

You are better off using the file that the theme changer has dictated that you must use.

What file is that? Look in /root/.gtkrc-2.0 for a line like include "/root/.gtkrc.mine" or include "/root/.gtkrc-2.0.mine". That is the file you should use. It may not exist yet: create it.

One side-effect of adding those two lines is that any GTK+ application (not just minixcal) that happens to use a GtkCalendar widget inside of a GtkVBox widget inside of a top-level window will also use that font for its calendar. I don't happen to know of any such application, but just want to let folks know that that could happen.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum