perl - Open application in specific workspace -


i trying open gmemusage in specific workspace using unix; however, gmem doesn't accept -xrm parameter. ther method can use accomplish this?

#!/usr/bin/perl #use strict; $env{display} = "$1:0.0"; #system('xlogo -xrm "*workspacelist: two"');     #<--- works system('gmemusage -xrm "*workspacelist: two"');  #<--- not work sub testsystemscript{     if( $? == -1)     {         die("command failed: $!\n");     }     return 0; } 

i don't use linux window managers myself (i use mac), did little googling , found this. if understand correctly, think should able do:

system('wmctrl -s two; gmemusage'); 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -