[comp.unix.aix] X.Desktop and file names/icons

mtimm@watserv1.waterloo.edu (Martin Timmerman) (04/22/91)

X.Desktop (the xdt command) allows you to view directories with icons
or with just the filename showing. How can I initialize xdt so that just
the filenames show by default? Also, how can I set the geometry of the
directory window that pops up?

Martin Timmerman                    E-mail: mtimm@watserv1.UWaterloo.ca         
Computing Services                                                              
University of Waterloo              Phone: 519-885-1211 x3403                   

markcon@sydvm1.vnet.ibm.com ("Mark Connell") (04/24/91)

In Article <1991Apr22.123454.17647>  mtimm@watserv1.waterloo.edu  (Martin Timmerman) writes:
>
> X.Desktop (the xdt command) allows you to view directories with icons
> or with just the filename showing. How can I initialize xdt so that just
> the filenames show by default? Also, how can I set the geometry of the
> directory window that pops up?

You can use the XDesktop*directory.geometry resource in your .Xdefaults
file to set the size of the directory windows.

Mark Connell
IBM Australia

mtimm@watserv1.waterloo.edu (Martin Timmerman) (04/27/91)

In article <1991Apr22.123454.17647@watserv1.waterloo.edu> mtimm@watserv1.waterloo.edu (Martin Timmerman) writes:
>X.Desktop (the xdt command) allows you to view directories with icons
>or with just the filename showing. How can I initialize xdt so that just
>the filenames show by default? Also, how can I set the geometry of the
>directory window that pops up?
>
Thanks to a few people I have determined that to get filenames
by default the following code should be added to $HOME/xdtinitial.xde:

icon_rules {
  %// General directory rules.
  %// ------------------------
  * /D
  {
    %// s1 = Open directory window.
    %// s2 = Replace contents of the parent's directory window with this directory.
    %// s* = Warn user no more actions defined.
    trigger_action : s1 { actions { d : display_directory -n %P0     }}
    trigger_action : s2 { actions { d : display_directory -n %D0 %P0 }}
    trigger_action : s* { actions { b : mfyi -n xdtalert "Doing that has no effect." }}
  }
}

Martin Timmerman                    E-mail: mtimm@watserv1.UWaterloo.ca
Computing Services
University of Waterloo              Phone: 519-885-1211 x3403