FVWM: Updated logo page

2006-11-11 Thread Felix E. Klee
FYI: I updated my web page with the FVWM logo and variants:

  http://sites.inka.de/~W1787/fvwm/logos/

Provided now are some additional variants including graphics for buttons
and side pics.  Note that most of the graphics are pretty raw which
should make it more or less painless to adapt them for example to your
favorite theme.

Some random links to free graphics programs that can deal with the data
available for download:

- http://www.xaraxtreme.org/

- http://www.blender.org/

- http://www.inkscape.org/

- http://www.gimp.org/

-- 
Felix E. Klee



FVWM: [FVWM|FVWM-THEMES] A misconfigure niggle

2006-02-17 Thread Felix Karpfen

With my current setup, I am able to load "Nautilus" via 

Root menus->System->Nautilus.

And, as far as I can tell, almost everything still works.

But it is a "one-way-street".

The screen changes from my FVWM screen to the Gnome screen and I have not
discovered how get back to FVWM (restart fvwm-themes does not work).  If I
opt for "Quit FVWM" - which still works - I get the following messages on
my console screen:

[FVWM][scanForPixmap]<> Couldn't load image from

 /usr/share/gnome-system-tools/pixmaps/runlevel.png

 /usr/share/pixmaps/gnome-eog.xpm 

 menu/.

On further checking, the first two files could not be loaded because they
do not exist on my setup.  I did not know where to look for the third.

This is just a niggle.  I am very happy with what I have. But if it is
readily fixed, I would be glad to know.

My current setup is

Debian 3.1r1 and fvwm-themes_0.7.0-1_i386.deb.


Felix Karpfen
-- 
Felix Karpfen





FVWM: Remote controlling FVWM?

2006-01-29 Thread Felix E. Klee
I'd like to execute certain FVWM functions from a script.  Is this
possible and, if so, how?

Some ideas:

* I guess that one could use a program that connects to X
  and sends key events to FVWM.  FVWM then handles these key events
  according to "~/.fvwm2rc".

* Having a way to directly call, say, a function defined in
  "~/.fvwm2rc" would also be a nice solution, but I've no idea 
  whether it's feasible.

* The tool "wmctrl" seems to definetely work, but AFAIK it doesn't 
  allow calling arbitrary functions.

As for the functions that I want to trigger: At the moment, only 
changing of virtual desktops, preferably using special functions 
that I've put into "~/fvwm2rc".

Felix

PS: No web forum please (crappy user interface, no offline
capabilities, often no threading).
-- 
Felix E. Klee




Re: FVWM: [FVWM THEMES] Configuration Problem?

2005-11-24 Thread Felix Karpfen
On Tue, 22 Nov 2005 20:46:16 +, Thomas Adam wrote
(<[EMAIL PROTECTED]>):

> On Wed, Nov 23, 2005 at 07:24:52AM +1100, Felix Karpfen wrote:
>> The root directory switched to "read-only" mode and the computer could
>> not be shut down cleanly. In fact it could only be shut down by
>> switching off the power.
> 
> Check your logs -- these symptoms, as I say, sound like something on a
> much larger scale than just a software glitch in this instance.

Firstly, my thanks for both responses.

And, I fear, the (consensus) diagnosis is probably spot-on.

I recently purchased a new computer and installed Linux myself (The vendor
offered to install Windows - which I declined).

Right at the start of the install Linux (Debian) asked if I wanted to
check the HD for faulty Sectors.  To which I foolishly said "No".

It appears that I have maligned both fvwm2 and Gnome.  And, if the problem
is greater than faulty Sectors and cannot be fixed by fsck, then I had
better invest in a second HD.

The advice in the replies has helped to avoid total disaster. I am fairly
conscientious about making backups.  But I usually leave them on a
separate partition of the HD;  once every 3 months or so, I burn the
backups onto a CD.  It looks as though I need to do that much more
frequently - while awaiting the arrival of the next crash.

Felix Karpfen

-- 
Felix Karpfen





Re: FVWM: [FVWM THEMES] Configuration Problem?

2005-11-22 Thread Felix Karpfen
On Sun, 20 Nov 2005 21:13:09 +, Thomas Adam wrote
(<[EMAIL PROTECTED]>):

> On Mon, Nov 21, 2005 at 07:46:53AM +1100, Felix Karpfen wrote:
>> Most of the time, my setup works very well.
> 
> I recall helping you set it up.  :)
> 
>> - fvwm2 + Nautilus causes a lock-up; 
>> - fvwm2 + Nautilus + Gnome
>> Session Manager causes an unrecoverable crash.
> 
> If it dumps a corefile, can you send us a backtrace via gdb?  It ought
> to probably be sent to fvwm-workers.

The crash was really _very_ serious and I am not eager to repeat it.

The root directory switched to "read-only" mode and the computer could
not be shut down cleanly.  In fact it could only be shut down by
switching off the power.

And after switching the power back, I had to run fsck manually to let
the computer clean up the mess - which took quite a time.  And I lost
several of my few remaining hairs while biting my fingernails and
wondering whether the crash was beyond fsck's ability to fix.

I have never attempted to use a "corefile" but, from a very distant
memory, I believe it sits in /var/log/wtmp.  Is that correct?

While running fvwm2 with the Gnome Session Manager opened up
attractive new routines and possibilities, I think the price is too
high.  In 5 years of Linux, I have never encountered crashes such as
the two crashes that I have managed to survive in the past few weeks.

If there is no simple tweak to my existing fvwm2 configuration then
then I would prefer to live without "session management" (as I did
successfully for several years).

To make my query more :

"fvwm2 offers two "Theme Settings Screens" called "Theme Settings
(form)" and "Themes Settings (gtk)".  What documentation should I read
to use these two screens intelligntly - assuming that the defaults
need changing if I choose to use Nautilus and/or the Gnome session
Manager.


Felix Karpfen

-- 
Felix Karpfen





FVWM: [FVWM THEMES] Configuration Problem?

2005-11-20 Thread Felix Karpfen
I use Debian Sarge as my OS and fvwm2 themes from fvwm-themes_0.7.0-1
as my XWindows Manager.

Most of the time, my setup works very well. 

However there  something very wrong with my fvwm2
configuration.

Although fvwm2 offers both the Gnome Session Manager and the Gnome file
manager (Nautilus) as options (which I used), at present:

- fvwm2 + Nautilus causes a lock-up;
- fvwm2 + Nautilus + Gnome Session Manager causes an unrecoverable
  crash.

All  will be gratefully received.

Felix Karpfen
-- 
Felix Karpfen





Re: FVWM: test email

2005-10-11 Thread felix
Oh dear, that wasn't supposed to escape.  Of course, this one isn't
much more useful :-)

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



FVWM: test email

2005-10-11 Thread felix
Tue Oct 11 21:26:47 PDT 2005



FVWM: [FVWM-THEMES] Configuration error

2005-10-09 Thread Felix Karpfen
My attempts to enable "sound" from the "FVWM -Theme Settings" screen
failed with the following error message:

,
| Unexisting variant `` in component `settings/gnome/user-menu`
`

which, unfortunately, I do not understand.

The following additional information may be relevant:

,
| - My OS is Debian Sarge
| 
| - The (Debian-installed) version of fvwm is
|  fvwm 2.5.12 compiled on Nov 20 2004 at 21:26:15
|  with support for: ReadLine, RPlay, Stroke, XPM, PNG, 
|  Shape, XShm, SM, Bidi text, Xinerama, XRender, XFT, NLS
| 
| -the installed fvwm-themes are:
| 
|   fvwm-themes-extra_0.7.0-1_i386.deb  
|   fvwm-themes_0.7.0-1_i386.deb   
| 
| And I am running fvwm in conjunction with the Gnome Session Manager
`

All advice will be gratefully received.

Felix Karpfen

-- 
Felix Karpfen
Public Key 72FDF9DF (DH/DSA)





Re: FVWM: Feature request: desktop pages larger than the screen?

2005-09-30 Thread felix
On Fri, Sep 30, 2005 at 07:01:37PM -0700, Zack Brown wrote:

> My sense here is just that it can't be done, and I'll be stuck with one of
> the suboptimal workarounds already suggested here. And I guess my suggestion
> still stands, that FVWM implement some kind of control over the page-size,
> to decouple the page size and screen size.

It seems to me what you really want is maximum data area, no title bar
or borders, but something, like mouse to the top, would make the title
bar appear.  My own fvwm is set up to have no title bar and the
smallest border I could get, either 1 pixel or none (I forget).  I use
the Window key in combination with keypad keys (INSERT = menu, DEL =
close, HOME = move, END = size) to get the title bar actions.

I have seen and played with those window managers which roll the data
window up inot the title bar like an old window shade.  Maybe there is
something you could do to get the opposite effect; some hot key which
pops up a title bar, or a menu with title bar actions.  Or if the
window really is maximized, a one pixel title bar, and any click in
there (edge of screen is pretty easy to click on) brings up a title
bar menu.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



FVWM: The Ring of Windows: Sorting by the last time they had the focus?

2005-09-26 Thread Felix E. Klee
The FVWM man 2.4.15 man page says:

  The windows in the ring are either ordered  by creation  time  (if the
  FPSortWindowlistByFocus respecively NeverFocus or MouseFocus styles
  are used) or by the last time they had the focus.

But I want NeverFocus *and* have my windows sorted in order by the last
time they had focus!  Is this somehow possible?

In particular I want to set up the Win-Tab key combination to switch
between two windows, back and forth (*somewhat* similar to MS
Windows with Alt-Tab).  In fact, at the moment I've the following
lines in my "~/.fvwm2rc" but with the mentioned sort order it's not
of much use to me:

  AddToFunc RaiseAndFocusNext
  + I Next (CurrentDesk,!Focused,AcceptsFocus) Raise
  + I Next (CurrentDesk,!Focused,AcceptsFocus) Focus

  Key Tab  A   4   RaiseAndFocusNext

BTW, yes I'm aware of the FAQ entry 3.3 but, AFAICS, it does not really
apply to the case that I want.  In particular, I do *not* want a new
window to pop up in the middle of the screen: I want to have windows
switch right away when I hit Win-Tab.
-- 
Felix E. Klee




Re: FVWM: Feature request -- trap keys after focus change -- Thanks!

2005-07-31 Thread felix
Thanks folks.  FVWM gets better and better, even in the past!  I've
changed my .fvwm.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



FVWM: Feature request -- trap keys after focus change

2005-07-31 Thread felix
I am not sure if a window manager is the right place to do this, but I
thought I'd at least throw this out so the kind list readers can tell
me where it has already been suggested and why it wouldn't work the
way I hope :-)

One of the most annoying things about Mozilla / Firefox is the way it
will raise itself to the top when it has a new cookie to confirm, or a
trashwave plugin to be denied installation yet again.  I use focus
follows mouse, and it is intensely annoying to be typing in anything
else, form details, email in another program, shell command, whatever,
and suddenly find the last few keystrokes have gone to the popped up
window, especially if one of them happens to be ENTER or some other
action key.

