Howto add zoom effect on Plank

This guide will show you how to enable zoom effect on plank in elementary OS. It require some compiling and some editing, so read carefully.

First you need is to download the libs to build plank with, open the terminal copy/paste;

sudo apt install libglib2.0-dev valac libgnome-menu-3-dev libxml2-dev libxml2-utils libx11-dev libwnck-3-dev libgee-0.8-dev libbamf3-dev libdbusmenu-gtk3-dev

Next is to download and unpack Plank;

cd && cd Downloads
wget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/plank/0.11.89-1/plank_0.11.89.orig.tar.xz
tar xf plank_0.11.89.orig.tar.xz
cd plank-0.11.89

Now for compiling and installing Plank;

./configure
make
sudo make install

Now you have what is needed to zoom in Plank and can therefore reinstall the Plank libs.

sudo apt install --reinstall plank libplank*

Two files need to be edited before you can get the zoom effect, copy/paste;

sudo nano /usr/local/share/plank/themes/Default/dock.theme

Add the following in the end of the file;

ZoomEnabled=true

ZoomPercent=150

Save: [ctrl]+[o] and Exit: [ctrl]+[x]

The last file to edit i s the schemas of Plank;

sudo nano /usr/share/glib-2.0/schemas/net.launchpad.plank.gschema.xml

Look for (near the end of the file);

<key name="zoom-enabled" type="b">
                        <default>false</default>

Change false to true

Save: [ctrl]+[o] and Exit: [ctrl]+[x]

Last thing;

killall plank&& plank&
plank --preferences

Now enable Zoom effect in preference.

Enjoy! ^_^

Tested on: elementary OS 5.1.5

Source: https://www.reddit.com/r/elementaryos/comments/fd6fgd/zoom_effect_reveal_removed_from_the_plank/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s