Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
matlab problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
josedimas
n00b
n00b


Joined: 03 Feb 2005
Posts: 39
Location: São Carlos/Brasil

PostPosted: Tue Apr 26, 2005 8:05 pm    Post subject: matlab problem Reply with quote

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
View user's profile Send private message
nadi
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 280
Location: Norway

PostPosted: Tue Apr 26, 2005 10:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
josedimas
n00b
n00b


Joined: 03 Feb 2005
Posts: 39
Location: São Carlos/Brasil

PostPosted: Mon May 09, 2005 7:49 pm    Post subject: Reply with quote

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!:D
Back to top
View user's profile Send private message
coriolan
Apprentice
Apprentice


Joined: 21 Apr 2005
Posts: 273

PostPosted: Thu May 12, 2005 8:55 am    Post subject: Reply with quote

This is a known problem with Matlab on Linux. See:
http://www.mathworks.com/support/solutions/data/1-1AF8K.html?solution=1-1AF8K
I generally dislike the Matlab-desktop and rather use emacs:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=104&objectType=file
Back to top
View user's profile Send private message
m0sia
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 113

PostPosted: Fri May 13, 2005 8:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum