Software & AppsOperating SystemLinux

How To Automatically Resize and Position Two Windows in Unity

Ubuntu 15

In today’s digital world, multitasking is a common practice. We often find ourselves juggling between multiple windows on our computer screens. In such scenarios, the ability to automatically resize and position two windows can significantly enhance productivity and ease of use. This article will guide you through the process of automatically resizing and positioning two windows in Unity, a popular user interface for Ubuntu.

Quick Answer

To automatically resize and position two windows in Unity, you can use the built-in window management shortcuts by pressing Ctrl + Alt + a keypad key. If you don’t have a keypad, you can try using Fn-overlay keys on your laptop. Alternatively, you can use external tools like X-tile, PYwo, or Easystroke. For advanced users, the CompizConfig Settings Manager offers more customization options for window management.

Unity’s Built-In Window Management

Unity offers a built-in feature for window management. By pressing Ctrl + Alt + a keypad key, you can arrange the window on your screen. For instance, pressing Ctrl + Alt + 4 will position the current window to take up the left half of the screen. Similarly, Ctrl + Alt + 6 will position it on the right half. These shortcuts are handy, but they require a keypad, which may not always be available, especially on compact or mobile keyboards.

Using Fn-Overlay Keys

For laptop users without a keypad, the Fn-overlay keys can come in handy. Many laptops, including ThinkPads, have overlays for keypad keys. For example, pressing Fn+j simulates the action of pressing KP1. However, this feature may not be available on all laptop models.

Ubuntu 12.10 and Above

From Ubuntu 12.10 onwards, you can use the Ctrl + Superkey + Arrow combination to resize and position windows. The Superkey is typically the Windows/Start key on your keyboard. For instance, Ctrl + Superkey + Left Arrow will position the current window to take up the left half of the screen.

Using External Tools

If the built-in options do not cater to your needs, you can resort to external tools like X-tile, PYwo, or Easystroke.

X-tile

X-tile is a Gnome panel applet that allows you to tile all windows on a particular workspace. It offers several features and can be customized according to your preferences.

PYwo

PYwo is a lightweight Python window organizer that runs in the background. It allows you to manipulate windows in several ways, including resizing and positioning.

Easystroke

Easystroke is a system-wide mouse gesture program. It allows you to assign simple mouse gestures to your desired keyboard shortcuts. For example, you can create a gesture that mimics the Ctrl + Alt + L shortcut to tile a window to the left-top of the screen.

Advanced Window Management with CompizConfig Settings Manager

For advanced users, the CompizConfig Settings Manager (CCSM) offers a comprehensive solution for window management. It allows you to configure various window management settings, including window resizing and positioning.

To use CCSM, you first need to install it. Open a terminal and type the following command:

sudo apt-get install compizconfig-settings-manager

Once installed, open CCSM and navigate to Windows Management > Grid. Here, you can set the keys or gestures you want to use for resizing and positioning windows.

Conclusion

In Unity, there are several ways to automatically resize and position two windows to take up half of the screen. You can use built-in features, external tools, or customize settings using tools like CompizConfig Settings Manager. Choose the method that best suits your needs and preferences. With these techniques, you can enhance your productivity and make multitasking more efficient.

Can I use the built-in window management feature in Unity without a keypad?

Yes, you can use the Fn-overlay keys on laptops that have overlays for keypad keys. For example, pressing Fn+j simulates the action of pressing KP1.

How can I resize and position windows in Ubuntu 12.10 and above?

You can use the Ctrl + Superkey + Arrow combination to resize and position windows. The Superkey is typically the Windows/Start key on your keyboard. For instance, Ctrl + Superkey + Left Arrow will position the current window to take up the left half of the screen.

Are there any external tools available for window management in Unity?

Yes, there are external tools like X-tile, PYwo, and Easystroke that you can use for window management. X-tile is a Gnome panel applet that allows you to tile all windows on a particular workspace. PYwo is a lightweight Python window organizer that runs in the background. Easystroke is a system-wide mouse gesture program that allows you to assign simple mouse gestures to your desired keyboard shortcuts.

Can I customize window management settings in Unity?

Yes, you can use the CompizConfig Settings Manager (CCSM) to customize window management settings. Install CCSM using the command sudo apt-get install compizconfig-settings-manager in the terminal. Once installed, open CCSM and navigate to Windows Management > Grid to configure resizing and positioning settings.

How can I enhance productivity and multitasking in Unity?

By automatically resizing and positioning two windows, you can enhance productivity and make multitasking more efficient. Choose the method that suits your needs and preferences, whether it’s using the built-in features, external tools, or customizing settings with CCSM.

Leave a Comment

Your email address will not be published. Required fields are marked *