View previous topic :: View next topic |
Author |
Message |
josedimas n00b


Joined: 03 Feb 2005 Posts: 39 Location: São Carlos/Brasil
|
Posted: Tue Apr 26, 2005 8:05 pm Post subject: matlab problem |
|
|
I've installed matlab 7 in my gentoo linux computer, kernel 2.6.11 nitro and ^ and ~ arnot working.
Someone said it was a problem with the numlock key but that's noy my case.
Could someone helpme? |
|
Back to top |
|
 |
nadi Apprentice


Joined: 06 Aug 2004 Posts: 280 Location: Norway
|
Posted: Tue Apr 26, 2005 10:13 pm Post subject: |
|
|
It is something to do with the keyboard options, all the buttons that you double click will not wotk in matlab (I have a norwegian keyboard, and ~ ^ are special signs created by combination keys). So you have to disable this option in X (xorg.conf). Now, the problem is I don't remrmber how to do it, I done it once long time ago, but now I am using matlab with console (matlab -nodesktop) as it is much faster, and editing with emacs (MUCH better editor if you ask me).
So: a guess:
edit /etc/X11/xorg.conf
go to the "inputDevice" section, keyboard and uncomment
Code: | Option "XkbVariant" "nodeadkeys"
|
I think this will do the trick, but I am not sure. Dont forget to restart X !
please reply if it is correct or not, so others can solve the same problem..
Nadi |
|
Back to top |
|
 |
josedimas n00b


Joined: 03 Feb 2005 Posts: 39 Location: São Carlos/Brasil
|
Posted: Mon May 09, 2005 7:49 pm Post subject: |
|
|
sorry it took so long for me to answer but the problem isn't solved yet.
i have a br-abnt2 keyboard, and the 'nodeadkeys' feature works only if i comment the xkbvariant line on my xorg.conf
if i do so, matlab starts diplaying the ^~ and other special characters, but the \ | and the ] } key stop working (the first one displays > and <, and the other one i don't remember!)
this part of my xorg.conf (sorry i don't put the entire file, i'm currently withount internet in my home)
Code: | Option "XkbModel" "pc105"
Option "XkbLayout" "br"
Option "XkbModel" "abnt2" #i'm not sure if it is 'model' but the nodeadkeys only works for matlab if i remove this line
Option "XkbVariant" "nodeadkeys" |
thanks! |
|
Back to top |
|
 |
coriolan Apprentice


Joined: 21 Apr 2005 Posts: 273
|
|
Back to top |
|
 |
m0sia Tux's lil' helper


Joined: 07 Jul 2003 Posts: 113
|
Posted: Fri May 13, 2005 8:43 pm Post subject: |
|
|
nadi wrote: | It is something to do with the keyboard options, all the buttons that you double click will not wotk in matlab (I have a norwegian keyboard, and ~ ^ are special signs created by combination keys). So you have to disable this option in X (xorg.conf). Now, the problem is I don't remrmber how to do it, I done it once long time ago, but now I am using matlab with console (matlab -nodesktop) as it is much faster, and editing with emacs (MUCH better editor if you ask me).
|
how do you debug your m-files in emacs?
btw there is a problem with matlab R14
Code: |
#matlab
head: `-1' option is obsolete; use `-n 1' since this will be removed in the future
Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 75: _dl_next_tls_modid: Assertion `result <= _rtld_local._dl_tls_max_dtv_idx' failed!
|
it is bug in sys-libs/glibc-2.3.4.20041102 and sys-libs/glibc-2.3.5
on sys-libs/glibc-2.3.4.20050125-r1 everything works fine because of the patch glibc-2.3.4-fix-_dl_next_tls_modid-assert.patch _________________ Using Gentoo since May 2003. |
|
Back to top |
|
 |
|