SOLVED How to change the color of date/time display?

Using applications, configuring, problems
Post Reply
Message
Author
scientist
Posts: 860
Joined: Sat 23 May 2015, 08:21

SOLVED How to change the color of date/time display?

#1 Post by scientist »

I would like to change the color of my date and time.

Is this what I would change using gcolor values ?

From my .jwmrc-tray.
<Swallow name="xload" width="32">xload -nolabel -fg "#225F7C" -hl white -bg "#222"</Swallow>
Last edited by scientist on Thu 14 Jan 2016, 20:57, edited 1 time in total.
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#2 Post by rufwoof »

No that's for xload. Mine looks like

<Swallow name="xload" width="32">
xload -nolabel -bg grey -fg red -hl white
</Swallow>

and that's the little graph/chart that shows how active your puppy is (how many processes are running).

Not sure about Slacko 6.3, open a terminal and run

pupclockset

and see if that brings up a dialog. If so on the second tab (OPTIONS) there are options for the clock colour etc. Which stores something like

<ClockStyle>
<Font>Sans-8:bold:normal</Font>
<Foreground>#fff300</Foreground>
</ClockStyle>

in /root/.jwm/.jwmrc-theme (coded just before the final </JWM> tag).
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

User avatar
Fossil
Posts: 1157
Joined: Tue 13 Dec 2005, 21:36
Location: Gloucestershire, UK.

#3 Post by Fossil »

jwmrc-personal? :wink:

scientist
Posts: 860
Joined: Sat 23 May 2015, 08:21

#4 Post by scientist »

rufwoof wrote:No that's for xload. Mine looks like

<Swallow name="xload" width="32">
xload -nolabel -bg grey -fg red -hl white
</Swallow>

and that's the little graph/chart that shows how active your puppy is (how many processes are running).

Not sure about Slacko 6.3, open a terminal and run

pupclockset

and see if that brings up a dialog. If so on the second tab (OPTIONS) there are options for the clock colour etc. Which stores something like

<ClockStyle>
<Font>Sans-8:bold:normal</Font>
<Foreground>#fff300</Foreground>
</ClockStyle>

in /root/.jwm/.jwmrc-theme (coded just before the final </JWM> tag).
Looks like there is no pupclockset.

I will use Pfind to look for ClockStyle in files.
Last edited by scientist on Mon 11 Jan 2016, 21:43, edited 1 time in total.
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar

scientist
Posts: 860
Joined: Sat 23 May 2015, 08:21

#5 Post by scientist »

Fossil wrote:jwmrc-personal? :wink:
It sets key bindings.

I will look at all the files under .jwm.
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar

scientist
Posts: 860
Joined: Sat 23 May 2015, 08:21

#6 Post by scientist »

Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#7 Post by Geoffrey »

http://murga-linux.com/puppy/viewtopic.php?t=61633
radky wrote: PupClockset-2.4
- Effective 2015-09-13, the JWM window manager no longer supports ClockStyle XML code for changing clock-font attributes (font name, size, weight, style and color).
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
Fossil
Posts: 1157
Joined: Tue 13 Dec 2005, 21:36
Location: Gloucestershire, UK.

#8 Post by Fossil »

Fossil wrote:
jwmrc-personal? :wink:

It sets key bindings.
I will look at all the files under .jwm.
Really? See Before and then After. It works for me! :lol:

<MenuStyle>
<Font>DejaVu Sans-13:bold</Font>
</MenuStyle>

<ClockStyle>
<Foreground>#0EFAFA</Foreground>
</ClockStyle>
Attachments
Before change to date-time.jpg
(4.79 KiB) Downloaded 433 times
After change to date-time.jpg
(4.7 KiB) Downloaded 444 times

scientist
Posts: 860
Joined: Sat 23 May 2015, 08:21

#9 Post by scientist »

Are you running 6.3.0 ?

My jwmrc-persona
<!-- Personally configurable options for JWM: these override default settings and theme settings -->

<JWM>

<!-- Number of virtual desktops -->
<Desktops width="1" height="1"/>

<!-- Double click speed (in milliseconds) -->
<DoubleClickSpeed>400</DoubleClickSpeed>

<!-- Double click delta (in pixels) -->
<DoubleClickDelta>3</DoubleClickDelta>

<!-- The focus model (sloppy or click) -->
<FocusModel>click</FocusModel>

<!-- The snap mode (none, screen, or border) -->
<SnapMode distance="10">none</SnapMode>

<!-- The move mode (outline or opaque) -->
<MoveMode>opaque</MoveMode>

<!-- The resize mode (outline or opaque) -->
<ResizeMode>opaque</ResizeMode>

<WindowStyle>
<Height>22</Height>
</WindowStyle>

