dtwm draws the volumes of the computer in a small window in the top right
corner under the bar (new programs/dtwm/WmMcdeDesktop.c): one tile for each
mounted volume from mcde_sys_disks -- the drive glyph, the volume's name on
a background field of its own (no shadow, no transparency), the chosen one
boxed. A second click within 500 ms opens the volume in dtfile
(fork/execv, no shell). The list is read when the window manager starts;
a volume plugged in later needs the mount events of t0080/t0083.
MCDE_DESK_DEBUG=1 prints what it found (tools/mcde-shot.sh passes it into
the session).
The bar's right end gained the reference's two parts: a person cascade with
the login name (the passwd entry first: a session started with an empty
environment has no USER -- measured, the menu said "user"), Accounts... and
Log Out...; and a magnifier cascade with "Launcher (Command+space)"
(dtlaunch -show) and the settings. Both are cascades because the status
area is a homogeneous menu bar and refuses any other child (measured:
"Attempt to add wrong child type").
McdeSys's Linux disk backend now lists lvm and crypt volumes; the root of a
host with LVM was missing from every disk list before (measured: only
/boot and /boot/efi stood on the desktop, the root now appears as
"System").
Measured under Xvfb with xdotool:
- the desktop shows efi, boot and System in the corner
(docs/screenshots/leopard/Desktop-mcde.png);
- a double click on System opens "File Manager - kitt:ROOT";
- the person menu says "lotherk", with "Accounts..." and "Log Out...";
- the magnifier opens its menu; "Launcher (Command+space)" starts dtlaunch
(-show);
- test_sysinfo lists the root volume; make lib/McdeSys, programs/dtwm,
programs/dtbar exit=0.
Open (follow-ups): the front panel's running-program dots, the volume
hot-plug (t0083), and the desktop icons' text colour from the palette
(they use the session's background with black text today).
24 lines
517 B
Perl
24 lines
517 B
Perl
/* XPM */
|
|
/* MCDE: McdeUser_t_pm, 16x16 for the bar */
|
|
static char *McdeUser_t_pm[] = {
|
|
"16 16 3 1 0 0",
|
|
" c none m none s none"
|
|
". s iconColor1 c black m black"
|
|
", s iconColor2 c white m white"
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" .... ",
|
|
" ...... ",
|
|
" ...... ",
|
|
" .... ",
|
|
" ",
|
|
" ",
|
|
" ,,,, ",
|
|
" ,,,,,,,, ",
|
|
" ,,,,,,,, ",
|
|
" ,,,,,,,,,, ",
|
|
" ,,,,,,,,,, ",
|
|
" ,,,,,,,,,, ",
|
|
" "};
|