Would it be possible to add a window manager configuration option to
trap keys and mouse clicks in the second or two (configurable) after a
focus change like this?  I think it only matters when a program
changes its own focus, either directly or indirectly.

It seems to me in my naivete that a window manager is an excellent
place to do this, but it also seems to me that it would be pretty
inefficient for X to route all keystrokes and button clicks thru the
window manager rather than directly to the app in question.  Is this
the kind of thing that could be done but at the loss of efficiency?

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: FVWM: Mozilla "losts keyboard focus" sometimes

2005-06-04 Thread felix
On Sat, Jun 04, 2005 at 04:52:51PM +0200, Bj?rn Steinbrink wrote:
> 
> This is, AFAICT, not FVWM related, as I have experienced the same with
> metacity (Gnome) and IIRC also with wmi. Often changing focus using
> alt+tab works here to get a correct focus. I think that Mozilla tries to
> keep track of the currently focussed window itself and has some bug
> there, as I sometimes even get a bookmark opened in the wrong window,
> although it was selected from the bookmark menu.

I have had many many many focus problems with mozilla and firefox.
Sometimes page down will apear to do nothing, yet I later discover
some other opened tab has paged down for no reason.  Opening a link in
a new window using the right click menu loses focus when the new
window goes away; I have to click in the old window to use page
up/down again.  Pasting into the URL field with the middle button
sometimes forgets the focus and I have to click somewhere in the URL
in order to hit ENTER.  Showing a tab while it is still resolving the
name or before anything much has been downloaded (and nothing
displayed) leaves the focus somewhere other than the page itself, and
I have to click somewhere innocuous before page up/down work.

Some are repeatable, most are not.  Mozilla/firefox has terrible focus
problems, whether using it with Redhat, gentoo, or slackware.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Session Management under fvwm2

2005-05-11 Thread Felix Karpfen
On Mon, 09 May 2005 00:32:47 +0100, Thomas Adam wrote
(<[EMAIL PROTECTED]>):

> you might also want to read an article I published on session
> management and fvwm:
>
> http://linuxgazette.net/100/adam.html
>

Belatedly, I have finally located a  fvwm man page that appears to
address my problems.  It says:

,

|  Most users just should put:
| 
| fvwm-themes-start
| 
|as  the  last  line of their .Xclients, .xinitrc or .xsession file.  If
|you want to use FVWM Themes with a real session manager, say GNOME, you
|need to use the --no-start option and put:
| 
| fvwm-themes-start --no-start
| gnome-session
`

And then?

It looks as though both entries are taken seriously.  I end up with
the gnome desktop and my previous-loaded packages - when loaded onto
the desktop - open at the point at which I had left them when I shut down
fvwm2.

The first tweak suggested in:

 http://linuxgazette.net/100/adam.html

does not appear to work in conjunction with "fvwm-themes".  I have
failed to locate the "gnome-session-manager" (because I lack a basic
familiarity with Gnome) and I suspect that the "killall" command needs
additional modification if it is to start "fvwm-themes" next time.

And, in view of the other posts, where should the xearth command go?
Left where it is or into ".xinitrc"?

I venture to send this follow-up, because it looks as though it now needs
very little to achieve what I was trying to do.


Felix Karpfen
-- 
Felix Karpfen
Public Key 72FDF9DF (DH/DSA)


--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Session Management under fvwm2

2005-05-09 Thread Felix Karpfen
On Sat, 07 May 2005 22:08:33 +0100, Thomas Adam wrote
(<[EMAIL PROTECTED]>):

> 
> --- Felix Karpfen <[EMAIL PROTECTED]> wrote:
>> It would help at least one novice to have an example of an entry in the
>> (personal) configuration file that shows how to make a routinely used
>> menu into a permanent entry whenever fvwm2 is started.
> 
> If I understand you, you just want to add something like:
> 
> DestroyMenu mymenu
> AddToMenu mymenu
> + "program1" Exec exec prog1
> + "program2" Exec exec prog2 -option
>  
> Although I doubt that is what you want -- can you provide a clearer
> example of what you're actually wanting to do?
> 

 My apologies for failing to mention one important item - I access fvwm2
 via fvwm-themes. 
 
 Here is the content of my "personal" directory:
 
  [EMAIL PROTECTED] felixk]$ ls -l .fvwm/themes/personal/
 total 64
 -rw-r--r--  1 felixk felixk   96 Apr 18  2003 bindings-extra
 -rw-r--r--  1 felixk felixk 8008 Feb 28 11:52 functions-appbind
 -rw-r--r--  1 felixk felixk  776 Apr 28 21:33 functions-appbind-extra
 -rw-r--r--  1 felixk felixk   94 Apr 18  2003 functions-extra
 -rw-r--r--  1 felixk felixk 1459 Apr 18  2003 globalfeel
 -rw-r--r--  1 felixk felixk  678 Mar 16 12:32 menus-extra
 -rw-r--r--  1 felixk felixk0 Apr 18  2003 menus-programs-extra
 -rw-r--r--  1 felixk felixk   80 Aug 14  2004 startup
 -rw-r--r--  1 felixk felixk   95 Apr 18  2003 startup.01.bk
 -rw-r--r--  1 felixk felixk   68 Apr 18  2003 stroke-extra
 
 And these are the current entries in my "startup" file (which I imagine
 needs additions):
 
 AddToFunc InitFunction
 + I Exec sleep 5 
 + I Exec exec xearth -label -wait 240 
 
 The programs that I load routinely are the Opera browser, the Pan
 newsreader and the Gnome terminal.  I load each of them onto a different
 page and envisage that the pages need to be specified in the start-up
 file. It would be great if the programs opened at the point at which
 they were closed when fvwm2 was shutdown.  Not really necessary since
 Opera and Pan do this by default.
 
 I hope that I have the terminology correct.
 
 Thank you for the prompt reply.
 > 
 Felix Karpfen
-- 
Felix Karpfen
Public Key 72FDF9DF (DH/DSA)


--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Session Management under fvwm2

2005-05-07 Thread Felix Karpfen
The fvwm2 man page includes the following information:

,[ session_management.txt ]-

|   Fvwm doesn't save any information regarding styles, decors,
|   functions or menus.  If you change any on these resources during
|   a session (e.g. by issuing Style commands or by using various
|   modules), these changes are lost after saving and restarting the
|   session. *** To become permanent, such changes have to be added to
|   the configuration file.***

`

It would help at least one novice to have an example of an entry in
the (personal) configuration file that shows how to make a routinely
used menu into a permanent entry whenever fvwm2 is started.

For the record, I use one menu per page and switch between pages to
access my various (routinely-used) menus.

If this information is already documented, I would be grateful to be
pointed to the reference.

Felix Karpfen
-- 
Felix Karpfen
Public Key 72FDF9DF (DH/DSA)


--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Is it possible to pop up FvwmWinList near the mouse?

2005-01-03 Thread felix
On Mon, Jan 03, 2005 at 05:30:34PM +, Mikhael Goikhman wrote:
> On 31 Dec 2004 06:35:49 -0800, [EMAIL PROTECTED] wrote:
> > 
> > Transient does more than I want :-( With the FvwmWinList, it also no
> > longer tracks the mouse as it moves over different windows.  Instead,
> > it shows which window had focus when it popped up, and since it popped
> > up under the mouse, it always shows itself, rather than where the
> > mouse was before it popped up.
> 
> It is a good idea to setup:
> 
>   Style FvwmWinList NeverFocus
> 
> There is UnderCursorPlacement patch somewhere. But from what you
> describe, I think you want the transient modules that go away on any
> press or click. I don't think you want to have multiple pagers or
> multiple windowlists on the screen that should be explicitelly closed.

Well, no :-) I like the taskbar and pager to stay until I dismiss
them.  I am happy with every aspect of how they work now, without
Transient and without NeverFocus, except I want them to pop up under
the cursor.  Transient itself seems to me to do to many things.  Pager
disappears as soon as any key is hit, but WinList stays around longer.

-- 
    ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Is it possible to pop up FvwmWinList near the mouse?

2004-12-31 Thread felix
On Fri, Dec 31, 2004 at 09:39:49AM +, Mikhael Goikhman wrote:
> On 30 Dec 2004 10:46:18 -0800, [EMAIL PROTECTED] wrote:
> > 
> > Now that I have discovered FvwmWinList instead of Windowlist, I have
> > been customizing it.  I have one hotkey to pop it up, another to make
> > it go away.  One thing I would like is to have it pop up near the
> > mouse, not any fixed location.  This would be similar to the xmessage
> > option -nearmouse.  Is this possible?  I'd like this for FvwmPager
> > too, and probably others later.
> 
> This does what you want:
> 
>   FvwmWinList -transient
>   FvwmIconMan -transient
>   FvwmPager -transient 0 3

Transient does more than I want :-( With the FvwmWinList, it also no
longer tracks the mouse as it moves over different windows.  Instead,
it shows which window had focus when it popped up, and since it popped
up under the mouse, it always shows itself, rather than where the
mouse was before it popped up.

With FvwmPager, as soon as I press any other key, it goes away.

Transient seems to have different effects for different modules.  All
I want is to change the popup location, nothing else.

-- 
    ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Is it possible to pop up FvwmWinList near the mouse?

2004-12-30 Thread felix
Now that I have discovered FvwmWinList instead of Windowlist, I have
been customizing it.  I have one hotkey to pop it up, another to make
it go away.  One thing I would like is to have it pop up near the
mouse, not any fixed location.  This would be similar to the xmessage
option -nearmouse.  Is this possible?  I'd like this for FvwmPager
too, and probably others later.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: FvwmWinList Action

2004-12-30 Thread felix
On Wed, Dec 29, 2004 at 11:53:49PM -0500, Dan Espen wrote:
> [EMAIL PROTECTED] writes:
> > *FvwmWinListAction Clock3 Module "FvwmIdent" FvwmIdent
> Except it should say "Click3", not "Clock3".
> > *FvwmWinList: Action Click3 Module FvwmIdent
> Both commands do the same thing.  The second syntax is preferred.

Whoops on the typo, that is my fault, not O'Reilly's.  I found my
problem, too ... I was still using the old WindowList, not
FvwmWinList.  Now it works :-)

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: FvwmWinList Action

2004-12-29 Thread felix
In the 4th edition Linux In A Nutshell from O'Reilly, there is a
section on fvwm2 which includes the following sample configuration:

*FvwmWinListAction Clock3 Module "FvwmIdent" FvwmIdent

which does not work.  The manpage says this should do the trick:

*FvwmWinList: Action Click3 Module FvwmIdent

which seems to not work either.  No error message from either attempt,
and I tried several variations.

I am running gentoo with fvwm version 2.5.10-r3 on an opteron system.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Fishy Software-Patents: Please Participate in Web-Demo

2004-12-20 Thread Felix E. Klee
At Mon, 20 Dec 2004 15:14:54 +0100,
Uwe Pross wrote:
> Of course! 

