Found the whole problem:::
here is the initial startup of cycas:
/usr/local/bin/cycas39
#!/bin/sh
export LANG=de_DE
xmodmap -e "keycode 0x6C = Return"cd /opt/cycas39; ./cycas.real $1 > /dev/null 2>&1 &
The line in bold is the whole problem... maybe in german language the keycode 0x6c should be return but using xev I found out that my altGR is the 0x6C so the bash startup script of cycas is making altgr weird... change this startup from that to:
#!/bin/sh
export LANG=de_DE
#xmodmap -e "keycode 0x6C = Return"cd /opt/cycas39; ./cycas.real $1 > /dev/null 2>&1 &
And do the same for /usr/local/bin/cyca39_verbose:
#!/bin/sh
export LANG=de_DE
#xmodmap -e "keycode 0x6C = Return"cd /opt/cycas39; ./cycas.real $* &
I think that if this line is necessary for those whose keyboard is german then I think it should start with a conditional to check for system default:
#!/bin/sh
if LANG=de_DE, then
xmodmap -e "keycode 0x6C = Return"
else
export LANG=de_DE
endif
cd /opt/cycas39; ./cycas.real $* &This way it check if the system is already set to de_DE LANG then it will need the xmodmap, if not it doesn´t need the xmodmap trick and just set the LANG variable to de_DE and then it starts cycas normally
This is not the correct way since checking LANG variable to see if you need the xmodmap trick is not a good direction (since we might have people with us keyboard using the pc with de_DE LANG )
So first why would the developers need the xmodmap in the first place, since this should be taken care of by evdev and xorg? For me just a # in front of the xmodmap ... line is the ideal trick to keep everything working.
Thank good I found the answer... its been more then 3 months trying to find this out

Please tell me if it works for everyone that came in this post saying that cycas startup changes ALTGR to enter aswell !!!
