Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is it possible to do that? Because I always open a few programs for developing in one workspace, music in another and so on. Is it possible to make it automatic? Thank you.

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

Devil's pie enable to open the application in a particular workspace.

[Install]

following command:

sudo apt-get install devilspie gdevilspie

gdevilspie is GUI based configure tool.

[How to use]

For example, to open firefox in the workspace 2.

mkidr ~/.devilspie
gedit firefox.ds

Following code Cut & Paste into editor,And Save.

; generated_rule firefox
(if 
 (is ( application_name ) "Firefox" )
 ( set_workspace 2 )
)

Start or Restart devilspie.(In most cases, Devilspie registers to auto-start)

Detailed usage of Devil's pie is follow links:

http://www.webupd8.org/2011/02/how-to-start-applications-minimized.html

http://www.foosel.org/linux/devilspie

http://live.gnome.org/DevilsPie

Devil's pie may be useful for your ask of Fixed width and height for new opened folder/file.

EDIT: Sorry, "Set workspace" is not working in Compiz but working in gnome-shell.

I don't use compiz here - but I think the plugin you can use to achieve opening apps in specific windows is Place_windows or window_rules.

Whether that will conflict with unity is something that I can't comment on at present.

What he say is correct.

If you use Compiz in ubuntu session, you should use Place windows plugin like as following link. but Place windows plugin conflict with unity.

https://blog.so-net.ne.jp/_images/blog/_7b2/ankyo/SS-ccsm-plase-window.JPG

The above screenshot, I enable the Place Windows plugin in a special way to avoid conflicts.

share|improve this answer
add comment

Not at all sure that devilspie will be any good for someone using unity as compiz will be working. Last time I looked at devilspie when using compiz it didn't work.

I don't use compiz here - but I think the plugin you can use to achieve opening apps in specific windows is Place_windows or window_rules.

Whether that will conflict with unity is something that I can't comment on at present.

Edit - Booting ubuntu it seems that the plugin is gone now, perhaps there is another method to achieve this now.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.