Thanks.   I added FVWM to the list of supporters:

http://demo.ffii.org/support.php

Unfortunately, things seem to have changed in a bad way:

http://kwiki.ffii.org/Kuenast041221De

There's a little hope, though, that some states may object adopting the
item, at least on legal grounds: Having the SWPat directive as an
"A"-item on the agenda by tomorrow violates the Council's rules of
procedure.

Felix
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Fishy Software-Patents: Please Participate in Web-Demo

2004-12-20 Thread Felix E. Klee
At Mon, 20 Dec 2004 15:14:54 +0100,
Uwe Pross wrote:
> > Could you please add a banner or something - It would be very helpful,
> > also to motivate other sites.
> 
> Of course! Could you please post a location where to get "a
> banner or something".

Here:

http://demo.ffii.org/banner.html

Thanks for your cooperation.

Felix
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Fishy Software-Patents: Please Participate in Web-Demo

2004-12-20 Thread Felix E. Klee
At Mon, 20 Dec 2004 04:19:35 +0100,
Felix E. Klee wrote:
> Council on Tuesday next week.

To be more specific: Tommorow!

Could you please add a banner or something - It would be very helpful,
also to motivate other sites.

Felix
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Fishy Software-Patents: Please Participate in Web-Demo

2004-12-19 Thread Felix E. Klee
Hi,

unfortunately the FFII and related organizations have been forced into
some last minute actions to prevent the council from "silently" passing
the EU Software Patent directive in the Agriculture and Fisheries
Council on Tuesday next week.  That would be one major step towards the
legalization of Software Patents in Europe.  Read more about it on the
corresponding protest page:

http://demo.ffii.org

In spite of the last minute call for protest, quite a large number of
corporations, organizations, and individuals have decided to participate
in a Web-Demo which may prove to be an important channel to make the
press aware of the topic.

It would be great if FVWM, an large and well known Free Software
project, could participate in the demo, either by substituting the home
page, or by putting a banner on web page(s).  Links to banners can be
found on the demo page mentioned above.

Please also help spreading the word quickly, by contacting Free Software
projects and other players in the software business.  I need to get some
sleep now. %-)

Felix

PS: I still have some more FVWM logo images lying on my hard disk that I
haven't gotten around to finish up.  If you want to include a banner or
some such thing into FVWM 2.5, let me know, and I'll hurry up.
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: gimp2 + StartsOnDesk + SkipMapping

2004-09-02 Thread Felix E. Klee
On Thu, 2 Sep 2004 17:34:37 +0100 Tavis Ormandy wrote:
> This works here:
> 
> Style Gimp-2.0 StartsOnPage 2 2, SkipMapping, !FPFocusByFunction

Just tired that. It doesn't work for me, but I'm still using
2.5.8. BTW, I've

Style * SkipMapping

and no styles with ShowMapping in my config. So, I assume that this is
either a bug in FVWM 2.5.8 or Gimp 2.0.2 uses a special feature to
circumvent SkipMapping.

Felix
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: gimp2 + StartsOnDesk + SkipMapping

2004-09-02 Thread Felix E. Klee
Hi Chris,

On Thu, 3 Jun 2004 14:24:29 +0200 Chris Rouch wrote:
> I want the gimp to start on desk 3, so I have the following
> configuration:
> 
> Style "gimp-2.0"  StartsOnDesk 3 SkipMapping
> 
> The splash screen goes to desk 3 without altering my current desk.
> However as soon as the main application appears my desk is switched, so
> it looks like the SkipMapping is being ignored. 
> 
> Does anyone know how to fix this?

Did you ever solve that problem. I find it quite annoying.

Felix
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Appending sth. to an empty(?) env. var.?

2004-02-21 Thread Felix E. Klee
On Sat, 21 Feb 2004 22:22:33 + Mikhael Goikhman wrote:
>   PipeRead 'echo SetEnv SOME_PATH $SOME_PATH:/usr/lib'

Thanks for this nice and simple solution. I wrapped it into a function
(took some time, though, until I had the quoting correct):

DestroyFunc AppendToEnv
AddToFunc AppendToEnv
+ I PipeRead 'echo SetEnv $0 $$''$0:$1'

Felix

PS: To contact me off list don't reply but send mail to "felix.klee" at
the domain "inka.de". Otherwise your email to me might get automatically
deleted!
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Appending sth. to an empty(?) env. var.?

2004-02-21 Thread Felix E. Klee
Hi,

under FVWM, how can I get the same behavior as the following BASH
command:
export SOME_PATH=$SOME_PATH:/usr/lib
?

The problem is that I don't know whether $[SOME_PATH] is already set or
not. When it is set, then 
setenv SOME_PATH $[SOME_PATH]:/usr/lib
sets the value of $[SOME_PATH] to "$[SOME_PATH]:/usr/lib". When it is
not set, then the above command works as desired.

Felix

PS: I know that I still have to finish up those logos. I hope that I'll
find the time next week (currently, I still have a lot of other
obligations to fullfill).

PPS: To contact me off list don't reply but send mail to "felix.klee" at
the domain "inka.de". Otherwise your email to me might get automatically
deleted!
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Best place to set the environment?

2004-02-11 Thread Felix E. Klee
Hi,

I wonder what is the best place to initialize environment variables.

Until recently, I let them be initialized with a line
source .environment 
in my .xinitrc right before the window manager is started
(".environment" contains lines of the kind "export VAR=..."). An
advantage of this method is that .environment can, via ~/.bash_profile,
also be used to initialize a BASH login shell. A disadvantage is that I
have to restart the X server in order to reinitialize environment
variables "globally".

This disadvantage made me think of initializing the environment in my
FVWM config. I just tried the following setup which seems to work fine
("environment" contains lines of the type "setenv VAR ...",
"FVWM_ORIG_PATH" is used in order to reinitialize the path in
"environment").

AddToFunc StartFunction
...
+ I SetEnv FVWM_ORIG_PATH $[PATH]
AddToFunc InitFunction
+ I Read environment
AddToFunc RestartFunction
+ I Read environment

I wonder if this solution has any major drawbacks and if there is an
even better way to accomplish what I want (e.g. a way that lets me keep
my original ".environment").

Also, where do others initialize their environment?

Felix

PS: To contact me off list don't reply but send mail to "felix.klee" at
the domain "inka.de". Otherwise your email to me might get automatically
deleted!
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Focusing the top most window that accepts focus?

2004-01-08 Thread Felix E. Klee
On Mon, 5 Jan 2004 23:11:24 +0100 Felix E. Klee wrote:
> For example, I often have the problem that a
> nonfocusable button bar obscures the topmost focusable window.

FYI, I finally solved that problem by creating a function

AddToFunc LowerPanel 
+ I Next (FvwmButtons,CurrentDesk) Lower 

After executing it by pressing a key combination, I can execute

AddToFunc FocusRaised
+ I Next (AcceptsFocus,Raised,CurrentDesk) Focus

to focus a focusable window that was originally below the button bar.

Still, TopMost and BottomMost commands would be nice to have in reserve.

Felix

-- 
To contact me off list don't reply but send mail to
felix DOT klee AT inka DOT de
Otherwise your email to me might get automatically deleted!
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Focusing the top most window that accepts focus?

2004-01-05 Thread Felix E. Klee
On Mon, 05 Jan 2004 13:28:53 -0500 Dan Espen wrote:
> > Topmost (AcceptsFocus) Focus
> > or maybe Topmost (CurrentPage,AcceptsFocus) Focus

Exactly. That would be nice.

> Are we using topmost in the visual sense?

Not necessarily. I assume FVWM manages a list internally in order to know in 
which order to draw windows, e.g. when a screen update happens. A command like
topmost would go through that list, starting from the highest window and 
proceed step by step to the lowest window if necessary.
 
> I think we could do:
> 
> Next (!Obscured) Focus

No, that's not what I want. For example, I often have the problem that a
nonfocusable button bar obscures the topmost focusable window. Then I
want that window to be focused (and maybe raised). Here's a little illustration:

+---+
|some window|
  +-+   |
  | some window |--+
+---+   | currently|
|Topmost|---+ focused  |
 +---+ focusable| |   window   |
 |BUTTONS| window   | +----+
 +---+--+

Felix

-- 
To contact me off list don't reply but send mail to
felix DOT klee AT inka DOT de
Otherwise your email to me might get automatically deleted!
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Focusing the top most window that accepts focus?

2004-01-05 Thread Felix E. Klee
Hi,

I need a solution to give focus to the top most window that accepts
focus. Any ideas?

At first, I tried 
Next (AcceptsFocus,Raised) Focus 
But this doesn't do what I want if the currently raised window is one
that doesn't accept focus. In this case I want the second highest window
to get focus, or, if the second highest doesn't accept focus, the third
highest, and so on.

Felix

-- 
To contact me off list don't reply but send mail to
felix DOT klee AT inka DOT de
Otherwise your email to me might get automatically deleted!
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Emacs-like key sequences - signature line question

2003-09-01 Thread Felix E. Klee
On Mon, 01 Sep 2003 11:46:38 -0400 Dan Espen wrote:
> > Mario, can you explain this?
> 
> I'm not Mario, but I can offer a theory.
> 
> When I ran it I evaluated it in the scratch buffer.
> It didn't seem to be growing very fast.
> 
> Since there is a print in there, I think the memory was
> space in the output buffer for the printing.

But the printing is going to the *Messages* buffer whose number of
lines is limited.

Well, I wonder whether what I wrote is actually right. I just ran the
expression again and I couldn't see it filling up memory. Here's my
theory of what happened (I don't recall it exactly anymore):

1. I started evaluation of the expression in the *scratch* buffer. This
   takes up a lot of system time which I don't realize since I only
   perform simple tasks like checking email.
2. After an hour or so Sylpheed Claws crashes due to some internal
   error.
3. Trying to start diagnostics applications I suddenly realize that the
   system behaves sluggish. So thinking that the purpose of Mario's
   expression was to fill up memory, I enter EMACS, and hit C-g. Now
   everything seems to be OK because it doesn't use up CPU time anymore.

Maybe I didn't really look carefully at the memory display of xosview
and the memory wasn't really filled up. Maybe the memory was really
filled up (I recently discovered that my kernel has a memory leak) and I
didn't realize that it stayed that way after hitting C-g. I don't know.

Sorry for the confusion.

Felix

-- 
To contact me in private don't reply but send mail to
felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Emacs-like key sequences

2003-09-01 Thread Felix E. Klee
> Fill me in, what's that do?

Well, that's what I wanted to know as well (I never used the do
construct before). So I let it run unattended and it started filling up
memory till a point where my machine started running out of memory and
programs started to crash. Luckily, I could hit C-g quickly enough to
prevent further damage. :)

Now I know that it calculates Fibonacci numbers. I still don't know,
however, why it fills up memory. Emacs doesn't seem to work with
arbitrary precision integers and the do construct is no recursion that
fills up a call stack. So the memory needs are constant. 

