Ok. There are some new updates.
It should be related with hardware.
Now I try to enable CF in another laptop- Dell Inspiron 9300. Everything works well.
The problem only occurs in my new laptop - Lenovo T61p.
I'll investigate more to find out what's happening in the Thinkpad.
I'm sure no other shortcuts besides compiz's own definitions work.
I also try your way. Unfortunately it proves my conclusion too. Compiz eats up the alt. When I press "Alt+e", nothing happens. When I disable compiz and try it again, I can get "^[e" while pressing "Alt+e".--
On Wed, Mar 5, 2008 at 2:42 PM, Adam Vogt <vogt.adam@gmail.com> wrote:
Compiz-Fusion has lots of keybindings; it is supposed to intercept all the
keys that it is supposed to listen to.
Are you sure that compiz is intercepting _all_ keys with alt?
A basic test to see this would be to open a terminal, run cat, then type
away, holding alt (under compiz of course).
You should then see nothing. If the keys are not intercepted, they look
like ^[e for M-e..
* On Wednesday, March 05 2008, yueyu lin wrote:
>Hi, all
> I found the CF in my machine ate up all alt keys besides the CF binding
>short cuts including Alt, such as Alt+F1,Alt+Tab,Alt+F2,etc.
>
> The scenario is when I enable compiz fuscion in my laptop T61p with
>nvidia newest driver, everything works fine and smoothly except no more
>application short cuts containing Alt.
> That means firefox doesn't have "Alt+F", "Alt+E", Emacs doesn't have
>"Alt+X". Especially for Emacs's "Alt+X", it's my most important things to
>use Emacs even use my laptop. So I have to disable compiz when I wanna use
>Emacs.
>
> I really have no idea what happened even after searching internet. I found
>when I use xmodmap to add Alt_L to the mod4 even the Alt_L and Alt_R is
>already set to mod1, the application short cuts work but the compiz short
>cuts retire... which means "Alt+Tab" doesn't work.
>
> The following is the output of my "xmodmap", I wish it would be helpful to
>identify the problem. Thanks.
>
>[yueyulin@t61p ~]$ xmodmap
>xmodmap: up to 2 keys per modifier, (keycodes in parentheses):
>
>shift Shift_L (0x32), Shift_R (0x3e)
>lock Caps_Lock (0x42)
>control Control_L (0x25), Control_R (0x6d)
>mod1 Alt_L (0x40), Alt_R (0x71)
>mod2 Num_Lock (0x4d)
>mod3
>mod4
>mod5 Scroll_Lock (0x4e)
>
>--
>--
>Yueyu Lin
--
Yueyu Lin