Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2000 14:34:04 -0400
From:      Ted Sikora <tsikora@home.com>
To:        "freebsd-hackers@FreeBSD.ORG" <freebsd-hackers@FreeBSD.ORG>
Subject:   Motif paging
Message-ID:  <3921949C.657643A3@home.com>

next in thread | raw e-mail | index | archive | help
It's been a while since I used mwm. I installed the OpenMotif Metrolink
binaries and have mwm running.  It's just as solid as I remember it. One
problem I cannot get paging to work. On an old system I used to use the
following worked for paging:

.Xdefaults
-----------
Mwm*windowMenu:				MyWindowMenu
Mwm*bitmapDirectory:			/usr/X11R6/include/X11/icons

!******************************* panning stuff *********

!	setup toggle_pinstate menu entry...
!	NOTE - these pixmaps require fully qualified path names...
!	see sample.mwmrc file for compete definition.
Mwm*pinStateLabelType:          PIXMAP
Mwm*pinnedPixmap:		pinned
Mwm*unpinnedPixmap:		unpinned

!	setup which clients and icons are pinned
 Mwm*Mwm.clientPinned:				True
 Mwm*iconPinned:				True
 Mwm*xclock.clientPinned:			True

!	Setup the panning menu
Mwm*GotoMenuColor*packing:             PACK_COLUMN
Mwm*GotoMenuColor*orientation:         HORIZONTAL
Mwm*GotoMenuColor*alignment:           ALIGNMENT_CENTER

!	This stops all windows from being repositioned on-screen
!	after a restart.
Mwm*positionOnScreen:				False


.mwmrc
------------
# Menu for hopping to different locations on the virtual desktop.
# The images should be kept in the location specified by
# the "Mwm*bitmapDirectory:" resource.
# See sample images in the images directory.  The following
# image references refer to bitmaps and pixmaps contained in
# the examples/images/ directory.

Menu GotoMenuColor
{
	link	 f.goto 0,0
	mail	 f.goto 0,2000
	book.2	 f.goto 0,4000
	knife	 f.goto 0,6000
        plugin   f.goto 0,8000
}

# Default Window Menu Description

Menu MyWindowMenu
{
    @pinned					f.toggle_pin_state
    Restore		_R	Alt<Key>F5	f.normalize
    Move		_M	Alt<Key>F7	f.move
    Size		_S	Alt<Key>F8	f.resize
    Minimize		_n	Alt<Key>F9	f.minimize
    Maximize		_x	Alt<Key>F10	f.maximize
    Refresh		_f	Alt<Key>F2	f.refresh_win
    Lower		_L	Alt<Key>F3	f.lower
    no-label					f.separator
    Close		_C	Alt<Key>F4	f.kill
}




#
# key binding descriptions
#

Keys DefaultKeyBindings
{
	Shift<Key>Escape		window|icon		f.post_wmenu
	Meta<Key>space			window|icon		f.post_wmenu
	Meta<Key>Tab			root|icon|window	f.next_key
	Meta Shift<Key>Tab		root|icon|window	f.prev_key
	Meta<Key>Escape			root|icon|window	f.circle_up
	Meta Shift<Key>Escape		root|icon|window	f.circle_down
	Meta Shift Ctrl<Key>exclam	root|icon|window	f.set_behavior
	Meta<Key>F6			window		f.next_key transient
	Meta Shift<Key>F6		window		f.prev_key transient
	<Key>F4			icon			f.post_wmenu
	Meta Shift<Key>Delete	root|icon|window	f.restart
	Alt<Key>F10		root|window|icon	f.post_rmenu
	Ctrl<Key>Escape		root|window|icon	f.normalize_and_raise_iconbox
	Meta<Key>Up		window|root|icon	f.pan 0,-100,1
	Meta<Key>Down		window|root|icon	f.pan 0,100,1
	Meta<Key>Left		window|root|icon	f.pan -100,0,1
	Meta<Key>Right		window|root|icon	f.pan 100,0,1
}

#
# button binding descriptions
#

Buttons DefaultButtonBindings
{
	<Btn1Down>		frame|icon	 	 f.raise
	<Btn3Down>		frame|icon	  	f.lower
	<Btn1Down>		root			f.menu  Clients
	<Btn2Down>	 	root			f.menu  GotoMenuColor
	<Btn3Down>		root			f.menu  Control
	Meta<Btn1Down>		window|icon		f.move
	Meta<Btn2Down>		window|icon		f.resize
	Meta Shift<Btn1Down>	window|icon		f.minimize
	Meta Shift<Btn2Down>	window|icon		f.focus_color
	Meta Shift<Btn3Down>	window|icon		f.post_wmenu
	Meta<Btn1Down>		root			f.track_pan
	Meta<Btn2Down>		root			f.track_pan
}


Can anyone help me with this or direct me to a place with the info?

Regards,
--
Ted Sikora
Jtl Development Group 
tsikora@powerusersbbs.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3921949C.657643A3>