문제

I'm using i3 as window manager in Ubuntu 12.04. I work a lot with MATLAB, and I started wondering if there is a way to make i3 put my figures in a specific workspace each time I plot something. I've read parts of the i3 user-guide but couldn't figure out a way to do this.

도움이 되었습니까?

해결책

The solution to my problem was to put the following in my .i3/config:

assign [class="com-mathworks-util-PostVMInit" title="^Fig"] 2

This makes all Figure windows from MATLAB appear in workspace 2. The string "com-mathworks-util-PostVMInit" is the class name of the MATLAB figure which I found using the xprop terminal command.

To make sure that it's only the figure windows in MATLAB that's behaving this way I've also added title="^Fig", to seperate from other MATLAB windows.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top