Mario, can you explain this?

Felix

-- 
To contact me in private don't reply but send mail to
felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Emacs-like key sequences

2003-08-30 Thread Felix E. Klee
On Sat, 30 Aug 2003 16:28:19 +0200 Mario Domgörgen wrote:
> (do ((a 1 b) (b 1 (+ a b))) (nil a) (print a))

Asshole! ;)

Felix

-- 
To contact me in private don't reply but send mail to
    felix DOT klee AT inka DOT de
Note that on Saturday, August 30th 2003, I won't be able to access
emails sent to the above address. So, on this day and on Friday evening,
use this address instead:
felix DOT klee AT gmx DOT net

My phone-# for urgent cases: +49 7531 458323
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: SW Patents protest page

2003-08-29 Thread Felix E. Klee
On Fri, 29 Aug 2003 16:17:20 +0200 Uwe Pross wrote:
> > I am going to remove the protest web page against software
> > patents today or tommorow.
> 
> I decided to leave the protest page till monday when the
> parliament vote takes place.

Read this:
http://www.heise.de/newsticker/data/tol-29.08.03-000/

Thanks for participating!

BTW, we haven't made up our mind yet, whether we should encourage web
sites to continue protesting until the end of September, or not.

Felix

-- 
To contact me in private don't reply but send mail to
felix DOT klee AT inka DOT de
Note that on Saturday, August 30th 2003, I won't be able to access
emails sent to the above address. So, on this day and on Friday evening,
use the address
felix DOT klee AT gmx DOT net
instead.
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Could FVWM help protesting against SWPats?

2003-08-24 Thread Felix E. Klee
On Thu, 21 Aug 2003 22:22:36 +0200 Uwe Pross wrote:
> > I'm for closing down the site completely (with a statement, of
> > course).
> 
> The version of the protest page can be seen when adding 
> ?aswp=1 to any www.fvwm.org address.
> http://www.fvwm.org?aswp=1
> This site can be made as default for the protest time.

That's fine! Could you add FVWM to the Wiki at
http://wiki.ael.be/index.php/OnlineDemoPartnersWebsites ? It's always
nice to have as many sites listed there as possible.

Felix

-- 
To contact me in private don't reply but send mail to
felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Could FVWM help protesting against SWPats?

2003-08-20 Thread Felix E. Klee
Hi,

something else:

I'm a member of the FFII and we are organizing a demonstration on
August 27th (see the latest press release at http://swpat.ffii.org/
neues/03/demo0819/index.en.html) to make people and MEPs (members of the
European parliament) aware of the dangers surrounding the legalization
of software patents that may be up for vote in the European Parliament
as early as September 1st. The main part of the demonstration will take
place in Brussels. In addition there will be an "online demonstration"
whose idea is to simulate the effects of Software Patents by shutting
down web sites on August 27th (http://swpat.ffii.org/gruppe/demo/
index.de.html).

Is there any chance that the FVWM project participates in this event?
Note that the FVWM web site doesn't need to be closed down completely.
On http://swpat.ffii.org/gruppe/demo/index.de.html there are several
examples on how it's possible to show ones concerns without taking such
drastic measures, but there's no need to stick to the examples.

Just as a quick reminder: Many trivial things are already patented in
the US such as tabbed palettes (http://swpat.ffii.org/patente/
wirkungen/palette/index.en.html) which e.g. FVWMTabs is infringing upon.
I for one don't want to have the same situation in Europe and fear that
it will ultimately kill the competitiveness of Free Software. So this
protest is likely to be our last chance to somewhat influence the
decision making process.

Felix

-- 
To contact me in private don't reply but send mail to
felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Wiki: Scripts section and naming conventions

2003-08-01 Thread Felix E. Klee
On Friday 01 August 2003 12:09, RvB wrote:
> > Another related thing: In CreatingNewPages it says that the WikiNames
> > for new subsections should be e.g. Tips/CenterWindow instead of
> > CenterWindow. Doesn't this cause inconsistencies when rearranging
> > sections as there seems to be no action in the Wiki for renaming pages?
>
> we thought about this. and this is why our subpages structure is not
> very deep. the subpages hirachy is independent from the hirachy on the
> frontpage. Tips/CenterWindow is a tip, and always will be a tip, and so
> it will stay in Tips/ ... we use this because a list of children of a
> page can automatically be generated (at the moment this is only a test).
>
> Good: Tips/GradientBackgrounds
> Bad: Tips/Backgrounds/Gradient

OK, this makes sense.

Felix

-- 
To contact me in private don't reply but send mail to
felix DOT klee AT inka DOT de

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Wiki: Scripts section and naming conventions

2003-08-01 Thread Felix E. Klee
Hi,

I have another question concerning the current Wiki setup (sorry that I 
don't use the dedicated IRC channel - but it is really impractical for me): 
What is the "Scripts" section for? I put in some information on how to 
integrate the menus from CodeWeavers apps and the SuSE menus because 
someone already predefined a "Creating Menus" section. Now, I'm not so sure 
anymore that this is the correct place - maybe stuff like this belongs in 
the "Tips and Solutions" section. So, could someone please clarify what the 
"Scripts" section is for by documenting it in the Wiki?

Another related thing: In CreatingNewPages it says that the WikiNames for 
new subsections should be e.g. Tips/CenterWindow instead of CenterWindow. 
Doesn't this cause inconsistencies when rearranging sections as there seems 
to be no action in the Wiki for renaming pages?

Felix

-- 
To contact me in private don't reply but send mail to
felix DOT klee AT inka DOT de

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Wiki: How to delete a page?

2003-07-31 Thread Felix E. Klee
On Thursday 31 July 2003 23:48, RvB wrote:
> > I want to remove a superfluous page that I created recently but I'm
> > unable to do so because the actions at the bottom of the page don't
> > include the delete action. However, in "Recent Changes" I see that
> > other users were able to delete pages. So what is the way to go?
>
> i did not activate the DeletePage action for security reasons. the
> "Deleted" pages were deleted on the command line in the wiki file
> structure itself ... we should discuss about enabling the DeletePage
> feature.

Hm, I don't know how to do that (and I probably don't have the permissions 
to do so). Therefore, could you do it for me? The FEKlee page is obsolete 
and should be deleted. BTW, the reason that it is obsolete now has to do 
with the UserPreferences problem outlined in the thread above (and also 
with the fact that it is late now and I should go to bed). Here's how I got 
confused:
1. When creating a new account I entered "FEKlee" into the ID field and
   "Felix E. Klee" into the Name field because I thought that the data in
   the ID field will become my user name and Name is for, well, my name.
2. Then I created my local user page by the name of FEKlee and wondered why
   it doesn't get linked to from e.g. RecentChanges (the reason was of
   course that my user name was "Felix E. Klee").
3. So I thought that FEKlee is not a proper WikiName (but actually it is)
   and tried to change it into FelixKlee in UserPreferences but I couldn't
   find any way to change my user name (I still thought that Name referred
   to my normal name and not my user name).
4. Failing to do so, I created a new account and a new local user page by
   the name of FelixKlee and I finally found out that Name refers to the
   user name.

So, in a nutshell, the data on UserPreferences page needs to be rearranged, 
at least for people like me. In addition to separators (if the login and 
registration really must be on one page) the registration documentation 
should be move above the registration fields so that one can read it easier 
while filling these in.

Felix

-- 
To contact me in private don't reply but send mail to
felix DOT klee AT inka DOT de

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Wiki: UserPreferences page is confusing

2003-07-31 Thread Felix E. Klee
Hi,

I also have a critique about the UserPreferences page: When creating my 
account I was confused that I have to enter my email address twice and some 
kind of ID. This was due to the fact that the fields for logging in are not 
visually separated from the fields for registration (putting login and 
registration on the same page is a bad idea anyways):

   Your email address: 
   [Mail me my account data]
missing separator: 
   ID 
   [Login]
missing separator: 
   Name 
   ...

Maybe someone could fix the UserPreferences macro?

Felix

-- 
To contact me in private don't reply but send mail to
felix DOT klee AT inka DOT de

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Wiki: How to delete a page?

2003-07-31 Thread Felix E. Klee
Hi,

I want to remove a superfluous page that I created recently but I'm unable 
to do so because the actions at the bottom of the page don't include the 
delete action. However, in "Recent Changes" I see that other users were 
able to delete pages. So what is the way to go?

Felix

-- 
To contact me in private don't reply but send mail to
felix DOT klee AT inka DOT de

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Wiki for fvwm?

2003-07-31 Thread Felix E. Klee
On Wednesday 30 July 2003 11:21, Felix E. Klee wrote:
> I'll put it in the WIKI and let you know about it.

OK, I did it. You can find the information in the Wiki under "Scripts > 
MenuScripts > CodeWeaversMenus".

Felix

-- 
To contact me in private don't reply but send mail to
felix DOT klee AT inka DOT de

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Wiki is running - Building up (was: Wiki for fvwm?)

2003-07-30 Thread Felix E. Klee
On Wednesday 30 July 2003 00:33, RvB wrote:
> > Webspace can be provided by Rene van Bevern (RvB) ...
>
> so i did. i put up a configured MoinMoin Wiki on
> http://rvb.dyndns.org/FvwmWiki with an fvwm css style and a basic front
> page. 

Thank you! Let's hope that your computer will withstand the increasing 
traffic.


> the next task is finding a suitable structure to sort the data.
> don't forget: wiki is teamwork. you are all invited giving ideas on that
> topic. for now i will base a template table of contents from the
> category of the FAQ.

Unfortunately I currently don't have much time for discussion and 
maintenance. However, I'm willing to contribute some content (need to read 
the documentation first, though). Due to Paul Smith's request the first 
thing would be instructions on how to include the menus from CodeWeavers 
CXOffice and CXPlugin into FVWM. Any ideas where to put it? What about an 
additional "Menus" section in the configuration section?


> you could put a link on the fvwm page where it is well visible.

I second that. A Wiki needs many active users to be usable. There should at 
least be a link to the WIKI on the FVWM documentation page.


Felix

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Wiki for fvwm?

2003-07-30 Thread Felix E. Klee
On Tuesday 29 July 2003 23:00, Paul Smith wrote:
> CodeWeavers CXOffice and CXPlugin

I'll put it in the WIKI and let you know about it.

Felix

-- 
To contact me in private don't reply but send mail to
felix DOT klee AT inka DOT de

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Wiki for fvwm?

