swisswatch
swisswatch
Ok, ran across an instructable about making an old laptop into a clock. Winddows of course.
There is an old linux app called "Swisswatch". I installed it via Puppy Package Manager. Only couple mentions of it, the most useful: http://manpages.ubuntu.com/manpages/pre ... ml#options
I will say the command "swisswatch -name fancy" opens a black face dial clock with white hands and markings. Manually maximized, it expands to fit screen, though doesnt cover the desktop except for where clockface is.
Can anybody help a bit with command options necessary to open it maximized with black covering the desktop? In other words I just want to see the clock on black background. The man pages are kinda confusing how to use the options.
There is an old linux app called "Swisswatch". I installed it via Puppy Package Manager. Only couple mentions of it, the most useful: http://manpages.ubuntu.com/manpages/pre ... ml#options
I will say the command "swisswatch -name fancy" opens a black face dial clock with white hands and markings. Manually maximized, it expands to fit screen, though doesnt cover the desktop except for where clockface is.
Can anybody help a bit with command options necessary to open it maximized with black covering the desktop? In other words I just want to see the clock on black background. The man pages are kinda confusing how to use the options.
Last edited by mouldy on Sun 23 Feb 2020, 00:27, edited 1 time in total.
Just ran across "clockywock" post from long ago by muggins. It sill works and kinda cool. Guessing it uses very litle resources....
http://murga-linux.com/puppy/viewtopic.php?t=25053
http://murga-linux.com/puppy/viewtopic.php?t=25053
Xclock, maximized.
My window manager is dwm
https://dwm.suckless.org/
which maximizes all windows automatically if you set it that way.
https://i.postimg.cc/XJ5GBhjs/xclock.jpg
Code: Select all
xclock -bg black -fg grey -hd grey -norender
https://dwm.suckless.org/
which maximizes all windows automatically if you set it that way.
https://i.postimg.cc/XJ5GBhjs/xclock.jpg
Last edited by williams2 on Sun 23 Feb 2020, 00:49, edited 1 time in total.
pclock maximized.
I think it is the window manager that displays a window maximized or not.
Doesn't JWM have a fullscreen key, maybe F11?
Maybe using xdotool in a start script to "press" the fullscreen key shortcut would work.
https://i.postimg.cc/nLR1pMTq/pclock.jpg
I think it is the window manager that displays a window maximized or not.
Doesn't JWM have a fullscreen key, maybe F11?
Maybe using xdotool in a start script to "press" the fullscreen key shortcut would work.
https://i.postimg.cc/nLR1pMTq/pclock.jpg
Last edited by williams2 on Sun 23 Feb 2020, 00:49, edited 1 time in total.
Worked on second try despite complaining no compatible fontset. Anyway thanks, that does exactly what I wanted. Black clock face with white numbers/hands less annoying in dark room. If using it as clock would have to make tray disappear, but thats trivial.williams2 wrote:Xclock, maximized.My window manager is dwmCode: Select all
xclock -bg black -fg grey -hd grey -norender
https://dwm.suckless.org/
which maximizes all windows automatically if you set it that way.
Sad thing is that I have some antique super slow laptops that would be great for this sort thing, but noisy fan. Really need something like one of modern netbook/cloudbook that are fanless. Just displaying a clock shouldnt be too stressful.....
Odd world where you can substitute a laptop for an alarm clock. Can get older used laptop for same price as a new alarm clock.....
Last edited by mouldy on Sun 23 Feb 2020, 01:17, edited 1 time in total.
swisswatch maximized.
I couldn't change the bg color.
https://i.postimg.cc/kXnSTKxw/swiss2.jpg
I couldn't change the bg color.
Code: Select all
swisswatch -noshape -bg black -fg white
Last edited by williams2 on Sun 23 Feb 2020, 00:50, edited 1 time in total.
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
Same here, but this worked:williams2 wrote:swisswatch maximized.
I couldn't change the bg color.Code: Select all
swisswatch -noshape -bg black -fg white
Code: Select all
swisswatch -name swissclock -noshape -bg black -fg white
There are many ways, most depend on your window manager. You could also use wmctrl to toggle fullscreen. But here is a very simple way to achieve your goal:mouldy wrote:Did it, this give the fancy clock with black behind it whole screen. Well except title bar, still havent figured how to remove titlebar
1) start swissclock
2) in the window menu set to "layer:above" (that's what it is called in JWM, other window managers should have similar settings)
3) move window to upper left corner until titlebar and left border are hidden behind the screen edges
4) drag bottom right window corner to bottom right screen edge. Your screen should now be filled completely by the clock with a hidden titlebar, covering also the bottom task bar.
You can move this oversized window around by dragging it with the mouse while keeping Alt key pressed.
BTW: As your screenshot shows, "fancy" turns into a Swiss egg when you stretch it but "swissclock" would retain its round shape.
You way does work and maybe most practical. I found that if I maximize window, then in that menu click Undecorate, that title bar also goes away. It does require auto hide for tray. Where your way covers it.MochiMoppel wrote:Same here, but this worked:williams2 wrote:swisswatch maximized.
I couldn't change the bg color.Code: Select all
swisswatch -noshape -bg black -fg white
Code: Select all
swisswatch -name swissclock -noshape -bg black -fg white
mouldy wrote:But here is a very simple way to achieve your goal:
1) start swissclock
2) in the window menu set to "layer:above" (that's what it is called in JWM, other window managers should have similar settings)
3) move window to upper left corner until titlebar and left border are hidden behind the screen edges
4) drag bottom right window corner to bottom right screen edge. Your screen should now be filled completely by the clock with a hidden titlebar, covering also the bottom task bar.
You can move this oversized window around by dragging it with the mouse while keeping Alt key pressed.
BTW: As your screenshot shows, "fancy" turns into a Swiss egg when you stretch it but "swissclock" would retain its round shape.
So two ways. I like the Swiss egg look. But honestly all really want is something that is easy to see at night without being super annoying.
Thanks to both Williams2 and MochiMoppel. I learned something new even if I dont use computer for a clock.
I dont suppose anybody knows a way to open clock maximized from shortcut? That could be useful trick for other things too.
Oh and there is flipclock (digital clock with numbers that flip down like the original digital clocks) for linux: https://github.com/AlynxZhou/flipclock Oh two: https://github.com/alexanderk23/gluqlo Mention that cause that original Instructable turning computer to clock used couple windows flip clock screen savers. I tried both in win10 and they are ok.
Last edited by mouldy on Mon 24 Feb 2020, 06:32, edited 1 time in total.
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
I just compiled latest version 2.3.5 of the AlynxZhou flipclock in my Wheezy Pup remaster. It looks like it might serve the purpose unless you are insisting on an analogue clock face.
It opens immediately to fullscreen by default when you launch it. (Not a maximised window so no borders and the JWM tray is hidden).
Launch it from a script in /root/Startup so you get the clock on boot or restart of X.
Press Esc or q if you want to close it and reveal the normal desktop.
Menu entry is there (or set a pinboard icon or other button) if you want to go back to the clock.
It just needs those 2 SDL2 libs so you need to check if they are present in whatever Puppy you are running. They can be added via PPM or easily compiled from source. Don't confuse them with the earlier SDL-1.2 versions of the libs.
https://github.com/AlynxZhou/flipclock
https://www.libsdl.org
It opens immediately to fullscreen by default when you launch it. (Not a maximised window so no borders and the JWM tray is hidden).
Launch it from a script in /root/Startup so you get the clock on boot or restart of X.
Press Esc or q if you want to close it and reveal the normal desktop.
Menu entry is there (or set a pinboard icon or other button) if you want to go back to the clock.
It just needs those 2 SDL2 libs so you need to check if they are present in whatever Puppy you are running. They can be added via PPM or easily compiled from source. Don't confuse them with the earlier SDL-1.2 versions of the libs.
https://github.com/AlynxZhou/flipclock
https://www.libsdl.org
Oscar in England
It takes all the challenge out of it, but ....
https://www.nayuki.io/page/full-screen-clock-javascript
Go to the links depending on clock you want and save html or svg file using browser, save wherever you want and bingo you have a clock. Need browser to open it of course.
https://www.nayuki.io/page/full-screen-clock-javascript
Go to the links depending on clock you want and save html or svg file using browser, save wherever you want and bingo you have a clock. Need browser to open it of course.
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
"It's Alive !!!"
I find http://www.3quarks.com very interesting. Allows to configure different types of clocks and they all even work with my vintage browser (Opera 11.64)
I find http://www.3quarks.com very interesting. Allows to configure different types of clocks and they all even work with my vintage browser (Opera 11.64)
Wish they had a full screen version of the Berlin clock, once I figured it out, kinda grew on me.MochiMoppel wrote:"It's Alive !!!"
I find http://www.3quarks.com very interesting. Allows to configure different types of clocks and they all even work with my vintage browser (Opera 11.64)
This however is my favorite: https://analog.onlineclock.net/
Choose black background in dark mode with clock XL, then hit the "eye" button to make all the printing and links go away. This is nice night clock, just distinct enough to read but not going to annoy. And it has alarm feature built in that you can set. Course you can leave it undarkened or even choose orange background if thats what you want. They have digital version too, but the darkened version with black background hard to read.