Wednesday, 2 May 2012

Adding window options to title bar in GNOME 3.2, 3.4

In GNOME you can usually right-click on the title bar of an application's window to select Minimize, Maximize, Always on Top, Always on Visible Workspace, etc.

If you use Google Chrome and are not using the system title bar and borders (the default), you'll notice it's not possible to access this menu.

Window Options GNOME Shell Extension in action

I've written a small GNOME Shell Extension that adds this drop-down list to the GNOME Shell title bar that gets drawn for the current window. See it in action in the picture.

It's called Window Options and is available for installation from

To install it, visit - one-click install.

Otherwise, download the .zip file on the Downloads page. Open gnome-tweak-tool, go to "Shell Extensions", "Install Extension" and select the .zip file.

This extension also works with the Status Title Bar extension (which shows the full window title in the top instead of just the current application's name). However, you have to make sure that Window Options is loaded after Status Title Bar, or else Status Title Bar will write over the menu.(UPDATE: It now works with Status Title Bar regardless of install order.)

To do this, just make sure that if you're using Status Title Bar, you install it before Window Options. If it's too late and you installed Window Options first, you can either uninstall and reinstall Window Options, OR just toggle Window Options on and off a couple of times (from gnome-tweak-tool) when you log in. This will cause Window Options to put its menu items in Status Title Bar's menu instead of the default panel one (that Status Title Bar removes).

You can configure which items are shown in the menu; to see how, see the Readme on Window Options' homepage (just scroll down a bit).

No comments:

Post a comment