It is basically the new clock fix by forum member 'trio', it is dependant upon 'xmovewindowbyclassname' written in C by MU. I tested in JWM and Icewm, hacked it a little and it seems to work fine.
The clock does appear in left of screen for a few seconds, but then finds it's correct position. So yes, a small bug. BUT, no 'xevent' clicking and bouncing and banging of the cursor!
To install,
Download the two files.
Extract and replace your 'usr/local/pwidgets/func' file
WARNING: Back up your original 'func' file.
Extract 'xmovewindowbyclassname' and run make, make install.
If you are running JWM put these lines in 'jwmrc-personal'
Code: Select all
<Group>
<Class>xonclock</Class>
<Name>xonclock</Name>
<Option>noborder</Option>
<Option>notitle</Option>
<Option>layer:1</Option>
<Option>sticky</Option>
<Option>nolist</Option>
</Group>
If running Icewm put this at the end of 'winoptions'
Code: Select all
#xonclock
xonclock.ignoreTaskBar: 1
xonclock.allWorkspaces: 1
xonclock.dTitleBar: 0
xonclock.dBorder: 0
xonclock.dSysMenu: 0
xonclock.dResize: 0
xonclock.dClose: 0
xonclock.dMinimize: 0
xonclock.dMaximize: 0
xonclock.ignoreNoFocusHint: 1
xonclock.layer: Normal
Code: Select all
#!/bin/sh
for I in `ps -eo pid,command | grep -w --extended-regexp "conky|xonclock|xli|http://rss.accuweather.com" | awk '{print $1}'`; do kill -9 $I; done
TMP="`cat /root/.config/wallpaper/bg_img`"
cp "$TMP" /root/Choices/ROX-background.jpg
xli -fillscreen -onroot /root/Choices/ROX-background.jpg
#sleep 2
/root/.pwidgets/pwidgets-exec
EDIT: For some strange reason permissions changed during some process of the func file. I suspect during zipping. I used 'gzip' in terminal. Ah well, you just have to type 'chmod 755 func' in a terminal.
NB: zigbert obviously in his absence has not approved this but he does know we were working on a better clock fix and I'm sure he wont mind too much, his last comment on Pwidgets thread was "Enjoy coding."