Change time format in antiX IceWM

Posts: 251
JawsThemeSwimming428
Joined: 16 Mar 2008
#1
I looked at the FAQ (
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://sblinux.org/antix/index.html#icewm"
linktext was:"http://sblinux.org/antix/index.html#icewm"
====================================
" onclick="window.open(this.href);return false) about changing the time to 12-hour format. However, in 7.5 I am not finding the search feature in the menu. I thought it meant catfish so I typed"timeformat" into catfish and it returned no results. Where do I do this?

Same thing for"workspacenames", must be different for the new version.
Posts: 251
JawsThemeSwimming428
Joined: 16 Mar 2008
#2
OK scratch that...I found /home/username/.icewm/preferences and I changed my workspaces to 2 and the clock format. What I am still wondering is this... when I click the"Quit" button on the taskbar it brings up the new logout screen for antiX. However, when I use the menu (either right-click or on the taskbar->icewm menu) it brings up another one that doesn't seem to work sometimes. How can I make everything bring up the new antiX Logout screen?
Posts: 1,081
OU812
Joined: 29 Sep 2007
#3
Edit your preferences file

control center > edit icewm settings > preferences

Somewhere around line 514

Code: Select all


#  Clock Time format (strftime format string)
TimeFormat="%H:%M"

#  Alternate Clock Time format (e.g. for blinking effects)
# TimeFormatAlt=""

#  Clock Date format for tooltip (strftime format string)
# DateFormat="%c"

Now take at look here for some info on editing the first option.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://puppylinux.org/wiki/applications"
linktext was:"http://puppylinux.org/wiki/applications"
====================================
" onclick="window.open(this.href);return false ... /ezpuphelp

john
Posts: 251
JawsThemeSwimming428
Joined: 16 Mar 2008
#4
That didn't help with the"Quit" button?
Posts: 319
impuwat
Joined: 13 Sep 2007
#5
Regarding the time change in icewm...in the interest of saving someone some time looking,

changing
# Clock Time format (strftime format string)
TimeFormat="%H:%M"
to
# Clock Time format (strftime format string)
TimeFormat="%r"
will get you (12 hr clock).... hours, minutes, seconds and AM or PM

The possible variables (man for strftime) can be found at :
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.manpagez.com/man/3/strftime/"
linktext was:"http://www.manpagez.com/man/3/strftime/"
====================================
Posts: 1,081
OU812
Joined: 29 Sep 2007
#6
To have the right-click menu point to the antix logout script, you would have to

1. Edit the preferences file to turn of the"native" logout entry.
2. Edit the menu file to add your own custom entry.

john