Annoying pop-ups in Linux workspaces

3 ビュー (過去 30 日間)
Rodolphe
Rodolphe 2011 年 11 月 1 日
回答済み: Xingwang Yong 2023 年 8 月 23 日
Hey, i use matlab under Linux and i love to work on different workspace. My problem is that when i launch a script in a certain workspace, the potential pop-ups it generates ( progression bar , figures, etc...) appear in the workspace im using and not the one where matlab is open. Its really bugging me and i always have to right click on the pop-up to push it back to its proper workspace. Is there a way to modifiy this?
Thanks a lot.
  2 件のコメント
Walter Roberson
Walter Roberson 2011 年 11 月 1 日
I believe that when you say "workspace" you are referring to different Linux "desktops". If so then it depends upon the window manager you are using, not upon MATLAB.
Ashish Uthama
Ashish Uthama 2011 年 11 月 2 日
Second that. For example, if you use enlightenment (a window manager), you can control how/when 'New windows' receive focus. Turning it off is one way to prevent a pop-up from automatically getting 'focus', at the cost of 'loosing' some important dialogues sometimes :)

サインインしてコメントする。

回答 (2 件)

Amith Kamath
Amith Kamath 2011 年 11 月 2 日
If you don't mind the figures not being displayed at all, but all the data being calculated and saved in files so that you can check it out later, you could always run this from the command line:
matlab -nodesktop -nojvm -nosplash -r "<your .m file>; quit;"
I regularly do this and include saving plots as .jpg files in my .m code so that I can check them out later! Hope this helps!

Xingwang Yong
Xingwang Yong 2023 年 8 月 23 日
For figures, I dock them, so it would not pop-up at all. For other UIs, I don't see how to solve this.
% you may want to put it into startup.m
set(0,'DefaultFigureWindowStyle','docked');

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by