Re: FVWM: cursor keys for scrolling the pager

From: <robert_at_muth.org>
Date: Sat, 25 Jan 2003 09:12:47 -0700 (MST)

Dan:

I believe I had tried tried the A and N modifier without success
before. Now I switched to the C modifier and things started to work.
I am still curious what is wrong with my setup:


my xmodmap magic looks like this:
#make capslock into control
xmodmap -e "remove Lock = Caps_Lock" >> $LOGFILE 2>&1
xmodmap -e "keycode 66 = Control_L" >> $LOGFILE 2>&1
xmodmap -e "add Control = Control_L" >> $LOGFILE 2>&1

#use extra menu key as compose key
xmodmap -e "keycode 117 = Multi_key" >>$LOGFILE 2>&1

# use windows keys as modifiers
xmodmap -e "keycode 115 = Super_L" >>$LOGFILE 2>&1
xmodmap -e "keycode 116 = Super_R" >>$LOGFILE 2>&1
xmodmap -e "add Mod3 = Super_L Super_R" >>$LOGFILE 2>&1

# use windows keys as modifiers
xmodmap -e "keycode 234 = Prior" >>$LOGFILE 2>&1
xmodmap -e "keycode 233 = Next" >>$LOGFILE 2>&1

resulting in:


>xmodmap -pm
xmodmap: up to 3 keys per modifier, (keycodes in parentheses):

shift Shift_L (0x32), Shift_R (0x3e)
lock
control Control_L (0x25), Control_R (0x6d), Control_L (0x42)
mod1 Alt_L (0x40), Alt_R (0x71)
mod2 Num_Lock (0x4d)
mod3 Super_L (0x73), Super_R (0x74)
mod4 Super_L (0x73), Super_R (0x74)
mod5

Robert

On Sat, 25 Jan 2003, Dan Espen wrote:

> robert_at_muth.org writes:
> > On Sat, 25 Jan 2003, Dan Espen wrote:
> > > robert_at_muth.org writes:
> > > >
> > > > I have the following entries in my fvwmrc file
> > > > # pager control
> > > > Key Left A 3 Scroll -100 0
> > > > Key Right A 3 Scroll +100 +0
> > > > Key Up A 3 Scroll +0 -100
> > > > Key Down A 3 Scroll +0 +100
> > > >
> > > >
> > > > where "3" is the windows key.
> > > >
> > > > This lets me change scres in the pager without using the mouse.
> > > > The problem is that it does not work anymore after upgrading to
> > > > 2.4.14-1.
> > > > It seems that the cursor keys are totally ignored.
> > > >
> > > > Robert
> > > >
> > > > PS: I am not a subscriber to the mailing list, so please send me
> > > > email back
> > >
> > > Most likely, you've got numlock on.
> >
> > Nope, I just checked that.
>
>
> OK, check that you still have Mod3 on the windows key.
>
> Do:
>
> xmodmap -pm
>
> I get:
>
> home> xmodmap -pm
> shift Shift_L (0x32), Shift_R (0x3e)
> lock
> control Control_L (0x25), Control_R (0x6d), Control_L (0x42)
> mod1 Meta_L (0x40)
> mod2 Num_Lock (0x4d)
> mod3
> mod4 Alt_L (0x73)
> mod5
>
>
> In my case, the windows key is Alt_L and its mod4.
>
> The bindings above work for me, providing I change the 3 to a 4.
>
> You can use "xev" or xkeycaps to verify that the windows key is
> Alt_L.
>
> --
> Dan Espen E-mail: dane_at_mk.telcordia.com
>


--
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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat Jan 25 2003 - 10:15:00 GMT

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