我希望我的窗口为特定大小(而不是全屏),并且默认情况下位于屏幕中间。当我关闭应用程序并重新打开它时,它将是我希望默认设置的尺寸。有没有简单的方法可以做到这一点?我正在使用Ubuntu 11.10和Unity桌面环境。
我不知道您是否可以简单地使所有窗口的行为相同,但是可以单独设置。我们将以Thunderbird为例。
请确保您有安装CCSM:打开一个终端(新闻Control- - Alt),T然后输入
sudo apt-get install compizconfig-settings-manager
打开ccsm。您将在“窗口管理”部分中使用“放置Windows和Windows规则”插件。
First, go into Place Windows, select the Fixed Window Placement tab and Select New.
Enter the program name (class=xxxx) and set the starting X and Y coordinates. The coordinates start from the top left corner of the screen. This tells the program where to open on the screen.
Next go to the Windows Rules plugin and select the Size Rules tab and new.
Enter the program name (class=xxxx) and set the X and Y size. This tells the program what size to open the program in pixels (pixels wide x pixels high).
Now, open the program you just did this for and it should open where and how big you want it to everytime.
Note that you will have to do this for every program you want to open in a specific place and a specific size. You can also use one without the other, for instance always having a program open in a specific place but not having it's size defined.
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句