FVWM: a couple little things

From: Dave Lane <root_at_stan.lincoln.ac.nz>
Date: Thu, 28 Sep 1995 10:25:28 +1000 (GMT+1000)

Hello,

I just recently subscribed to this list, so please forgive me if these
questions have already been asked ad nauseam. I just upgraded to version
2.0.27 (I think). Anyway, I converted my .fvwmrc (version 1.24) to the
new format (using a script provided by Martin Kraemer and Grant McDorman)
and things went fairly well with a couple small exceptions.

1. my FvwmButtons (formerly GoodStuff) and some menu items no longer
launch things like they did in version 1.24. When I hit a button defined
as follows in my .fvwmrc

*FvwmButtons XEmacs emacs.xpm Exec "" (cd /usr/khoros/res/tg; xemacs &)

I get the following error:

/bin/sh: syntax error near unexpected token `(cd'
/bin/sh: -c: line 1: `"" (cd /usr/khoros/res/tg; xemacs & )

This used to work no problem. A similarly defined menu item also has
problems:

AddToMenu "Editors" "Text..." Title
+ "Xemacs" Exec exec "(cd /usr/khoros/res/tg; xemacs &)"

results in

exec: /var/X11R6/lib/fvwm-2.0/fvwm/(cd /usr/khoros/res/tg; xemacs &):
cannot execute: No such file or directory

Why does the path get prepended to the command? Is that a flag in a
Makefile or configure file that I screwed up somewhere?

2. Whenever I restart FVWM (this happened with version 1.24 as well) I get
the following X error:

X Error of failed request: BadWindow (invalid Window parameter)
  Major opcode of failed request: 25 (X_SendEvent)
  Resource id in failed request: 0x2800003
  Serial number of failed request: 157
  Current serial number in output stream: 158

the serial numbers change (though are sometimes the same two or three
times in a row) but the other stuff is the same. I have no idea what
window could be causing this.

3. Finally, is there any way to get icons to align themselves on their
text (ie not on the pixmaps)? I have pixmaps of slightly varying sizes,
and they end up being all over the place as they appear to be aligned on
their top edge.

That's all for now... Thanks in advance for any suggestions.
Cheers,

Dave

+=========================================================================+
| Dave Lane dlane_at_lincoln.ac.nz |
| NZ Forest Research Inst. |
| Dept. of Natural Resource Engineering |
| Lincoln University Wk: +64 3 325 2811 x8794 |
| P.O. Box 84 Hm: 343 3192 |
| Lincoln, NZ Fx: 325 3845 |
+=========================================================================+



--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Sep 27 1995 - 17:21:58 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST