Re: FVWM: How to compile fvwm with stroke support

2004-05-20 Thread Alvin Chin
Sorry to be ignorant, but when I right click with my mouse on the root
window (the background of my desktop which is in a VNC viewer), I only
see the standard menu of the GNOME window manager (New Windows, New
Folder, etc.).  

Unless this is not called the root window, then what is the root window?

Thanks and sorry to sound ignorant, I am new to FVWM.


On Wed, 2004-05-19 at 19:22, Mikhael Goikhman wrote:
 On 19 May 2004 18:02:50 -0400, Alvin Chin wrote:
  
  I still can't seem to get mouse stroke to work.  Does someone have a
  sample fvwm2rc file that works with mouse strokes?  I keep getting
  errors with my fvwm2rc file.
 
 Did you try the file I suggested?
 
 Start FvwmConsole and type these commands in it:
 
 Mouse 3  R  A   StrokeFunc FeedBack DrawMotion StrokeWidth 2
 Stroke  0 0  R  A   Exec xmessage Just click mouse 3 on the root
 Stroke  N852  0  R  A   Exec xterm -n Draw line from up to down
 Stroke  N456  0  R  A   Exec xterm -n Draw line from left to right
 
 Regards,
 Mikhael.
 --
 Visit the official FVWM web page at URL: 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]

--
Visit the official FVWM web page at URL: 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 compile fvwm with stroke support

2004-05-20 Thread Dan Espen
Alvin Chin [EMAIL PROTECTED] writes:
 Sorry to be ignorant, but when I right click with my mouse on the root
 window (the background of my desktop which is in a VNC viewer), I only
 see the standard menu of the GNOME window manager (New Windows, New
 Folder, etc.).  
 
 Unless this is not called the root window, then what is the root window?

Gnome runs something called Nautilus.
This creates a borderless window that covers the root window.

You can stop using nautilus or invoke your fvwm menus some other way.

 Thanks and sorry to sound ignorant, I am new to FVWM.

You must be new.

Replies belong in context on this list.

Normally, I just delete top posted messages.
I don't know how many other people on this list do the same
but it could be a non-zero number.

 
 On Wed, 2004-05-19 at 19:22, Mikhael Goikhman wrote:
  On 19 May 2004 18:02:50 -0400, Alvin Chin wrote:
   
   I still can't seem to get mouse stroke to work.  Does someone have a
   sample fvwm2rc file that works with mouse strokes?  I keep getting
   errors with my fvwm2rc file.
  
  Did you try the file I suggested?
  
  Start FvwmConsole and type these commands in it:
  
  Mouse 3  R  A   StrokeFunc FeedBack DrawMotion StrokeWidth 2
  Stroke  0 0  R  A   Exec xmessage Just click mouse 3 on the root
  Stroke  N852  0  R  A   Exec xterm -n Draw line from up to down
  Stroke  N456  0  R  A   Exec xterm -n Draw line from left to right
  
  Regards,
  Mikhael.
  --
  Visit the official FVWM web page at URL: 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]
 
 --
 Visit the official FVWM web page at URL: 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]

-- 
Dan Espen   E-mail: [EMAIL PROTECTED]
--
Visit the official FVWM web page at URL: 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 compile fvwm with stroke support

2004-05-20 Thread Paul Smith
%% Dan Espen [EMAIL PROTECTED] writes:

  de Alvin Chin [EMAIL PROTECTED] writes:

   Sorry to be ignorant, but when I right click with my mouse on the root
   window (the background of my desktop which is in a VNC viewer), I only
   see the standard menu of the GNOME window manager (New Windows, New
   Folder, etc.).  
   
   Unless this is not called the root window, then what is the root
   window?

  de Gnome runs something called Nautilus.
  de This creates a borderless window that covers the root window.

  de You can stop using nautilus or invoke your fvwm menus some other way.

Or, choose the third way! :)

Change your key and mouse click to accept both R (root window) AND D
(desktop application).  So:

Mouse 3  R  A   StrokeFunc FeedBack DrawMotion StrokeWidth 2
Stroke  0 0  R  A   Exec xmessage Just click mouse 3 on the root
Stroke  N852  0  R  A   Exec xterm -n Draw line from up to down
Stroke  N456  0  R  A   Exec xterm -n Draw line from left to right

Mouse 3  RD  A   StrokeFunc FeedBack DrawMotion StrokeWidth 2
Stroke  0 0  RD  A   Exec xmessage Just click mouse 3 on the root
Stroke  N852  0  RD  A   Exec xterm -n Draw line from up to down
Stroke  N456  0  RD  A   Exec xterm -n Draw line from left to right


See the documentation of the Mouse option in the fvwm man page.

Note you need a sufficiently new version of FVWM (I don't remember
whether this is implemented in 2.4.x).

-- 
---
 Paul D. Smith [EMAIL PROTECTED]   HASMAT--HA Software Mthds  Tools
 Please remain calm...I may be mad, but I am a professional. --Mad Scientist
---
   These are my opinions---Nortel Networks takes no responsibility for them.
--
Visit the official FVWM web page at URL: 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 compile fvwm with stroke support

2004-05-19 Thread Alvin Chin
I still can't seem to get mouse stroke to work.  Does someone have a
sample fvwm2rc file that works with mouse strokes?  I keep getting
errors with my fvwm2rc file.

Thanks.



On Tue, 2004-05-18 at 16:43, Mikhael Goikhman wrote:
 On 18 May 2004 14:32:02 -0400, Alvin Chin wrote:
  
  I want to use mouse strokes for fvwm.  I downloaded fvwm and installed
  the rpm and it went fine, I downloaded all the particulars (libstroke,
  xpm, etc.).  I have a .fvwm2rc file and put in the mouse strokes.  But
  when I run fvwm the mouse strokes don't work.  I read that you need to
  compile fvwm with stroke support.  So I downloaded the source for fvwm
  and to compile there is an option to compile with libstroke support. 
  But I can't seem to locate where the libstroke is installed, I just
  installed the libstroke-0.4-1mdk.  Do I need to also download and
  compile libstroke as well?
 
 rpms are compiled with stroke support.
 
 If you also installed fvwm-themes rpm, you will find the correct stroke
 config in /usr/share/fvwm/themes/default/settings/stroke/enabled file.
 
 Regards,
 Mikhael.

--
Visit the official FVWM web page at URL: 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 compile fvwm with stroke support

2004-05-19 Thread Mikhael Goikhman
On 19 May 2004 18:02:50 -0400, Alvin Chin wrote:
 
 I still can't seem to get mouse stroke to work.  Does someone have a
 sample fvwm2rc file that works with mouse strokes?  I keep getting
 errors with my fvwm2rc file.

Did you try the file I suggested?

Start FvwmConsole and type these commands in it:

Mouse 3  R  A   StrokeFunc FeedBack DrawMotion StrokeWidth 2
Stroke  0 0  R  A   Exec xmessage Just click mouse 3 on the root
Stroke  N852  0  R  A   Exec xterm -n Draw line from up to down
Stroke  N456  0  R  A   Exec xterm -n Draw line from left to right

Regards,
Mikhael.
--
Visit the official FVWM web page at URL: 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 compile fvwm with stroke support

2004-05-18 Thread Alvin Chin
I want to use mouse strokes for fvwm.  I downloaded fvwm and installed
the rpm and it went fine, I downloaded all the particulars (libstroke,
xpm, etc.).  I have a .fvwm2rc file and put in the mouse strokes.  But
when I run fvwm the mouse strokes don't work.  I read that you need to
compile fvwm with stroke support.  So I downloaded the source for fvwm
and to compile there is an option to compile with libstroke support. 
But I can't seem to locate where the libstroke is installed, I just
installed the libstroke-0.4-1mdk.  Do I need to also download and
compile libstroke as well?

I am not sure what I need to do to get fvwm working with stroke support.

Thanks for any help.


--
Visit the official FVWM web page at URL: 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 compile fvwm with stroke support

2004-05-18 Thread Thomas Adam
 --- Alvin Chin [EMAIL PROTECTED] wrote: 

 installed the libstroke-0.4-1mdk.  Do I need to also download and
 compile libstroke as well?

You'll need the source to fvwm (which you have) and the devel RPM for
libstroke.

-- Thomas Adam

=
The Linux Weekend Mechanic -- http://linuxgazette.net
TAG Editor -- http://linuxgazette.net

shrug We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)






Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
--
Visit the official FVWM web page at URL: 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 compile fvwm with stroke support

2004-05-18 Thread Alvin Chin
Thanks Thomas, I can't seem to get the strokes to work from my fvwm2rc
file.  Is there a sample file that includes strokes?  This is what I
have in fvwm2rc file but this doesn't seem to work for strokes.  It just
does standard right click showing the menus.

It's attached below under the section for mouse strokes:

# Unfortunately, order does matter in this file
# The correct order for inserting configurations is:
# 1. Colors
# 2. Assorted configuration paramters such as ClickToFocus, or
MWMBorders
# 3. Path setup (ModulePath, PixmapPath, IconPath)
# 4. Style settings, including the default style Style * ...
# 5. InitFunction and ResetFunction definitions.
# 6. Other Functions. Functions cannot be forward referenced from
#   other functions, but they can be backward referenced.
# 7. Menus definitions. Same caveats about forward referencing
# 8. Key and Mouse Bindings.
# 9. Module options.

# The order of steps 5, 6, and 7 is not critical, as long as there are
# no forward references to functions or menus.

# If you get it wrong, the most common problem is that color or font
settings
# are ignored

###
# set up the colors
#
# OK some people like bright clear colors on their window decorations.
# These people, I guess would mostly be from nice sunny/good weather
places
# line California.
#
# StdForeColor  Black
# StdBackColor  LightSkyBlue
# HiForeColor   yellow
# HiBackColor   PeachPuff1
# PagerBackColorBlanchedAlmond

# Me, I'm from Upstate New York, and live in New Hampshire, so I prefer
# these dark muddy colors...

#StdForeColorWheat
StdForeColorWhite
StdBackColorDimGrey

# this is used for the selected window
##HiForeColor   Wheat
HiForeColor Black
##HiBackColor   SlateBlue4
HiBackColor White

#PagerBackColor #5c54c0
#PagerForeColor orchid

StickyForeColor Black
# pager colors which we don't use or have:
StickyBackColor #60c0a0

# Menu colors
MenuForeColor   White
MenuBackColor   DimGrey
MenuStippleColorSlateGrey


# Now the fonts - one for menus, another for window titles, another for
icons
Fontlucidasanstypewriter-12
WindowFont  lucidasanstypewriter-12
IconFontlucidasanstypewriter-12

###
# Set up the major operating modes
#
  FOCUS STUFF
##
# Set windows to auto-raise after 750 milliseconds if you like it.
# Autoraise can sometimes obscure pop-up windows. Performance is now
# similar to olvwm's auto-raise feature.
#AutoRaise 750

# Normally, we'll be in focus-follows mouse mode, but uncomment this 
# for mwm-style click-to-focus
#ClickToFocus

  ICON STUFF
##
# Auto Place Icons is a nice feature
# This creates two icon boxes, one on the left side, then one on the
# bottom. Leaves room in the upper left for my clock and xbiff,
# room on the bottom for the Pager.
IconBox -70 1 -1 -140

# If you uncomment this, and make sure that the WindowList is bound to
# something, it works pretty much like an icon manager.
#SuppressIcons

# StubbornIcons makes icons de-iconify into their original position on
the
# desktop, instead of on the current page.
#StubbornIcons

# With AutoPlacement, icons will normally place themselves underneath
active
# windows. This option changes that.
#StubbornIconPlacement

# If you want ALL you icons to follow you around the desktop (Sticky),
try
# this
#StickyIcons

  MWM EMULATION ###
#
# My feeling is that everyone should use MWMDecorHints and
MWMFunctionHints,
# since some applications depend on having the window manager respect
them

# MWMFunction hints parses the function information in the
MOTIF_WM_HINTS
# property, and prohibits use of these functions on the window.
Appropriate
# portions of the window decorations are removed.
MWMFunctionHints

# MWM is kinda picky about what can be done to transients, and it was
keeping
# me from iconifying some windows that I like to iconify, so here's an
# over-ride that will allow me to do the operation, even tough the menu
# item is shaded out.
MWMHintOverride

# MWMDecor hints parses the decoration information in the MOTIF_WM_HINTS
# property, and removes these decoratons from the window. This does not
affect
# the functions that can be performed via the menus.
MWMDecorHints

# These are affect minor aspects for the look-and-feel.
# Sub-menus placement mwm-style?
# MWMMenus
# mwm-style border reliefs (less deep than default fvwm) ?
# MWMBorders
# Maximize button does mwm-inversion thingy
# MWMButtons
  

Re: FVWM: How to compile fvwm with stroke support

2004-05-18 Thread Mikhael Goikhman
On 18 May 2004 14:32:02 -0400, Alvin Chin wrote:
 
 I want to use mouse strokes for fvwm.  I downloaded fvwm and installed
 the rpm and it went fine, I downloaded all the particulars (libstroke,
 xpm, etc.).  I have a .fvwm2rc file and put in the mouse strokes.  But
 when I run fvwm the mouse strokes don't work.  I read that you need to
 compile fvwm with stroke support.  So I downloaded the source for fvwm
 and to compile there is an option to compile with libstroke support. 
 But I can't seem to locate where the libstroke is installed, I just
 installed the libstroke-0.4-1mdk.  Do I need to also download and
 compile libstroke as well?

rpms are compiled with stroke support.

If you also installed fvwm-themes rpm, you will find the correct stroke
config in /usr/share/fvwm/themes/default/settings/stroke/enabled file.

Regards,
Mikhael.
--
Visit the official FVWM web page at URL: 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]