Howto set Wingpanel and Slingshot to be translucent

Do you like translucent/transparent theme? If so this guide is for you. Note: It have only been tested with elementary OS default elementary theme. Open the terminal and copy/paste;

io.elementary.code '~/.config/gtk-3.0/gtk.css'

Add the following to the file;

.panel {

    background-color: rgba(255,255,255,0.5);

    transition: all 1s ease-in-out;

.panel.maximized {

    background-color: rgba(255,255,255,0.5);

@define-color base_color #ffffff;
@define-color bg_color alpha (shade (@base_color, 0.96), 0.6);
@define-color bg_highlight_color shade (@bg_color, 1.4);
@define-color border_color alpha (#000, 0.25);
@define-color fg_color #969f9d;

You can adjust the transparency of the Wingpanel by change the 0.5 to 0.0 (transpancy) – 1.0 (Solid)

The Slingshots transparency you can adjust 0.6 likewise.

Logout and login to take affect.

Enjoy ^_^

Tested on: elementary OS 5.1.4

Howto change Slingshot to the old style in elementary OS

This guide will show you how to change Slingshot back to how it should looks like.


First we need to get older libs. One for Slingshot and one for elementary Tweaks. Open the terminal and copy/paste:

cd && cd Downloads

Next thing is to backup the current libs, so you can switch back if needed. Copy/paste:

sudo cp -r /usr/lib/x86_64-linux-gnu/wingpanel/ libslingshot.so_backup

Now you can copy the downloaded libs into Slingshot and elementary-tweaks:

sudo cp -r /usr/lib/x86_64-linux-gnu/wingpanel

Lastly you need to download the schemas that tells on how Slingshot shall be structured: Download here

And you need to copy into /usr/share/glib-2.0/schemas

sudo cp -r io.elementary.desktop.wingpanel.applications-menu.gschema.xml /usr/share/glib-2.0/schemas
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
killall wingpanel

Now you have the old look and feel from Slingshot.

To prevent newer release of slingshot and elementary-tweaks to reset the tweaks you made, you have to hold to packages back. Copy/paste:

sudo apt-mark hold slingshot-launcher



Tested on: elementary OS 5.1.4 – 5.1.6