Widgets — calendar, weather and notes on the desktop
What it is
Small cards you stick on the desktop so the things you look at every day are there without opening an app. Cards sit above the wallpaper and below the windows — a window can cover a widget, a widget never covers a window.
| Widget | What it shows | Where it reads from |
|---|---|---|
| Calendar | today's date and events (a month on the bigger sizes) | the Calendar app's events |
| Clock | analog, digital or a world clock | the time and your time zone |
| Weather | now, today's high and low, the days ahead | what the Weather app last fetched |
| To Do | your open tasks, a tap ticks one | the To Do app |
| Sticky Note | a note you type on | the widget itself (saved on the desktop) |
| Photos | one picture, or the next one every 20 seconds | your Pictures folder |
| Radio | what is playing, play / pause | the Radio app |
| Notes Board | the notes you pinned | the Keep app |
Three sizes — S (small, 2×2 cells), M (wide, 4×2), L (large, 4×4). A brand-new computer starts with two widgets (Calendar, Weather) side by side at the top right, and the calendar holds one sample event for today. Clock, Sticky Note, Radio and To Do are added from Edit Widgets…. A computer you already use keeps the desktop it had — even one with no widgets at all. Remove any with the − in edit mode, or add more from the gallery.
Basics
- Add them: right-click an empty spot of the desktop › Edit Widgets…, or Settings › Wallpaper › Widgets › Edit…. You can also ask the assistant: "put a calendar on the desktop", "stick a note on the desktop".
- Clicking a widget opens its app. The circle on a task ticks it; the Radio button plays or pauses. A sticky note takes the click as a cursor — start typing.
- Widgets use the same cells as the desktop icons. When a widget settles in, the icons step aside and flow into the next cells; take the widget away and they return. Widgets never sit on the Trash.
- All the data is read on your own computer. When the weather has not been fetched yet it shows "?" rather than a made-up number.
How to use it
Adding
- Right-click an empty spot and choose Edit Widgets…. The gallery opens on the left.
- Type a name in the search field ("weather", "clock"). Pick a size with S M L under the preview.
- Click a preview to put it in the first free place, or drag it out: it lands in the free cells nearest to where you let go.
- Press Done or
Escwhen you are finished.
In edit mode
- The widgets wiggle and show a − at the top left. Click it to remove the widget.
- Drag a widget to move it. The cells it will take show in blue first.
- The S M L under a widget changes its size (nothing happens if there is no room). Style (Colour for a sticky note) changes the look each time — clock: analog → digital → world; calendar: month → agenda only; photos: one picture → slideshow.
Sticky notes
- Click a note once and type (a blinking bar shows where). Korean is composed as in any other field. Click anywhere else on the desktop, or press
Esc, to finish. - It is saved as you type, so it is still there after a restart.
With the assistant
- Say "put a calendar on the desktop" or "make the clock bigger". Adding happens at once; removing (above all a sticky note with writing on it) asks for one [Allow] press.
How it works
- The desktop is drawn in this order: wallpaper → widgets → icons → windows. That is why windows cover widgets and not the other way round.
- The cells are the grid the icons use (one cell = one icon cell). A widget tells the icons which cells it covers, and the icons lay themselves out around them.
- Each widget reads its own app's real data once a second: the calendar reads the calendar file, weather reads what the Weather app fetched, To Do reads the task list, the Notes Board reads Keep's pinned notes. It only reads, so the app need not be open. Ticking a task or pausing the radio goes the same way as doing it in that app.
- The Photos widget makes the picture at the widget's size in the background once (the way a wallpaper photo is made) and says "Getting the picture…" until it is ready.
Think of magnets on a fridge door. The door (the desktop) stays as it is; a magnet can move or come off without leaving a mark. The numbers on the note come from the real ledger (the app), not from the fridge.
Why it is this way: the first thing you see after turning the computer on is the desktop, so many people want the date, the weather and the tasks there. Nothing is stuck on at the start because a clean desktop is the default.
Try it yourself: right-click the desktop › Edit Widgets… and drag a Calendar M out. Today's date shows in a red circle. Add a Sticky Note, type "groceries", restart, and see that it is still there.
- Code:
src/gui/desk_widgets.c(model, drawing, gallery, assistant actions),src/gui/desk_widgets.h(dw_view_drawdraws into one rectangle with no knowledge of the desktop grid),src/gui/deskicons.c(the grid, the work-area functiondesk_work_area, avoiding widget cells, the right-click menu). Contract:docs/contracts/DESK-WIDGETS.md. - Sizes: S 2×2 · M 4×2 · L 4×4 cells; a cell is 96 × 92 logical pixels.
- Assistant:
app_act desktop widget_add kind=calendar|clock|weather|todo|note|photos|radio|board size=s|m|l,sticky_add(the body is the note),widget_list,widget_remove index=N([Allow]). - Check: the Widgets row of
os_check— every line of the file reads, and how many there are. - Log:
GUI widgets N kind:size …,GUI widget add|remove|move|size|style|drag|open …,GUI widget cal today YYYY-MM-DD n, rectangleswidget.N,wgal.*,widget.target. - Tests:
tests/gui_deskwidgets.py(real presses: none by default, adding from the gallery, drag, remove, sticky-note save, overlap with icons and windows, feel),tests/test_deskwidgets.py(source, manual, assistant, check).
Common questions
- Can I get rid of the two widgets I see at first? Yes. Right-click the desktop › Edit Widgets… › the − on a widget. Once removed they do not come back after a restart.
- A window covers my widget. Yes — widgets sit above the wallpaper and below windows. Move or close the window and it shows again.
- My icons moved to the side. A widget uses those cells. Remove it and the icons go back to their own cells.
- Weather only shows "?". The Weather app has not fetched the weather yet. Open the Weather app once and it will.
- Is there one on the phone home screen? This chapter is the computer desktop. Widgets on the phone home screen are being prepared separately.
NanumOS 0.1.15511 · 2026-11-25