{"id":88,"date":"2013-02-11T10:57:58","date_gmt":"2013-02-11T15:57:58","guid":{"rendered":"http:\/\/www.mbeckler.org\/blog\/?p=88"},"modified":"2013-02-11T10:57:58","modified_gmt":"2013-02-11T15:57:58","slug":"enable-drag-to-corner-window-resizing-for-compiz","status":"publish","type":"post","link":"https:\/\/www.mbeckler.org\/blog\/?p=88","title":{"rendered":"Enable &#8216;drag to corner&#8217; window resizing for Compiz"},"content":{"rendered":"<p>I really enjoy the new feature in recent versions of Ubuntu, where I can drag a window to the top, left, or right edge of a display to resize the window to take up the full area, the left half, or the right half, respectively, of the display. For my 27&#8243; external display, however, I thought it would be nice to make the display corners into drop target that would resize the window to occupy just a corner of the display. Turns out that this functionality is already built-in to the Compiz plugin called &#8220;Grid&#8221;. You just have to tweak a few settings to enable it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"89\" data-permalink=\"https:\/\/www.mbeckler.org\/blog\/?attachment_id=89\" data-orig-file=\"https:\/\/www.mbeckler.org\/blog\/wp-content\/uploads\/2013\/02\/compizconfit_settings_manager_grid.png\" data-orig-size=\"960,623\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"compizconfit_settings_manager_grid\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/www.mbeckler.org\/blog\/wp-content\/uploads\/2013\/02\/compizconfit_settings_manager_grid.png\" src=\"https:\/\/www.mbeckler.org\/blog\/wp-content\/uploads\/2013\/02\/compizconfit_settings_manager_grid.png\" alt=\"compizconfit_settings_manager_grid\" width=\"960\" height=\"623\" class=\"alignnone size-full wp-image-89\" srcset=\"https:\/\/www.mbeckler.org\/blog\/wp-content\/uploads\/2013\/02\/compizconfit_settings_manager_grid.png 960w, https:\/\/www.mbeckler.org\/blog\/wp-content\/uploads\/2013\/02\/compizconfit_settings_manager_grid-300x194.png 300w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/p>\n<p>To access the right settings, you must first install the CompizConfig Settings Manager, so go to the Ubuntu software center and search for that package. Once you&#8217;ve installed it, search for the same name from the launcher to start it up. Heed well the warning about seriously messing up your desktop. Click on &#8220;Window Management&#8221; from the category list on the left side, and then select &#8220;Grid&#8221;. Select the &#8220;Edges&#8221; tab, and expand &#8220;Resize Actions&#8221;. Change the drop-down options for the four corner items to match the corner, as shown in the screenshot above. Now, you can drag a window to the corner of a display to have it resize to fill that quarter of the screen, as shown below.<\/p>\n<p><a href=\"https:\/\/www.mbeckler.org\/blog\/wp-content\/uploads\/2013\/02\/corner_window_resize.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"90\" data-permalink=\"https:\/\/www.mbeckler.org\/blog\/?attachment_id=90\" data-orig-file=\"https:\/\/www.mbeckler.org\/blog\/wp-content\/uploads\/2013\/02\/corner_window_resize.png\" data-orig-size=\"1920,1200\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"corner_window_resize\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/www.mbeckler.org\/blog\/wp-content\/uploads\/2013\/02\/corner_window_resize-1024x640.png\" src=\"https:\/\/www.mbeckler.org\/blog\/wp-content\/uploads\/2013\/02\/corner_window_resize-300x187.png\" alt=\"corner_window_resize\" width=\"300\" height=\"187\" class=\"alignnone size-medium wp-image-90\" srcset=\"https:\/\/www.mbeckler.org\/blog\/wp-content\/uploads\/2013\/02\/corner_window_resize-300x187.png 300w, https:\/\/www.mbeckler.org\/blog\/wp-content\/uploads\/2013\/02\/corner_window_resize-1024x640.png 1024w, https:\/\/www.mbeckler.org\/blog\/wp-content\/uploads\/2013\/02\/corner_window_resize.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>It doesn&#8217;t work 100% perfectly with multiple displays, having some troubles and inconsistent behavior with the &#8220;shared corners&#8221; but it works more than well enough for my needs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I really enjoy the new feature in recent versions of Ubuntu, where I can drag a window to the top, left, or right edge of a display to resize the window to take up the full area, the left half, or the right half, respectively, of the display. For my 27&#8243; external display, however, I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[36,10,35],"class_list":["post-88","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-compiz","tag-linux","tag-ubuntu"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2BznB-1q","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=88"}],"version-history":[{"count":0,"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/88\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}