2003-07-29 Thread Felix E. Klee
On Tuesday 29 July 2003 08:11, Uwe Pross wrote:
> I am not that sure if it is that appropriate.
> (see http://wiki.org/wiki.cgi?WhatIsWiki) Allowing everyone
> to edit site contents requires the pages to be maintained,
> so that advertising and other unwanted, probably illegal
> stuff is removed. On the wiki pages at
> http://c2.com/cgi/wiki?WikiWikiSandbox one can even place
> pictures which is quite precarios since someone could place
> illegal ones. Sure, the changer's IP address is stored
> but it seems a lot of work to trace somebody which can be
> identified by it's IP address only.

Hm, other Wikis that I've used word fine (e.g. WikiPedia or the EMACS Wiki). 
But maybe that really involves some good administration. So, why not try it 
out? Maybe it works, maybe not.


> Further I don't think that it is that good for storing
> config parts for fvwm because users will hardly find
> something, since it will be just to much.

I see the advantages of a Wiki in it being an intermediate thing between the 
FAQ (which is very slow to update and possibly can't cover as much content) 
and the mailing lists (which are there for discussion and not to find ready 
made solutions).


> I'd rather if we collect config parts, like button setups,
> titlebar decorations, menu definitions and fvwm scripts, and
> place them together with a screenshot and description on the
> web site.

Hm, then I would have a couple of things to contribute. Among other things
1. a setup of a simple clock running in an rxvt that can be swallowed in the
   panel,
2. a setup of a simple tool to watch log files (again running in an rxvt)
   including the neccessary FVWM menu setup,
3. a setup for geometric arrangement and management of desktops (i.e. they
   are navigatable by keyboard shortcuts, and are not arranged in a linear
   fashion),
4. a method to include menus for CodeWeavers CXOffice and CXPlugin.

All these things took me quite some time to set up and are of general 
interest. In addition I would for example like to see other people's small 
one-liners for clocks, dial up utilities, etc..

Would you really add this to the FAQ?

Would I post it to the mailing list? No, because I don't want to waste my 
time to dig it out, add some explanatory text and just see it vanishing in 
the archives.


> Having them fully maintained ensures higher quality and
> saves the user time (and nerves :-)

Higher quality? - maybe. Users time and nerves? - probably not. Let's not 
forget what costs really time and nerves: browsing the mailing list 
archives and trying to forge things by oneself.


Felix
(just wondering why there is so much of a discussion trying to prevent 
someone from contributing something that might come in handy)

-- 
To contact me in private don't reply but send mail to
felix DOT klee AT inka DOT de

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Wiki for fvwm?

2003-07-28 Thread Felix E. Klee
On Thursday 24 July 2003 10:39, Mario Domgörgen wrote:
> Wouldn't it be great if fvwm has its own wiki? Fvwm is customizable and
> there are so a lot of usefull code snippets, that i would lek the idea
> of a playce where we can collect such things. In the FAQ are already
> some great pieces, but there are doubtless a lot more...
>
> What do you think of that?

I proposed that a couple of month ago as well. Surely it would would be nice 
to have such a thing but noone seems to have tackled it and I just don't 
have the time. Maybe you could do it? I'm sure the FVWM web site 
maintainers will provide you with the neccessary web space.

Felix

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Switching desktops with cursor keys problematic

2003-05-21 Thread Felix E. Klee
On Tuesday 20 May 2003 22:20, Mikhael Goikhman wrote:
> Please always specify which version do you run.
> Please always provide enough of the configuration to be understandable,
> one may only guess how exactly you defined the "." function.

Sorry, I forgot to mention:
1. I'm using 2.5.6.
2. AddToFunc .
   + I SendToModule FvwmPerl eval preprocess({ 'command' => 1 } , q~$*~)

> Anyway, I think that you use 2.5.6 instead of a later snapshot, this is
> why it does not synchronized for you. Works for me.

Interesting. I'll check out a later version when a new snapshot is 
available.

> Another solution (not sure why you don't use it anyway) is to use
> GotoDesk with the first zero parameter:
>
>   . %{ $[desk.n] > 0 ? "" : "#" }% GotoDesk 0 %{ $[desk.n] - 1 }%
>
> Then you don't need any synchronization between fvwm and FvwmPerl and it
> may work in 2.5.6 too.

Hm, I don't see much of a difference to my solution. But the above code 
indeed seems to work better. Thank you.

BTW, now that you are back to the list, could you please take a look at my 
still unanswered questions in the thread "Getting Layer of current 
window?"?

Felix

-- 
To contact me in private don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Switching desktops with cursor keys problematic

2003-05-20 Thread Felix E. Klee
Hi,

some time ago I set up keyboard shortcuts for switching desktops with the 
cursor keys. For example the left key calls the function

AddToFunc GotoDeskLeft
+ I . GotoDesk %{ ($[desk.n]%$f::hdesks >= 1) ? -1 : 0; }%

This function checks if the current desktop is in a certain range and calls 
GotoDesk accordingly. The problem however is that when I hit the left key 
very fast a couple of times, GotoDesk isn't finished between successive 
calls to GotoDeskLeft. Therefore $[desk.n] might not be up to date in 
certain calls to GotoDeskLeft and I end up on a desktop out of range.

Any ideas how to solve that problem?

Felix

-- 
To contact me in private don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: fvwm-menu-desktop creates empty menus

2003-05-17 Thread Felix E. Klee
On Saturday 17 May 2003 13:47, Felix E. Klee wrote:
> So now my question becomes: Why does fvwm-menu-desktop have problems with
> the above valid Exec line? 

It seems to be that the check_app subroutine in fvwm-menu-desktop is broken. 
After using the option "--nocheck-app" everything works fine.

Felix

-- 
To contact me in private don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: fvwm-menu-desktop creates empty menus

2003-05-17 Thread Felix E. Klee
On Saturday 17 May 2003 12:32, Mikhael Goikhman wrote:
> It may or may not not support KDE 3 yet, but try this, it should work
> more or less:
>
>   fvwm-menu-desktop --dir /opt/kde3/share/applnk --wm-icons

Thanks, this does indeed work. However, I need the user menu (from 
/home/felix/.kde/applnk), not the system wide menu.

But I found the reason for my problem: The entries in the user menu were 
mostly created by CrossOver Office. For example:

CrossOver Reset.desktop:
# KDE Config File
[Desktop Entry]
Name=Reset CrossOver
Exec="/home/felix/local/lib/cxoffice/bin/cxreset"  
Type=Application
Comment=
X-Created-by=CrossOver Office
    Icon=/home/felix/local/lib/cxoffice/support/cxreset.xpm

The problem is the Exec line. If I change it for example to 
Exec=xterm
then it works.

So now my question becomes: Why does fvwm-menu-desktop have problems with 
the above valid Exec line? Will this be fixed soon?

Felix

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: fvwm-menu-desktop creates empty menus

2003-05-17 Thread Felix E. Klee
Hi,

when I call fvwm-menu-desktop as follows I only get a hierarchy of empty 
menus.

export KDEDIR=/opt/kde3 # --install-prefix=/opt/kde3 doesn't work
fvwm-menu-desktop --desktop kde-user

Is fvwm-menu-desktop just broken or am I doing something wrong?

Felix

-- 
To contact me in private don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Simple Hack: A Run Dialog

2003-05-12 Thread Felix E. Klee
On Friday 09 May 2003 10:13, Thomas Stibor wrote:
> I use FvwmForm with following small code
>
> [...]

This looks indeed nice but it doesn't have tab completion. Anyways, with all 
these little hacks another idea comes into my mind:

Wouldn't it be nice to have a Wiki on the FVWM homepage where people can 
post their hacks and read about other peoples hacks?

Felix

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Simple Hack: A Run Dialog

2003-05-06 Thread Felix E. Klee
On Monday 05 May 2003 23:27, Johan Svedberg wrote:
> Why not just use FvwmForm?

I haven't looked at it. But I doubt that it is as simple to set up. In 
addition, with rxvt and bash I have tab completion. Is this possible with 
an FvwmForm based solution?

Felix

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Simple Hack: A Run Dialog

2003-05-05 Thread Felix E. Klee
Hi,

here is something I want to share. I found a very simple way to realize a 
run dialog (similar to grun, tkrun, etc.) using an rxvt. The trick is to 
bind the string " &\nexit\n" (I'm using bash) to the return key.

To start the dialog I created the following script:

.fvwm/run-dialog:
#!/bin/sh
rxvt +sb -name fvwm-run-dialog -title "run" -geometry 80x1+224+360 \  
--keysym.0xFF0D: " &\nexit\n" -e bash --init-file \
$HOME/.fvwm/run-dialog.bash-init

As an initialization script for bash it uses:

.fvwm/run-dialog.bash-init:
export PS1=""

And in my .fvwm2rc I put:

Style fvwm-run-dialog GrabFocus
Key R A 4 Exec exec $[HOME]/.fvwm/run-dialog

Now, I can start the dialog using "Win-R".

Felix

-- 
To contact me in private don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Getting Layer of current window?

2003-05-05 Thread Felix E. Klee
Hello? Could someone please comment on my bug report and my other question?

Thanks

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Exec ssh ... dies

2003-05-05 Thread Felix E. Klee
On Monday 05 May 2003 10:43, Ben Winslow wrote:
> > I added the following menu entry
> >
> > + "QQQ: forward inka ports" Exec ssh -N -L1119:news.inka.de:119
> > -L1125:mail.inka.de:25 -L1110:mail.inka.de:110 inka
> >
> > However, when clicking on "QQQ: forward inka ports" the ssh deamon starts
> > but terminates immediately afterwards. When I start the above ssh command
> > from a terminal everything works fine. I already tried using the "-n"
> > option but this doesn't work for port forwarding (then ssh terminates
> > immediately, even when started from a terminal).
> >
> Well, -n is what you need, and when using -N ssh doesn't terminate for
> me so long as the remote host is running ssh protocol version 2 (which
> is required for -N to work.)  If the remote host is only running
> protocol 1 and you don't have the power to upgrade the daemon on the
> remote host (which would be the ideal solution), you'll have to give ssh
> a command to run--either sleep with a long timeout, or a small program
> that simply sits around and does nothing until terminated.

Well, the remote server is running "sshd version 1.2.32 [i686-unknown-linux]" 
and I don't have the power to make an upgrade. So, I'll have to go with 
sleep. Thanks for clearing that up!

Felix

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Exec ssh ... dies

2003-05-05 Thread Felix E. Klee
On Monday 05 May 2003 10:26, Uwe Pross wrote:
> > + "QQQ: forward inka ports" Exec ssh -N -L1119:news.inka.de:119
> > -L1125:mail.inka.de:25 -L1110:mail.inka.de:110 inka
> >
> > However, when clicking on "QQQ: forward inka ports" the ssh deamon
> > starts but terminates immediately afterwards. When I start the above
> > ssh command from a terminal everything works fine. I already tried
> > using the "-n" option but this doesn't work for port forwarding (then
> > ssh terminates immediately, even when started from a terminal).
> >
> > What am I doing wrong?
>
> Do you want to start a ssh deamon or a client?

The command above clearly indicates that I want to start a client. I doubt 
that I can forward ports from "inka" to my local computer using a deamon.

> Supposing you meant a ssh client I guess you should start a
> xterm for the ssh. The following worked on my computer:
>
>  + "QQQ: forward inka ports" Exec xterm -e ssh -N \
> -L1119:news.inka.de:119 -L1125:mail.inka.de:25 \
> -L1110:mail.inka.de:110 inka.de

Sure, this will work. However, I don't want to start an xterm but redirect 
the output to a log file instead. Note that I use the ssh connection just 
for port forwarding, not for any interaction.

Felix

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Exec ssh ... dies

2003-05-05 Thread Felix E. Klee
Hi,

I added the following menu entry

+ "QQQ: forward inka ports" Exec ssh -N -L1119:news.inka.de:119 
-L1125:mail.inka.de:25 -L1110:mail.inka.de:110 inka

However, when clicking on "QQQ: forward inka ports" the ssh deamon starts 
but terminates immediately afterwards. When I start the above ssh command 
from a terminal everything works fine. I already tried using the "-n" 
option but this doesn't work for port forwarding (then ssh terminates 
immediately, even when started from a terminal).

What am I doing wrong?

Felix

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Getting Layer of current window?

2003-05-03 Thread Felix E. Klee
On Friday 02 May 2003 21:26, Mikhael Goikhman wrote:
> > there seems to be no $[w.layer] variable. How do i get the number of
> > the layer that the current window is in?
>
> There is no currently such variable, but it may be added.
>
> Modules can receive the window layers.
>
> Since there are only 12 (usually 3) layers, you may find a layer by a
> simple query (several queries) like this:

No, there seem to be 20 layers. For example I can move a window to layer 20 
and a test similar to the one below verifies that it is indeed on layer 20. 
But I can't move it higher. Is that correct?

In addition, I have another question: 
With the following procedure I can move a window to layer 0.
1. Open a window (e.g. an rxvt).
2. Restart FVWM using the "Restart" function.
3. Move the window to the default layer with "Layer default".
Is this a bug (I'm still using 2.5.6)?


>   ThisWindow (Layer 4) Echo it is on the layer 4

I wrote an initialization function that creates a function which sets the 
layer name of the current window as the title of a menu (this is useful for 
a window menu which allows changing of layers):

AddToFunc Create-Move-To-Layer-Menu-Set-Title
+ I SendToModule FvwmPerl eval \
for ($i=$f::minlayer; $i <= $f::maxlayer; $i++) { \
command("AddToFunc Move-To-Layer-Menu-Set-Title I ThisWindow (Layer 
$i) AddToMenu Window-Operations-Move-To-Layer $i Title Top"); \
}

I set the varaibles $f::minlayer and $f::maxlayer somewhere else to 1 and 
20, respectively.

Felix

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: On-Screen Display?

2003-05-02 Thread Felix E. Klee
On Friday 02 May 2003 20:23, Richard Lister wrote:
> > I want to have an on-screen display (e.g. for showing the current
> > desktop number after switching desktops). When activated it should
> > display a some text (with a transparent background) and disappear after
> > say 0.5 sec.
> >
> > How could something like this be implemented?
> >
> > If there is a program that can display text with a transparent
> > background then I think it's easy:
>
> xosd
> http://www.ignavus.net/software.html

Thanks, but this one has some problems. When I initiate several on-screen 
displays in a row (e.g. by quickly switching desktops) they overlap. TO 
avoid this I plan to use "killall osd_cat". However, osd_cat doesn't 
disappear immediatly after killing it, and therefore I'll still have 
overlapping osds. Do you have a solution for that? How do you use xosd?

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Getting Layer of current window?

2003-05-02 Thread Felix E. Klee
Hi,

there seems to be no $[w.layer] variable. How do i get the number of the 
layer that the current window is in? 

Felix

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: On-Screen Display?

2003-05-02 Thread Felix E. Klee
Hi,

I want to have an on-screen display (e.g. for showing the current desktop 
number after switching desktops). When activated it should display a some 
text (with a transparent background) and disappear after say 0.5 sec. 

How could something like this be implemented? 

If there is a program that can display text with a transparent background 
then I think it's easy:
1. killall any running instances of that program.
2. Call the program with the text message.
3. killall any running instances with FVWM's Schedule command.
Does such a program exist? Any ideas how to refine the above setup (I'd like 
to remove that dangerous killall command)?

Felix


--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Re: Re: How to remove all key bindings?

2003-04-26 Thread Felix E. Klee
On Saturday 26 April 2003 07:06, parv wrote:
> > A little less extreme is a PipeRead script reading and extracting
> > all the "Key" commands from ConfigFvwmDefaults, but its not like a
> > new builtin keybinding is added every day.
>
> How about this then (just to remove the bindings)...

Hm, why not add a simple command like "ClearKeys" in the FVWM sources? I 
imagine that to be simpler and more reliable than all these Perl scripts. 
Maybe I'll check that out some day.

Anyways, thanks a lot for your effort, parv! These scripts look nice - I 
haven't tried them out yet, though.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: How to remove all key bindings?

2003-04-25 Thread Felix E. Klee
On Friday 25 April 2003 20:21, Dan Espen wrote:
> > I would like to remove all default FVWM keybindings. How could this be
> > done?
>
> Read this section of the man page:
>
> BUILT-IN KEY AND MOUSE BINDINGS

It only describes how to remove single bindings. However, I thought there is 
a command to remove all internal bindings. This would avoid problems when 
new bindings will be added in the future (or won't there?).

Felix

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: How to remove all key bindings?

2003-04-25 Thread Felix E. Klee
Hi,

I would like to remove all default FVWM keybindings. How could this be done?

Felix

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Changing style of maximized window?

2003-04-24 Thread Felix E. Klee
On Thursday 24 April 2003 13:18, Dan Espen wrote:
> > This is not nice. Are there any hopes for "MaximizedStyle" and
> > "UnMaximizedStyle" commands?
>
> Some day.

That sounds like it's not very high in the priority list. Is this really so 
hard to implement. Many window managers (eg. KDE WM, Sawfish) allow 
different appearance of maximized and normal sized windows.

> > Another solution might be to allow the window id $[w.id] as a style
> > name in the "Style" command. Would that be hard to implement?
>
> We recently had a patch that applied styles by window id.
> One problem is that if you close a window and then open a new one,
> the new window might have the same windowid.
>
> The style by windowid would have to be removed when the window closes.

... and this isn't doable in a reliable fashion, I guess. Isn't it possible 
to tell X not to reuse window identifiers if possible? After all these 
numbers are very long and I doubt that I'll run out of identifiers during a 
typical X session (usually lasts one day).

> > The problem is that EMACS was just an example. For other applications
> > that I run in multiple instances (e.g. rxvt) this solution is, of
> > course, not applicable.
>
> I start all my rxvt's with -name to make them unique on resource name.

Well, rxvt was again just an example.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de


--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Minor man page bug

2003-04-24 Thread Felix E. Klee
Hi,

this doesn't seem to be true in FVWM 2.5.6:

FPGrabFocus  is  the  default for windows with the ClickToFocus style.

Although I specified 
Style * ClickToFocus
new windows (created e.g.  via Exec) don't receive focus unless I specify
Style * FPGrabFocus

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de


--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Changing style of maximized window?

2003-04-24 Thread Felix E. Klee
On Wednesday 23 April 2003 00:31, Dan Espen wrote:
> > Stupid me - of course it seems to be possible. For example
> >
> > DestroyFunc FuncFvwmMaximizeFullScreen
> > AddToFunc   FuncFvwmMaximizeFullScreen
> > + I ThisWindow (Maximized) Style $n Title, BorderWidth 4,
> > HandleWidth 4 + I CondCase (NoMatch) Style $n NoTitle, BorderWidth 16,
> > HandleWidth 16 + I CondCase (NoMatch) Raise
> > + I CondCase (NoMatch) UpdateStyles
> > + I Maximize
> >
> > works. Now I just need to better understand the above commands and tune
> > this to make it look nice. BTW, what is that "$n" variable, I couldn't
> > find it in the man page?
>
> I would have suggested $n but I think its not a general purpose solution.
> If you have one emacs frame maximized and another not maximized, the
> above will change both of them.

This is not nice. Are there any hopes for "MaximizedStyle" and 
"UnMaximizedStyle" commands? 

Another solution might be to allow the window id $[w.id] as a style name in 
the "Style" command. Would that be hard to implement?

> It may be good enough though.  I usually work with 2 xemacs frames, but
> I change the second frames resource name ($r) with:
>
>   (select-frame (make-frame '((name . "uniquename"

The problem is that EMACS was just an example. For other applications that I 
run in multiple instances (e.g. rxvt) this solution is, of course, not 
applicable.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Arithmetics?

2003-04-24 Thread Felix E. Klee
On Tuesday 22 April 2003 20:31, Mikhael Goikhman wrote:
> > 2. It seems that with "." it is only possible to embed one Perl command
> > in %{ ... }% at a time (i.e. not several Perl commands separated by
> > ';'). That should be made clear in the FAQ.
>
> What is the problem with 2 or 10 commands? Works fine for me (prints 3):
>
>   . Exec exec xmessage %{ $count = 1; $count++; $count + 1 }%

Hm, I cannot reprocude the problem I had anymore. I was assigning several 
variables in a statement similar to
. Nop %{  $a = 3; $b = 5; }%
called from inside a function, and somehow the variables didn't get defined. 
However, now it works. Maybe I accidentally entered some syntactically 
incorrect Perl code.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de


--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Changing style of maximized window?

2003-04-22 Thread Felix E. Klee
On Tuesday 22 April 2003 22:38, Felix E. Klee wrote:
> Hm, can't this somehow be modified to do what I want? I tried it, but I
> was unsuccessful.

Stupid me - of course it seems to be possible. For example

DestroyFunc FuncFvwmMaximizeFullScreen
AddToFunc   FuncFvwmMaximizeFullScreen
+ I ThisWindow (Maximized) Style $n Title, BorderWidth 4, HandleWidth 4
+ I CondCase (NoMatch) Style $n NoTitle, BorderWidth 16, HandleWidth 16
+ I CondCase (NoMatch) Raise
+ I CondCase (NoMatch) UpdateStyles
+ I Maximize

works. Now I just need to better understand the above commands and tune this 
to make it look nice. BTW, what is that "$n" variable, I couldn't find it 
in the man page?

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Changing style of maximized window?

2003-04-22 Thread Felix E. Klee
On Tuesday 22 April 2003 20:09, Mikhael Goikhman wrote:
> > How do I realize such a configuration?
>
> You may maximize your windows to the full screen

That's exactly not what I want. I have a deep black Thinkpad and when I open 
an application with a white background (e.g. EMACS) I find the stark 
contrast at the edges of the screen very disturbing. If it is not possible 
to achieve what I described above, I'll consider switching window managers 
again. Today, many of them are themeable and allow different styles for 
normal sized and maximized windows.

> , see this message:
>
>   http://www.hpc.uh.edu/fvwm/archive/0303/msg00020.html

Hm, can't this somehow be modified to do what I want? I tried it, but I was 
unsuccessful.

> I suggest "man" from the command line (search using "/") and web pages.

Well, I guess I'll stay with Man and WoMan in EMACS. They both allow 
comparably easy navigation among sections and WoMan can create a primitive 
table of contents. However, I'm missing a really good index.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Arithmetics?

2003-04-22 Thread Felix E. Klee
One more question: Why does the following line procude a syntax error (I'm 
using 2.5.6 and the corresponding definition for ".")?
. Echo %{ if ( 5 > 4 ) { return 5; } else { return 6; } }%

I also tried 
SendToModule FvwmPerl eval if ( 5 > 4) { command("Echo 5"); } else {
command("Echo 6"); }
and this works.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Arithmetics?

2003-04-22 Thread Felix E. Klee
On Tuesday 22 April 2003 16:49, Mikhael Goikhman wrote:
> I thought I explained in the parent message why it should be:
>
>   AddToFunc StartFunction
>   + I ModuleSynchronous FvwmPerl
>   + I . Module FvwmPager 0 %{ 5 }%

Thanks, now it works.

> Or, maybe it does not work for you because you changed the quote char
> using preprocess({ 'command' => 1, quote' => '*' }, q<$*>).

No, I didn't redefine the quote character. I have disabled preprocessing of 
the whole configuration file. The problem is that variables defined during 
this kind of preprocessing aren't available later for use with the "." 
command. Therefore I moved all intitialization to init functions that are 
called from StartFunction. This works very good and AFAICS I don't need 
preprocessing of the whole config file anymore.

Some comments:
1. "." is very cool. Now that everything seems to work fine, please add it
   to the FAQ. And, as said before, include one or two simple examples that
   show that "." is usable with minimal Perl knowledge (eg. for adding 
   variables).
2. It seems that with "." it is only possible to embed one Perl command in  
   %{ ... }% at a time (i.e. not several Perl commands separated by ';').
   That should be made clear in the FAQ.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Changing style of maximized window?

2003-04-22 Thread Felix E. Klee
No answers yet - Is it impossible?

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Arithmetics?

2003-04-22 Thread Felix E. Klee
On Tuesday 22 April 2003 15:05, Mikhael Goikhman wrote:
> > That's very nice. There are some problems though:
> > o Your command conflicts with preprocessing. However, this can probably
> > be solved by using different quote characters for preprocessing or by
> > turning off preprocessing. After all, with "." I can move most stuff
> > that needs to be preprocessed into init functions.
>
> Well, this function "." was only intended for non-preprocessed configs,
> it adds an optional preprocessing to some given lines only.
>
> If you preprocess the whole file, you don't need this function ".",
> all lines are preprocessed statically anyway. But you may want this
> function for dynamical preprocessing then, for example (syntax for cvs):

Sure that's what I'm using it for. And I consider doing all of the 
preprocessing in with "." because this makes it easier to define variables 
and reuse them later.

> > o The following configuration fails silently (i.e. FvwmPager doesn't
> > start and there is no error message):
> >
> >AddToFunc .
> >+ I SendToModule FvwmPerl eval preprocess({ 'command' => 1 } ,
> > q<$*>)
> >
> >AddToFunc StartFunction
> >+ I Module FvwmPerl
> >+ I . Module FvwmPager 0 %{ 5 }%

What about this? Why doesn't it work?

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Making an app pop up on the desk where it was started?

2003-04-22 Thread Felix E. Klee
On Tuesday 22 April 2003 10:09, Dominik Vogt wrote:
> > That's not what I described (although this is another feature I want).
> > Just try this:
> > 1. Goto desktop 2
> > 2. Start Konqueror
> > 3. Switch to desktop 1
> > Then Konqueror will pop up on desktop 1. In KDE Konqueror will pop up
> > on desktop 2.
>
> Do you use the EWMHIgnoreStateHints style?  

No, but to make sure I put 
Style * EWMHUseStateHints
in my .fvwm2rc

> If yes, switch it off,
> if no send a bug report to the KDE/Konqueror folks.  Probably they
> are using some KDE internal mechanism to do this instead of using
> EWMH hints.

This is not Konqueror specific. I have yet to find an application that 
behaves the way I want. I just tried Netscape and EMACS as well. Both pop 
up on the desktop I'm currently working on, even if they were started on 
another desktop. Again: in KDE this works out of the box. Why can't it work 
under FVWM?

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Arithmetics?

2003-04-22 Thread Felix E. Klee
On Tuesday 22 April 2003 05:14, Mikhael Goikhman wrote:
> The function above only works in the current cvs, there was one problem.
> If you want to use this with 2.5.2+ versions instead of cvs, then the "."
> function above should be defined as the following instead:
>
>   DestroyFunc .
>   AddToFunc   .
>   + I SendToModule FvwmPerl eval preprocess({ 'command' => 1 } , q<$*>)

That's very nice. There are some problems though:
o Your command conflicts with preprocessing. However, this can probably be
   solved by using different quote characters for preprocessing or by
   turning off preprocessing. After all, with "." I can move most stuff that
   needs to be preprocessed into init functions.
o The following configuration fails silently (i.e. FvwmPager doesn't start
   and there is no error message):

   AddToFunc .
   + I SendToModule FvwmPerl eval preprocess({ 'command' => 1 } , q<$*>)
   
   AddToFunc StartFunction
   + I Module FvwmPerl
   + I . Module FvwmPager 0 %{ 5 }%

If the above problems can be eliminated I think it is a very good idea to 
put this in the FAQ. Please add some example like the ones above. Also make 
sure that people know that they have to start the FvwmPerl module:

AddToFunc StartFunction
+ I Module FvwmPerl

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Making an app pop up on the desk where it was started?

2003-04-22 Thread Felix E. Klee
On Sunday 20 April 2003 19:25, Felix E. Klee wrote:
> That's not what I described (although this is another feature I want).
> Just try this:
> 1. Goto desktop 2
> 2. Start Konqueror
> 3. Switch to desktop 1
> Then Konqueror will pop up on desktop 1. In KDE Konqueror will pop up on
> desktop 2.

Any news on that? Will I see this feature in the next version?

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Arithmetics?

2003-04-21 Thread Felix E. Klee
On Monday 21 April 2003 23:21, Mikhael Goikhman wrote:
> > Hm, I cannot get preprocessing to work. Here are the relevant lines
> > from my .xinitrc:
> >
> >     WINDOWMANAGER='/home/felix/local/bin/fvwm -cmd "Module FvwmPerl -p
> > /home/felix/.fvwm2rc"'
> > exec $WINDOWMANAGER 2> ~/local/var/log/windowmanager.log
>
> This command looses the meaning of double quotes, so it becomes
> -cmd '"Module'.

It does not seem to be possible to pass an environment variable as a command 
line to Bash's Exec command. One probably has to specify the arguments and 
the command name separately, eg. 
exec $WM $WM_ARG1 $WM_ARG
works. However, I found this too cumbersome. So I wrote a little startup 
script "~./fvwm/startfvwm" and let this be called from .xinitrc.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Arithmetics?

2003-04-21 Thread Felix E. Klee
On Monday 21 April 2003 03:25, Mikhael Goikhman wrote:
> > > FvwmPerl may also be used as a more powerful replacement for FvwmCpp
> > > and FvwmM4 using its -p (--preprocess) flag.
> >
> > To be honest, I don't like that preprocessing stuff. Some standard FVWM
> > expressions do always collide with the preprocessor.
>
> This is not the case with "FvwmPerl -p", there are no such collisions.
> Try it just for fun. :) Here are several random ideas for preprocessing:

Hm, I cannot get preprocessing to work. Here are the relevant lines from my 
.xinitrc:

WINDOWMANAGER='/home/felix/local/bin/fvwm -cmd "Module FvwmPerl -p 
/home/felix/.fvwm2rc"'
exec $WINDOWMANAGER 2> ~/local/var/log/windowmanager.log

But when starting FVWM I always get

[FVWM][__execute_function]: <> No such command '%{'
[FVWM][__execute_function]: <> No such command '}%'

BTW, could you add a section in the FvwmPerl man page that describes the 
configuratin neccessary for preprocessing and possibly more (sorry if it's 
already there, but I couldn't find it). This would simplify things a lot 
for beginners like me.

Another question: When I restart FVWM with Restart is .fvwm2rc then 
repreprocessed?

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Changing style of maximized window?

2003-04-21 Thread Felix E. Klee
Hi,

I want *maximized* windows to be without a title bar and only one flat frame 
around them, i.e. they should have the style

   Style * BorderWidth 16, HandleWidth 16
   Style * NoTitle
   Borderstyle -- Flat

Normal windows, however, should have a normal frame with a title bar, handle 
bars, etc.. 

How do I realize such a configuration?

BTW, because the FVWM man page is so long it is very cumbersome to find the 
information I want (e.g. when I want to know how "Exec" works I have to 
repeat searching many times). As a manual browser I tried Man and WoMan in 
EMACS but Man is not very comfortable and WoMan doesn't render some parts 
correcty. What manual browsers do you recommend (preferably in EMACS)?

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Arithmetics?

2003-04-21 Thread Felix E. Klee
On Monday 21 April 2003 14:17, Mikhael Goikhman wrote:
> > What you showed is preprocessing. As said in my original post, what I'm
> > after is realtime processing where I need several global variables
> > anyways. Concerning readability: I'm not a Perler and for me the code
> > isn't very readable at all. Many FVWM users probably prefer a solution
> > where they can do simple arithmetics without knowing Perl.
>
> Your original message was about the native support of arithmetics
> (does this include scripting and string manipulation or just 2+2?).

Just 2+2, etc.. It's probably not neccessary to include native arithmetics 
since it can easily be done using 3rd party tools. But if there is a lot of 
demand I guess it might be easy to add a simple Let command (I'm sure there 
are several small C libraries around that allow the avaluation of simple C 
like arithmetic expressions). OTOH such a command can also be easily forged 
by using Perl or other tools, maybe an example should be added to the FAQ.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Arithmetics?

2003-04-21 Thread Felix E. Klee
On Monday 21 April 2003 03:25, Mikhael Goikhman wrote:
> > Hm, don't you consider Perl a separate process? In addition, don't I
> > need environment variables to interface with perl?
>
> I mean that when you start one FvwmPerl process together with fvwm,
> there are 0 forks per line. And when you invoke PipeRead (i.e. /bin/sh)
> that then starts bash, printf and similar, there are 3 forks per line.

OK, here's a realization in Perl:
DestroyFunc Let
AddToFunc Let
+ I SendToModule FvwmPerl eval my $tmp = $1; command("SetEnv $0 $tmp");

Anyways, what's the disadvantage of creating other processes?

> > > FvwmPerl may also be used as a more powerful replacement for FvwmCpp
> > > and FvwmM4 using its -p (--preprocess) flag.
> >
> > To be honest, I don't like that preprocessing stuff. Some standard FVWM
> > expressions do always collide with the preprocessor.
>
> This is not the case with "FvwmPerl -p", there are no such collisions.

Ok, I see that Perl code is always included between %{ and }%. This indeed 
makes this module much more appropriate for preprocessing than FvwmM4 and 
FvwmCPP. There, in addition to name clashes, one has to adapt quoting and 
this is extremely annoying.

> I think it is at least much more readable then your solution with bash
> and dozen of environment variables.

What you showed is preprocessing. As said in my original post, what I'm 
after is realtime processing where I need several global variables anyways. 
Concerning readability: I'm not a Perler and for me the code isn't very 
readable at all. Many FVWM users probably prefer a solution where they can 
do simple arithmetics without knowing Perl.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Arithmetics?

2003-04-20 Thread Felix E. Klee
On Sunday 20 April 2003 21:35, Mikhael Goikhman wrote:
> Use FvwmPerl in 2.5.x for arithmetics and string operations:

Thanks, that's also a possibility.

>   FvwmPerl
>
>   SendToModule FvwmPerl eval  $c = "AnimatedMove"; $n = 50;
>   SendToModule FvwmPerl eval  cmd("Current $c " . ($n / 2) . " 10p")
>   SendToModule FvwmPerl eval  $n /= 5; cmd("AnimatedMove $n 50")
>
> This way you don't need environment variables or separate processes.

Hm, don't you consider Perl a separate process? In addition, don't I need 
environment variables to interface with perl? 

Also, is there some reason to avoid environment variables? If I avoid name 
clashes by prefixing them all with eg. FVWM_ then I believe that shouldn't 
cause any trouble.

> FvwmPerl may also be used as a more powerful replacement for FvwmCpp and
> FvwmM4 using its -p (--preprocess) flag.

To be honest, I don't like that preprocessing stuff. Some standard FVWM 
expressions do always collide with the preprocessor.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Arithmetics?

2003-04-20 Thread Felix E. Klee
I found a simple solution that makes arithmetics more readable, at least:

  DestroyFunc Let
  AddToFunc Let
  + I PipeRead `bash -c 'let "FVWM_LET_TMP=$1"; printf "SetEnv $0
  FVWM_LET_TMP"'`

That way I can easily write complicated arithmetic expressions, eg.

  Let FVWM_TMP "($[desk.n] >= $[FVWM_HDESKS]) ? -$[FVWM_HDESKS] : 0"

It also is independent of the shell "sh" since "bash" is specified 
explicitly.

What do you think of it? If you think it could be added to the FAQ, I'm 
willing to write the entry.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Arithmetics?

2003-04-20 Thread Felix E. Klee
Hi,

I want to do a lot of "realtime" (i.e. M4 is not an option) arithmetics in 
.fvwm2rc. Currently I'm using expressions like
PipeRead `let "x=$[FVWM_A]*$[FVWM_B]"; printf "SetEnv
FVWM_C $$x"`
This has two advantages:
1. It is not very readable
2. It depends on the shell I'm using

Are there any better ways for doing arithmetics in FVWM? Will arithmetics 
ever be built in?

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Making an app pop up on the desk where it was started?

2003-04-20 Thread Felix E. Klee
On Sunday 20 April 2003 18:27, Mikhael Goikhman wrote:
> > It's quite simple: Under KDE when I start an application on a certain
> > desktop, say 2, and switch to another desktop, say 1, then, after being
> > loaded, the application will pop up on desktop 2 without interrupting
> > me working on desktop 1. Note that I'm not sure whether that holds true
> > for absolutely all application and, unfortunately, I can't check it
> > since KDE doesn't start anymore on my system (this might be due to some
> > bugs in XFree86 as part of SuSE 8.2).
>
> You still didn't say which application shows a problem for you.
>
> I just happened to run konqueror to test how a site looks in it and it
> opened a dialog window (transient) on the same desk where the konqueror
> itself runs when I was on another desk.

That's not what I described (although this is another feature I want). Just 
try this:
1. Goto desktop 2
2. Start Konqueror
3. Switch to desktop 1
Then Konqueror will pop up on desktop 1. In KDE Konqueror will pop up on 
desktop 2.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Making an app pop up on the desk where it was started?

2003-04-20 Thread Felix E. Klee
On Sunday 20 April 2003 15:00, Mikhael Goikhman wrote:
> > Hm, many apps don't support that hint. But I forged a function that
> > might be usable as a replacement for Exec:
> >
> > DestroyFunc DExec
> > AddToFunc DExec
> > + I Style $0 StartsOnDesk $[desk.n], SkipMapping
> > + I Exec $0
> >
> > But this doesn't seem to work since the command name $0 doesn't
> > neccessarily coincide with the proper style idenitifier.
> >
> > Any ideas how to fix this?
>
> Pass 2 arguments to a function, the mask and the command line.

Uh, then I need to find the mask (what is that exacly, do you mean the 
class?) for each application that I have in the menus. Any idea how to 
automate this by a script when I use eg. FVWM menus generated by external 
tools.

> > BTW, even KDE has that feature builtin.
>
> Which feature exactly do you speak about?
> Explain in detail what you want to get that KDE has builtin.
> Which application and which popup windows?

It's quite simple: Under KDE when I start an application on a certain 
desktop, say 2, and switch to another desktop, say 1, then, after being 
loaded, the application will pop up on desktop 2 without interrupting me 
working on desktop 1. Note that I'm not sure whether that holds true for 
absolutely all application and, unfortunately, I can't check it since KDE 
doesn't start anymore on my system (this might be due to some bugs in 
XFree86 as part of SuSE 8.2).

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Making an app pop up on the desk where it was started?

2003-04-20 Thread Felix E. Klee
On Sunday 20 April 2003 11:04, Simon Matthews wrote:
> I have no idea if the applications you are trying to use it with support
> -xrm, but in theory ... (ie completely untested):
>
> DestroyFunc DExec
> AddToFunc DExec
> + I Exec $0 -xrm "*Desk:$[desk.n]" $1
>
> if you call it using:
>
> DExec xterm "-e mutt"

Thanks, but this is not an option. Some applications (eg. Mozilla) ignore 
that option and some (eg. Knode) complain about it and don't start at all.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Centering swallowed apps? || What clock, volume control?

2003-04-20 Thread Felix E. Klee
On Saturday 19 April 2003 22:07, Felix E. Klee wrote:
> Therefore my question: Is it possible to center a
> swallowed app in an FvwmButtons button?

Stupid me - padding is the way to go. At least when the applets are smaller 
than the buttons then this works fine.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Re: Centering swallowed apps? || What clock, volume control?

2003-04-20 Thread Felix E. Klee
On Sunday 20 April 2003 07:18, parv wrote:
> > What swallowable apps do you recommend to use as a volume
> > control and clock?
>
> I like wmmixer very much; i tried some others but not any one of
> them were any more impressive -- in terms of small binary size
> & dependencies, and ease of placement -- than wmmixer itself.

OK, that's what I wanted to hear. It's a nice applet indeed.

> > BTW, xclock doesn't cut it since it doesn't seem to be possible to
> > specify the date below the time (linebreaks in the format string
> > (%n) don't seem to be interpreted by xclock).
>
> I like analog clocks & watches w/ decent contrast.  Rclock is what
> i have (not in -Buttons, on its own); i use its title at the bottom
> for date.  Perhaps some digital display clock would be able to
> easily display both date & time in the compressed space.

I use "watch date" in an rxvt now:

*FvwmButtons: (1x1+11 Swallow(UseOld,NoHints) "Clock Applet" `Exec exec
 rxvt -bg grey35 -fg black -cr grey35 +sb -geometry 8x4 -T "Clock
 Applet" -e watch --no-title -n 1 'date +"%T%n%e. %b.  %Y"'`)

This way, of course, I can only use a digital display. But I prefer that 
anyways.

Felix

-- 
To contact me in private don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Making an app pop up on the desk where it was started?

2003-04-20 Thread Felix E. Klee
On Sunday 20 April 2003 00:58, Mikhael Goikhman wrote:
> > when I start an application on a certain desktop, say 1, and switch to
> > another desktop, say 2, I find it annoying that the application pops up
> > on desktop 2. Is there a setting to force all applications and their
> > child windows to appear on the desktop where they were started?
>
> If an application sets a window group hint on all its windos, you may
> force them to appear on the same desk using:
>
>   Style * KeepWindowGroupsOnDesk
>
> If your app does not set this hint, I guess, you may submit a feature
> request to that application.

Hm, many apps don't support that hint. But I forged a function that might be 
usable as a replacement for Exec:

DestroyFunc DExec
AddToFunc DExec
+ I Style $0 StartsOnDesk $[desk.n], SkipMapping
+ I Exec $0

But this doesn't seem to work since the command name $0 doesn't neccessarily 
coincide with the proper style idenitifier.

Any ideas how to fix this?

BTW, even KDE has that feature builtin.

Felix

-- 
To contact me in private don't reply but send email to 
  felix DOT klee AT inka DOT de

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Making an app pop up on the desk where it was started?

2003-04-19 Thread Felix E. Klee
Hi,

when I start an application on a certain desktop, say 1, and switch to 
another desktop, say 2, I find it annoying that the application pops up on 
desktop 2. Is there a setting to force all applications and their child 
windows to appear on the desktop where they were started?

Felix

-- 
To contact me in private don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Centering swallowed apps? || What clock, volume control?

2003-04-19 Thread Felix E. Klee
Hi,

I want to add a volume control and a clock to an FvwmButtons panel. 
Currently, I'm using wmmixer and wmclock (those are dockable applets for 
Window Maker). However, they are not centered in the corresponding buttons. 
I already tried specifying "-geometry" but that isn't accepted by these 
applets. Therefore my question: Is it possible to center a swallowed app in 
an FvwmButtons button?

In addition, I have another question: I'm not sure whether these Window 
Maker applets are all that resource friendly (they each depend on several 
shared libraries that otherwise might not be needed). What swallowable apps 
do you recommend to use as a volume control and clock?

BTW, xclock doesn't cut it since it doesn't seem to be possible to specify 
the date below the time (linebreaks in the format string (%n) don't seem to 
be interpreted by xclock).

Felix

-- 
To contact me in private don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: Building a decent Panel?

2003-04-15 Thread Felix E. Klee
On Tuesday 15 April 2003 17:14, Dominik Vogt wrote:
> from a Schedule command does not work.  With my latest patch it is
> more stable but may still crash if the timing is wrong.

FVWM will crash? Then as an end user which of the many proposed solutions 
should I take in order to get autohiding to work reliably? I'm willing to 
upgrade to the CVS version if that's reasonably stable.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: Building a decent Panel?

2003-04-13 Thread Felix E. Klee
Hi,

I would like to set up a panel that is similar to Gnome's panel or KDE's 
kicker. Some neccessary features that I absolutely need are:
1. A button that shows the applications menu
2. A list of the windows on the current desktop
3. The pager
4. A Clock
5. Autohide

I know that there is FvwmTaskbar and FvwmButtons. But FvwmTaskbar doesn't 
support the pager and FvwmButtons doesn't support autohide.

Any ideas how to forge such a thing?

BTW, I'm willing to upgrade to the latest unstable FVWM version if that's 
neccessary.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


  1   2   >