<!-- Key bindings -->
<Key key="Up">up</Key>
<Key key="Down">down</Key>
<Key key="Right">right</Key>
<Key key="Left">left</Key>
<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>
<Key key="Return">select</Key>
<Key key="Escape">escape</Key>
<Key key="F12">root:9</Key>

<Key mask="A" key="Right">rdesktop</Key>
<Key mask="A" key="Left">ldesktop</Key>
<Key mask="A" key="Up">udesktop</Key>
<Key mask="A" key="Down">ddesktop</Key>

<Key mask="A" key="Tab">next</Key>
<Key mask="A" key="F4">close</Key>
<Key mask="A" key="F10">maximize</Key>
<Key mask="A" key="F6">minimize</Key>
<Key mask="A" key="#">desktop#</Key>
<Key mask="A" key="F1">root:9</Key>
<Key mask="A" key="F2">window</Key>

<Key keycode="160">exec:amixer sset Master toggle</Key>
<Key keycode="176">exec:amixer sset Master 1+,1+</Key>
<Key keycode="174">exec:amixer sset Master 1-,1-</Key>
<Key keycode="178">exec:defaultbrowser</Key>
<Key keycode="236">exec:defaultbrowser</Key>
<Key keycode="111">exec:defaultscreenshot</Key>

<ButtonClose>/root/.jwm/window_buttons/close.png</ButtonClose>
<ButtonMax>/root/.jwm/window_buttons/max.png</ButtonMax>
<ButtonMaxActive>/root/.jwm/window_buttons/maxact.png</ButtonMaxActive>
<ButtonMin>/root/.jwm/window_buttons/min.png</ButtonMin>
</JWM>
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#10 Post by MochiMoppel »

scientist wrote:Found a lot of info here.

http://joewing.net/projects/jwm/config.shtml#other
...and did you read it? If so there is one thing you certainly did not find: Color/font attributes for the clock.

From the JWM v2.3 Release Notes: "Removed the TaskListStyle, TrayButtonStyle, and ClockStyle configuration options. These options are now set from TrayStyle."

Changing the color attribute of TrayStyle will change more than just the clock. If you need separate color/font settings for the clock you will have to either revert to JWM 2.2 or find a suitable clock application.

scientist
Posts: 860
Joined: Sat 23 May 2015, 08:21

#11 Post by scientist »

MochiMoppel wrote:
scientist wrote:Found a lot of info here.

http://joewing.net/projects/jwm/config.shtml#other
...and did you read it? If so there is one thing you certainly did not find: Color/font attributes for the clock.

From the JWM v2.3 Release Notes: "Removed the TaskListStyle, TrayButtonStyle, and ClockStyle configuration options. These options are now set from TrayStyle."

Changing the color attribute of TrayStyle will change more than just the clock. If you need separate color/font settings for the clock you will have to either revert to JWM 2.2 or find a suitable clock application.
I would rather not go to an older JWM version.

I will look for another clock/date app for Slacko.
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar

User avatar
Fossil
Posts: 1157
Joined: Tue 13 Dec 2005, 21:36
Location: Gloucestershire, UK.

#12 Post by Fossil »

Are you running 6.3.0 ?
JWM 2.2. I would not wish to use a later edition on my machines only to find it might give so much trouble - on such a needy computer. And you have a jwmrc-persona? :wink:

scientist
Posts: 860
Joined: Sat 23 May 2015, 08:21

#13 Post by scientist »

Yes I have that file.
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#14 Post by rufwoof »

I swapped out the Tahr 6.0.5 choice of jwm for a earlier version as I found that worked better for me.

With the standard one if I right clicked the desktop and rapidly moved the mouse up/down the menu the pop-out menus were slow/white (not particularly slow, just slower to populate) whilst with the older jwm the pop out menus were populated with text (more responsive).

I've not noticed any other differences and the older version is working fine for me.

root# jwm -v
JWM vgit-910 by Joe Wingbermuehle
compiled options: confirm fribidi icons jpeg nls png shape svg xbm xft xinerama xpm xrender
system configuration: /etc/xdg/templates/system.jwmrc
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#15 Post by Mike Walsh »

This is why I prefer XFCE. So much more configurable!


Mike. :wink:

scientist
Posts: 860
Joined: Sat 23 May 2015, 08:21

#16 Post by scientist »

I am testing TahrPup 6.0.5.
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar

User avatar
ravensrest
Posts: 365
Joined: Fri 22 Feb 2008, 16:43
Location: Grants Pass, Oregon

#17 Post by ravensrest »

I am running Puppy 5.7.1, and adding Fossil's

Code: Select all

<ClockStyle>
<Foreground>#0EFAFA</Foreground>
</ClockStyle>
to jwmrc-personal it changes the clock foreground color exactly as he shows.

Post Reply