LQ Newbie Registered: Sep 2006 Posts: 14 | How to Specify a Gnome Workpace an Application will Launch in I know there is a similar thread in the Newbie section, but it is a year old and was never answered fully. Basically I want to create a Desktop with two Workspaces for general office users. The main workspace will be the default one, but the second will be used for VMWare Player running a Windows VM or perhaps a RDP session to a terminal server (for all those apps which haven't quite made it to Linux yet.) Getting the processes to run on startup is easy, the problem is I am unable to figure out how to force the apps to launch in the second workspace. Any ideas? Thanks Bob | |||
|
05-23-2007, 09:26 AM | #2 | |
LQ Newbie Registered: Sep 2006 Posts: 14 | I did find a workaround. I found that the wmctrl application will allow me to change workspaces from the CLI, but there is a time lag. If the target application (I'll use gedit as an example) is not running I need to:
Code: CurrentWS=`wmctrl -d | grep "*" | cut -f 1 -d " "` Code: Application="gedit" Thanks Bob | |
12-24-2007, 01:36 PM | #3 | |
Senior Member | devilspie: http://www.burtonini.com/blog/computers/devilspie http://ubuntu-tutorials.com/2007/07/...ects-in-gnome/ http://www.linux.com/feature/122471?theme=print [Added] is definitely able to do this & it specifically targets windows being opened. Unfortunately "the documentation is sparse" is an understatement. If you find any evidence that devilspie can "see"/use PID's, please post back. Edit: In case you aren't aware of it, http://sweb.cz/tripie/utils/wmctrl/ is an excellent overview of wmctrl Last edited by archtoad6 : 12-24-2007 at 02:10 PM. Reason: Add add'l links |
Nenhum comentário:
Postar um comentário