Re: FVWM: Windows key; titlebar buttons

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Wed, 14 Apr 2004 12:47:06 +0200

On Wed, Apr 14, 2004 at 09:55:05AM +0200, Zavie - Julien Guertault wrote:
>
> Hello,
>
>
> I'm having some difficulties to make fvwm (2.4.6) do what I want, so
> maybe you can help ^_^
>
>
> As I use it on a PC, I'd like to bind some functions on the famous
> windows keys. After testing, it seems it correspond to the modifiers
> #4 and #9.

There is no modifier "#9" in X. There are only the modifiers
shift, lock, control, and 1 to 5.

> Thus, after having pressed one, everything goes wrong with bindings.
> For example emacs starts to make a confusion between Alt (which then
> just beeps) and windows (which then acts as the meta key).

Probably one of the modifiers is locking, which changes the whole
keyboard layout.

> How could I do to make it work?

First, check the output of

  $ xmodmap -pke; xmodmap

None of the modifier keys should appear twice in either list.
Double check that the the target key appears in the modifier list.
if not, add it at the end of your $HOME/.Xmodmap file. If you do
not have such a file yet, generate it with

  $ xmodmap -pk > "$HOME"/.Xmodmap

Then check the modifiers at the end of the file. For example, I
have

  clear Shift
  clear Lock
  clear Control
  clear Mod1
  clear Mod2
  clear Mod3
  clear Mod4
  clear Mod5

  add Shift = Shift_L Shift_R
  !add Lock = Caps_Lock
  add Control = Control_L Control_R
  !add Control = Control_L Multi_key
  add Mod1 = Meta_L
  !add Mod2 = Num_Lock
  add Mod3 = Mode_switch
  add Mod4 = Super_L Super_R
  add Mod5 = Hyper_R

> I also have another question about the titlebar buttons...
> Is it possible to explicitly disable a button? The purpose is to have
> inactive windows buttonless.

  Style <windowname> NoButton 7

but that does not differentiate between active and inactive
windows.

Ciao

Dominik ^_^ ^_^
--
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 Wed Apr 14 2004 - 05:49:31 BST

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