--- Dan McGhee <[EMAIL PROTECTED]> wrote: > Brandin Creech wrote: > > >There are also two important patches that come with the WindowMaker > >distribution, and these are not mentioned by the author of the hint: > > I went ahead and installed WindowMaker "naked," and it seems to be > running fine. Another learning curve, however. When you speak of the > patches "coming with the WindowMaker distribution," do you mean that > they're in the un-tarred directory somewhere? If not, would you please > supply a link to them?
Yes, there is a contrib/ directory in the toplevel source directory. It has a file called single_click.diff which activates the "single click" preference (it adds an option to the WPrefs "miscellaneous" menu (the one at the very rightmost end of the icon bar under WPrefs) that is called "Launch applications and restore windows with a single click" which I find very helpful, because normally, a "single click" does nothing at all... so no functionality is lost by enabling "single-click" (unlike in File Managers, where single-click is used to select, and double-click normally is used to "launch"). > Ever since you replied to another post of mine, I've been intrigued by > the WindowMaker-ROX combination. Got the filer running and am learning > WindowMaker. Just in the couple of hours I've been "playing," the combo > is impressive. You were right. Yes. Also try the "XDND" support with ROX which allows you to drag files to applications--after running './configure', you need to uncomment the line in src/wconfig.h which says '#define XDND', and you need to make a slight patch to src/misc.c: the line that says 'dropped_thing = get_dnd_selection(scr);'-- comment that line out (the get_dnd_selection function was only used for the Offix DND protocol, I gather--so it is not used with the XDND support that is used now). However, I've found some caveats to the DND-support; one is that it intermittently works/doesn't work. For instance, when I first start wmaker, the DND support usually does not work. Then, after a certain amount of time using the machine, the support all of a sudden works, and then will continue working until wmaker stops. I'm still trying to figure out what causes it. Another caveat is that (at least with ROX), filenames with whitespaces or special characters are not sent correctly or not interpreted correctly by WindowMaker. For instance, the file object '/home/chaotic/LFS Patches' would be sent as '/home/chaotic/LFS%20Patches', but when WindowMaker receives this, it does not convert the '%20' back to a ' ' character. I'm not sure who is to be blamed here, though (ROX or WindowMaker), but it is easy enough to solve with a simple shell script: #!/bin/bash # Begin /usr/local/bin/Run PROGRAM="$1" shift while [ $# -gt 0 ] do arg[i]="$(sed 's/%20/ /g;s/%5b/\[/g;s/%5d/\]/g;s/%25/%/g' <<<"$1")" let i++ shift done exec "$PROGRAM" "[EMAIL PROTECTED]" # End /usr/local/bin/Run Then right-click your app icon and change the "Command for files dropped with DND" from 'foo %d' to 'Run foo %d'. __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page