Feeds:
Posts
Comments

Posts Tagged ‘Control’

Please note: this guide is for Ubuntu 10.10 backwards, as Emerald is no longer supported by Ubuntu. If you have upgraded to 11.04, Emerald will still the there, but the themes will be useless unless you uninstall Emerald and reinstall a version compatible with the latest Compiz-Fusion. If you have Emerald running successfully in 11.04 onwards, then this guide will still apply to you. Otherwise, read the guide for restoring window borders in 11.04 onwards.

ØØØØØØØØØØØØØØØØØØØØØØØØØØ

Once in a while, you might find that when you boot to your desktop, the title-bars to all your windows are missing, along with the control buttons (Minimize, Maximize and Close).

While many wouldn’t know any way around this situation other than a reboot, others will be aware of the fusion-icon package that lets you reload your window manager. Once installed, it can be found in Applications > System Tools > Compiz Fusion Icon, and when launched you’ll find its icon in the system tray. Simply right-click it and choose the Reload Window Manager option, and Compiz-Fusion will be forced to restart, and your title-bars will reappear with the Emerald theme currently in use.

But there is actually a much easier way to go about this, and it is as simple as pasting the following command into a terminal or via Alt+F2:

emerald --replace

This just reloads Emerald, which is all that is needed to get your title-bars back. As you can see, this is much quicker than using the Compiz Fusion Icon, and means you don’t have to worry about installing the fusion-icon package if it’s not already on your system.

But there is an even easier way to do this, and that is create a launcher for it. You can put it anywhere you like, like the desktop or on the panel, but if you’re worried about clicking it accidentally, or just want it out of the way until needed, you can add a drawer to your panel and stick it in that.

The command for the launcher is exactly the same as for the terminal, and you can name it something like Reload Emerald/Compiz. Then all you have to do from then onwards is click your launcher and watch your title-bars bounce back.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Advertisements

Read Full Post »

With the release of Ubuntu 10.04Lucid Lynx” came the move to a new default theme, one which has the control buttons on the left (like in Mac OS X) rather than the right (the previous default, and a layout Windows users are familiar with).

If you really don’t like the control buttons on the left, it’s easy enough to remedy by switching themes to one with buttons on the right. But if you like the current theme, just not the button layout, you can actually hack the settings and put the buttons where you want.

To achieve this, you can simply copy and paste the command at the end of this article into a terminal, or if you prefer the hands-on approach, do the following:

Open Applications > System Tools > Configuration Editor (or Alt+F2 and enter gconf-editor). Once open, browse to /apps/metacity/general/, and in the right pane you will notice the option “button_layout”, with its value set as close,minimize,maximize:menu.

Simply change the value to menu:minimize,maximize,close. As soon as you hit Enter to commit the changes, the buttons will leap to the right-hand side.

Also, you can remove the window menu from the opposite side, simply by leaving out the word menu:

:minimize,maximize,close (make sure to include the colon at the beginning).

You can even add a spacer (or more), simply by including the word spacer in there. For example, if you just want a spacer between the maximize and close buttons, you would change the value to menu:minimize,maximize,spacer,close.

You can apply these tricks to any GTK+/Metacity theme in use, and put buttons in whatever order you desire. And Mac users who want buttons on the left can use any of the countless themes with right-side buttons and simply change that theme’s settings to close,minimize,maximize:menu, or close,minimize,maximize: if the window menu is unwanted (make sure to include the colon at the end).

°ºÒθÓº°¤°ºÒθÓº°¤°ºÒθÓº°

Now that you’ve seen the “user-friendly” hands-on method of doing this, here’s a command you can paste in a terminal instead:

gconftool-2 -t str --set /apps/metacity/general/button_layout “menu:minimize,maximize,close”

°ºÒθÓº°¤°ºÒθÓº°¤°ºÒθÓº°

The only restrictions are: “Duplicate buttons are not allowed. Unknown button names are silently ignored so that buttons can be added in future metacity versions without breaking older versions.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »