right click 'open current folder in file manager' not working - Ubuntu/Linux
Afficher commentaires plus anciens
Hi, when I right click in the 'Current Folder' view on the LHS of Matlab its supposed to open the file manager if I select 'open current folder in file manager' but it just does nothing.
Any ideas?
9 commentaires
Prashant Arora
le 18 Oct 2017
Modifié(e) : Prashant Arora
le 18 Oct 2017
Hi Mark,
Can you check if the following link is relevant? In particular, do you get errors while executing the "system" command described in the article?
Mark
le 18 Oct 2017
Prashant Arora
le 18 Oct 2017
Modifié(e) : Prashant Arora
le 18 Oct 2017
Does a window open when you use the following command in a terminal?
xdg-open directoryName
Prashant Arora
le 18 Oct 2017
Sorry if I was not clear. I meant to execute this command (xdg-open directoryName) in a Linux terminal, not from MATLAB command window.
Walter Roberson
le 18 Oct 2017
The xdg-open Desktop/ is intended to be run at a terminal Window. Inside MATLAB you could try
!xdg-open Desktop/
Mark
le 18 Oct 2017
Walter Roberson
le 18 Oct 2017
Does !xdg-open Desktop/ give an error, such as not being able to find xdg-open ? Or does it just silently not open the directory?
Mark
le 18 Oct 2017
Réponses (1)
Prashant Arora
le 19 Oct 2017
0 votes
Hi Mark,
This issue is possibly caused due to dependency of MATLAB shipped "libstdc++.so.6" on GLIBCXX and CXXABI libraries, which are missing on your system. In general libstdc++.so.6 does not require these files and you should be able to workaround this issue by forcing MATLAB to use the shared library from your system, instead of the one shipped with MATLAB. To do this, use the following method:
1. Navigate to the following folder:
matlabroot/sys/os/glnxa64
which I believe is
/usr/local/MATLAB/R2017b/sys/os/glnxa64/
in your case.
2. Rename the file libstdc++.so.6 to libstdc++.so.6.old
This should resolve the issue that you are facing.
Hope this helps!
Prashant
7 commentaires
Mark
le 19 Oct 2017
Prashant Arora
le 19 Oct 2017
Hi Mark, Perhaps you should try to rename libxml2.so.2 to .old as well?
I don't think you'll need to rename the .6.0.20 file.
Prashant Arora
le 19 Oct 2017
It should be in the following folder:
matlabroot/bin/glnxa64
Prashant Arora
le 19 Oct 2017
Hi Mark, Do you know the exact name of the file (libxml2.so.version) in your system? I think it should be present in the /usr/lib64/ directory. Using this exact file name, you should create a symbolic link as described in the article referenced above. You should also change the name back to libxml.so.2 and remove the "old" suffix before proceeding with symbolic link creation.
Mark
le 19 Oct 2017
Catégories
En savoir plus sur Downloads dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!