Archives For November 30, 1999

Rhythmbox

For Gnome Shell users, Rhythmbox music player now looks better by using new GTK3 header bar (client-side decorations) provided by alternative-toolbar plugin.

Thanks to David Mohammed, Ozon and Georgi Karavasilev. With the new alternative-toolbar plugin, Rhythmbox player looks better in Gnome:

And below is the plugin configuration window with a few options:

How to install alternative-toolbar plugin:

For ubuntu 14.04, Ubuntu 14.10, and Ubuntu 15.04, install the plugin from developer’s PPA by running below commands one by one in terminal (Ctrl+Alt+T):

sudo add-apt-repository ppa:fossfreedom/rhythmbox-plugins

sudo apt-get update

sudo apt-get install rhythmbox-plugin-alternative-toolbar

If you don’t want to add the PPA, grab the .deb package from launchpad.net

For Rhythmbox users who are using Gnome Shell, now there’s a plugin to make it look like a real Gnome application by enabling the GTK3 Client-side Decorations (Header bar).

Thanks to david mohammed, with this alternative-toolbar plugin Rhythmbox in Gnome looks like:

For non-gnome desktops, this plugin doesn’t use the CSD header bar by default. But there’s also a little changes:

If you really want the CSD header bar, non-gnome user cat get it in the plugin preferences.

How to install the plugin for Rhythmbox:

For Ubuntu 14.10 and Ubuntu 14.04, the plugin is available in the developer’s PPA.

Open terminal from the Dash or by pressing Ctrl+Alt+T on keyboard. When it opens, run below commands one by one to add the PPA, update system cache, and install the plugin:

sudo add-apt-repository -y ppa:fossfreedom/rhythmbox-plugins

sudo apt-get update

sudo apt-get install rhythmbox-plugin-alternative-toolbar

If you don’t want to add PPA, grab and install the .deb package directly from this page. Once installed, enable it by going to Tools -> Plugins.

For other systems and issues, go to the plugin’s project page.

In Ubuntu 14.04 and Ubuntu 14.10, some Gnome applications use client-side decorations which don’t work properly in the default Unity Desktop.

The applications with client-side decorations look broken in Unity and they are unresizable. Here are some examples:

Gnome Clock in Ubuntu 14.04

The Latest gthumb 3.3.2 (gthumb from Ubuntu repositories is old and does not use CSD)

gtk3-nocsd, a hack by one of the LXDE founders, is a small module used to disable the client side decoration of gtk+ 3. It works on most, but not all CSD applications.

After disabled client side decoration, above applications will look like:

Gnome Clock with CSD disabled (Picture was taken in Gnome-Shell)

gthumb with CSD disabled

How to Install & Use gtk3-nocsd

This module has been made into Webupd8 PPA, available for Ubuntu 14.10 and Ubuntu 14.04.

Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste the commands below and run one by one:

sudo add-apt-repository ppa:nilarimogard/webupd8

sudo apt-get update

sudo apt-get install gtk3-nocsd

To disable client side decoration, for gnome clock as example:

First run command to edit the application shortcut file, .desktop file under /usr/share/applications or .local/share/applications.

gksudo gedit /usr/share/applications/gnome-clocks.desktop

When the file opens, add env LD_PRELOAD=/usr/lib/gtk3-nocsd/gtk3-nocsd.so to the value of Exec as a parameter, so it looks like:

Save the file and done. Note that gtk3-nocsd does not work for gnome-tweak-tool, gnome-music, etc.

via: webupd8