필터 지우기
필터 지우기

How to open a .m file by a double-click, on Ubuntu 12.04

조회 수: 4 (최근 30일)
Jonas
Jonas 2012년 7월 11일
댓글: Kosha 2020년 7월 21일
We tried some things, but it didn't work... (because by default it doesn't work as it used to work with Windows)
  댓글 수: 1
Daniel Shub
Daniel Shub 2013년 1월 25일
Ubuntu 12.04 doesn't provide enough information. What DE are you using (Unity, KDE, Gnome, etc.). What program do you want the m-file to open in (MATLAB, emacs, vi, etc).

댓글을 달려면 로그인하십시오.

답변 (2개)

Mark
Mark 2017년 10월 28일
For Ubuntu 16.04 this is different so.
What worked for me is appending %F to the end of Exec=some/path which is in my matlab.desktop file.
Locate the matlab.desktop file its either in
~/.local/share/applications
or
~/usr/share/applications
I found the solution here Also if you don't have a matlab.desktop file then you may want to create one link to some relevant help to create launcher icon
  댓글 수: 2
Farid Tavakkolmoghaddam
Farid Tavakkolmoghaddam 2020년 2월 18일
Thank you! I tested this method works on Ubuntu 18.04 and it worked for me.
Kosha
Kosha 2020년 7월 21일
Could you please explain what exactly you did? I can't make it work. Could you maybe copy the content of your .desktop file?

댓글을 달려면 로그인하십시오.


Grzegorz Knor
Grzegorz Knor 2013년 1월 25일
편집: Grzegorz Knor 2013년 1월 25일

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by