FVWM: FVWM don't read my xmodmap's setting,why?

From: lee <learnman_at_21cn.com>
Date: Fri, 25 Jun 2004 19:12:18 +0800

This is i do:
1. I have already install FVWM into my machine, and i commonly enter
FVWM from command console (runlevel 3) with the command'learnman>$ startx'
2. cp /opt/wm/fvwm/fvwm-2.5.8/modules/FvwmSaveDesk/example/xinitrc
~~/.xinitrc
3. The .xinitrc file have these sentences:
...
usermodmap=$HOME/.Xmodmap
...
xmodmap $usermodmap
...
fvwm2 -cmd "FvwmM4 -m4-prefix -m4opt -I$HOME $HOME/.fvwm/.fvwm2rc"
~~~~ I change .fvwm2rc location to /home/learnman/.fvwm/, so i put the
.fvwm2rc file into /home/learnman/.fvwm/ , i think this change is right

4. And I append these keycodes into my ~/.Xmodmap file:
keycode 222 = XF86PowerOff
keycode 223 = XF86Standby
keycode 227 = XF86Wakeup
5. I check my ~/.fvwm/.fvwm2rc file, it have the sentence:
...
Key XF86Standby A A Menu RootMenu Popup
~~~~~~~~~~~~~~~~~~~~~This is test the Key
6. Now i exit FVWM to command console and type"startx" , the key of
XFStandby do not work, i type 'xmodmap -pke |grep 222' to check the key
have setted or not ,the answer is :
...
keycode 222 =
~~~~this is empty, it show me the key have not setted
7.But after i typed 'xmodmap -e "Keycode 222 = XF86Standby" ', and
restart the FVWM(not exit FVWM to command console) , the key works
correctly. Why?

8. By the way, i set some icons into my rootmenu such as:
"%mini.xterm.xpm&Xterm" Exec exec xterm
and i enter FVWM with 'startx', these icos don't display, just display
correctly with restart FVWM (not exit FVWM to command console, just run
restart, and the ImagePath setting is correct).
I think the two problems maybe is one same question, but i can not check
out the answer.

Please.....
Yours
learnman


--
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 Fri Jun 25 2004 - 10:37:31 BST

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