Borrar filtros
Borrar filtros

Matlab on Xfce linux failed to load gtk module

6 visualizaciones (últimos 30 días)
Tanaphon Sriyim
Tanaphon Sriyim el 6 de En. de 2021
Respondida: Bhanu Prakash el 18 de En. de 2024
I installed MATLAB2020b on Xfce linux then launch it on terminal.It work fine, but there are four messeages on the termial.I don't know if there are any effect on MATLAB. I've already install both gtk-2 and gtk-3 packages, but it still didn't fix the errors. I'm new on linux, please help. Thank you to anyone who pay attention.

Respuestas (1)

Bhanu Prakash
Bhanu Prakash el 18 de En. de 2024
Hi Tanaphon,
I understand that you are getting some messages in the terminal when trying to launch the MATLAB R2020b version on Linux.
The messages that appear in the terminal when starting MATLAB are informational and have no effect on MATLAB.
To supress the messages related to ‘canberra-gtk-module’, run the following commands in a Linux terminal:
  • Install the required package for ‘canberra-gtk-module’ using the following command:
apt-get install libcanberra-gtk-module
  • Set the GTK_PATH using the following command:
If your login shell is ‘bash’:
export GTK_PATH=/usr/lib/x86_64-linux-gnu/gtk-2.0
If your linux shell is ‘tcsh’:
setenv GTK_PATH /usr/lib/x86_64-linux-gnu/gtk-2.0
  • Open MATLAB using the below command:
./matlab
For more information on the above-mentioned commands, refer to the following documentation:
Hope this helps!

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by