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 force all application windows to open at a specific resolution (i.e. a set specific size like 1280x720 pixels)?

share|improve this question
    
devilspie (cmd & gui) — Couldn't get it to work (hanged all windows and I had to restart PC via terminal), but something worth noting. Thanks to @fossfreedom for the tip. –  its_me Nov 28 '12 at 17:24

1 Answer 1

up vote 1 down vote accepted

Yes, though it doesn't work very well.

  • Install ccsm, sudo apt-get install compizconfig-settings-manager (note ccsm is pretty buggy).
  • Start ccsm, go to the window management section
  • Enable "Window Rules"
  • In the options for "Window Rules", choose the "Size rules" tab
  • Click new, then the +
  • Choose your window (by class is usually best but it takes some experementing)
  • Set your width and height.
  • Apply everything and enjoy your fixed window heights.
share|improve this answer
    
A screenshot would be helpful. All I see under window management section are: Grid, Move Window, Place Windows, Resize Window, Scale, Snapping Windows (and I checked then, and there seems to be no relevant option. I'll keep looking). –  its_me Nov 28 '12 at 17:33
1  
Hmm make sure you have the plugins installed. sudo compiz-plugins-default –  coteyr Nov 28 '12 at 17:41
1  
Screenshot 1 Screenshot 2 –  coteyr Nov 28 '12 at 17:42
    
Terminal says, "compiz-plugins-default is already the newest version." But I still don't see the options that you are. –  its_me Nov 28 '12 at 17:47
    
All I have from dpkg --get-selections | grep comp is compiz install compiz-core install compiz-gnome install compiz-plugins install compiz-plugins-default install compiz-plugins-main-default install compizconfig-backend-gconf install compizconfig-settings-manager install –  coteyr Nov 28 '12 at 17:52

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.