Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 08 Dec 2016, 20:08
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
SOLVED How to change the color of date/time display?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Author Message
scientist

Joined: 23 May 2015
Posts: 864

PostPosted: Sun 10 Jan 2016, 17:03    Post subject:  SOLVED How to change the color of date/time display?  

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.

Quote:

<Swallow name="xload" width="32">xload -nolabel -fg "#225F7C" -hl white -bg "#222"</Swallow>

_________________
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar

Last edited by scientist on Thu 14 Jan 2016, 16:57; edited 1 time in total
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 1701
Location: UK

PostPosted: Mon 11 Jan 2016, 07:49    Post subject:  

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).
Back to top
View user's profile Send private message 
Fossil


Joined: 13 Dec 2005
Posts: 1048
Location: Gloucestershire, UK.

PostPosted: Mon 11 Jan 2016, 08:13    Post subject:  

jwmrc-personal? Wink
Back to top
View user's profile Send private message 
scientist

Joined: 23 May 2015
Posts: 864

PostPosted: Mon 11 Jan 2016, 17:39    Post subject:  

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.

_________________
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar

Last edited by scientist on Mon 11 Jan 2016, 17:43; edited 1 time in total
Back to top
View user's profile Send private message 
scientist

Joined: 23 May 2015
Posts: 864

PostPosted: Mon 11 Jan 2016, 17:41    Post subject:  

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
Back to top
View user's profile Send private message 
scientist

Joined: 23 May 2015
Posts: 864

PostPosted: Mon 11 Jan 2016, 17:59    Post subject:  

Found a lot of info here.

http://joewing.net/projects/jwm/config.shtml#other

_________________
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 2167
Location: Queensland

PostPosted: Mon 11 Jan 2016, 18:15    Post subject:  

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).

_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
My Hovercraft Is Full of Eels
Back to top
View user's profile Send private message 
Fossil


Joined: 13 Dec 2005
Posts: 1048
Location: Gloucestershire, UK.

PostPosted: Mon 11 Jan 2016, 19:28    Post subject:  

Fossil wrote:
jwmrc-personal? Wink

Quote:


It sets key bindings.
I will look at all the files under .jwm.


Really? See Before and then After. It works for me! Laughing

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

<ClockStyle>
<Foreground>#0EFAFA</Foreground>
</ClockStyle>
Before change to date-time.jpg
 Description   
 Filesize   4.79 KB
 Viewed   222 Time(s)

Before change to date-time.jpg

After change to date-time.jpg
 Description   
 Filesize   4.7 KB
 Viewed   233 Time(s)

After change to date-time.jpg

Back to top
View user's profile Send private message 
scientist

Joined: 23 May 2015
Posts: 864

PostPosted: Mon 11 Jan 2016, 20:05    Post subject:  

Are you running 6.3.0 ?

My jwmrc-persona

Quote:
<!-- 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
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1149
Location: Japan

PostPosted: Mon 11 Jan 2016, 22:40    Post subject:  

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.
Back to top
View user's profile Send private message 
scientist

Joined: 23 May 2015
Posts: 864

PostPosted: Mon 11 Jan 2016, 23:01    Post subject:  

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
Back to top
View user's profile Send private message 
Fossil


Joined: 13 Dec 2005
Posts: 1048
Location: Gloucestershire, UK.

PostPosted: Tue 12 Jan 2016, 01:26    Post subject:  

Quote:
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
Back to top
View user's profile Send private message 
scientist

Joined: 23 May 2015
Posts: 864

PostPosted: Tue 12 Jan 2016, 21:07    Post subject:  

Yes I have that file.
_________________
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 1701
Location: UK

PostPosted: Tue 12 Jan 2016, 21:58    Post subject:  

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
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 2057
Location: King's Lynn, UK.

PostPosted: Tue 12 Jan 2016, 22:16    Post subject:  

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


Mike. Wink

_________________
If the advice given has helped you, please have the courtesy to post back & say 'Thanks!' Wink Laughing
----------------------------------------------------

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

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


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0789s ][ Queries: 12 (0.0067s) ][ GZIP on ]