From owner-freebsd-questions Wed Sep 17 22:52:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA09241 for questions-outgoing; Wed, 17 Sep 1997 22:52:53 -0700 (PDT) Received: from onyx.southwind.net (root@onyx.southwind.net [206.53.103.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA09230 for ; Wed, 17 Sep 1997 22:52:47 -0700 (PDT) Received: from localhost (ict106.southwind.net [206.53.100.106]) by onyx.southwind.net (8.8.6/8.8.6) with SMTP id AAA02147 for ; Thu, 18 Sep 1997 00:52:34 -0500 (CDT) Message-ID: <3420C0D4.167EB0E7@southwind.net> Date: Thu, 18 Sep 1997 00:49:08 -0500 From: Mohammad Islam X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.1-RELEASE i386) MIME-Version: 1.0 To: questions@freebsd.org Subject: TkDesk Problem!!!] Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Message-ID: <342023BF.41C67EA6@southwind.net> Date: Wed, 17 Sep 1997 13:38:55 -0500 From: Mohammad Islam X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.1-RELEASE i386) MIME-Version: 1.0 Newsgroups: comp.unix.bsd.freebsd.misc,comp.windows.x Subject: TkDesk Problem!!! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I am trying to run tkdesk (ports from the ports collection). Every time i start tkdesk it starts fine (telling that its reading, initializing, creating browser window, creating file browser and so on) but then it gives me an error msg box containing this: Couldn't execute "uptime:Not a directory If i press "OK" button it exists and then spits out a lots of "codes" in the xterm window: Here is what i get after i press "OK" couldn't execute "whoami": not a directory while executing "exec $tkdesk(cmd,whoami)" invoked from within "set dsk_appbar(mail,folder) $dir/[exec $tkdesk(cmd,whoami)]..." invoked from within "if [file isdirectory $dir] { set dsk_appbar(mail,folder) $dir/[exec $tkdesk(cmd,whoami)] break }" ("foreach" body line 2) invoked from within "foreach dir {/usr/mail /var/mail /usr/spool/mail /var/spool/mail} { if [file isdirectory $dir] { set dsk_appbar(mail,folder) $dir/[exec $tkdes ..." invoked from within "if [info exists env(MAIL)] { set dsk_appbar(mail,folder) $env(MAIL) } else { foreach dir {/usr/mail /var/mail /usr/spool/mail /var/spool/mail} { ..." (procedure "_appbar_mail" line 5) invoked from within "_appbar_mail $t.b$count" ("special:mail" arm line 2) invoked from within "switch $bitmap { "special:date" { set mw [_appbar_date $t.f$fcount $side] _appbar_bind_date $count set dsk_appbar(date,countval) $count ..." invoked from within ("foreach" body line 14) invoked from within "foreach but $tkdesk(appbar) { if {[expr $count % $tkdesk(appbar,max)] == 0} { incr fcount frame $t.f$fcount -bg $tkdesk(color,icon_bac ..." (procedure "_appbar_create" line 45) invoked from within "_appbar_create" invoked from within "if {$args == ""} { _appbar_create } else { set cmd [lindex $args 0] set opts [lrange $args 1 [llength $args]] switch $cmd { layout {eval ..." (procedure "dsk_appbar" line 11) invoked from within "dsk_appbar" invoked from within "if {![info exists tkdesk(layout)] || !$tkdesk(have_window)} { dsk_progress "Creating a file browser..." if [info exists tkdesk(user,startdir)] ..." (file "/usr/local/bin/tkdesk" line 602) Anybody can tell me what can be done to remedi the situation? Any help would be greatly appreciated. Regards, sohel@southwind.net "if {[string first "special:" $bitmap] == 0} { switch $bitmap { "special:date" { set mw [_appbar_date $t.f$fcount $side] _appbar_bind_dat ..." invoked from within "if {[llength $but] > 1} { set bitmap [lindex $but 0] set dsk_appbar(bgcolor) [. cget -background] set dsk_appbar(fgcolor) black