When starting up tkdesk from the command line, the program
stops with the following output:
% tkdesk
can't read "geom": no such variable
while executing
"set tkdesk(geometry,$func) $geom..."
("Toplevel" arm line 6)
invoked from within
"switch $class {
dsk_FileViewer {
set tkdesk(have_window) 1
dsk_progress "Creating a file browser..."
set win .fv[dsk_FileViewe ..."
("foreach" body line 3)
invoked from within
"foreach l $tkdesk(layout) {
set class [lindex $l 0]
switch $class {
dsk_FileViewer {
set tkdesk(have_window) 1
dsk_progres ..."
invoked from within
"if [info exists tkdesk(layout)] {
dsk_debug "Restoring layout..."
dsk_debug "tkdesk(ayout): $tkdesk(layout)"
foreach l $tkdesk(layout) {
..."
(procedure "dsk_restore_layout" line 4)
invoked from within
"dsk_restore_layout"
(file "/usr/bin/tkdesk" line 614)
Thomas Roessler <roessler@guug.de> writes: <snip> Well, I think I've traced this down, and I'm not sure it's really a bug in tkdesk, though I'll see if I can't make the next tkdesk robust enough to deal with this. I'm therefore going to reduce this bug's priority to "wishlist". You have a corrupted ~/.tkdesk/_layout file. Specifically, there should be a line at the bottom of that file beginning with "Toplevel" - that line should have four items on it, something like this: Toplevel dsk_appbar 1 56x622+2+2 Your "Toplevel" line appears to be missing one or more of these four items. Fix it by either replacing the broken line with the one above, or by deleting the "Toplevel" line entirely. If you don't have several dsk_DeskItem lines in ~/.tkdesk/_layout, you might consider removing the file entirely and letting tkdesk revert to its default layout. DANIEL MARTIN