Replace the "Applications" text in the panel with the elementary OS logo/icon.
Download one of the following logos by pasting the corresponding command into the terminal:
- 20px logo (scaling-factor 1):
wget https://git.io/v9et4 -O ~/.config/gtk-3.0/logo.png
- 40px logo (scaling-factor 2):
wget https://git.io/v9etB -O ~/.config/gtk-3.0/logo.png
- 60px logo (scaling-factor 3):
wget https://git.io/v9etE -O ~/.config/gtk-3.0/logo.png
Most users should choose 20px; larger versions are for displays that have been "zoomed in" with scaling-factor
. (Check this factor with gsettings get org.gnome.desktop.interface scaling-factor | sed 's/.* //'
; the default, unzoomed value is 1
.)
Paste the following block of code in the terminal:
bash -ec "
# get slingshot-launcher source and the packages required to build it
cd /tmp; sudo rm -rf slingshot-launcher*
apt source slingshot-launcher; sudo apt build-dep slingshot-launcher
# edit source code (remove 'Applications' text and add css class `.logo`)
cd slingshot-launcher*
sed -i '/App/a indicator_label.get_style_context().add_class(\"logo\");' \
src/Slingshot.vala
sed -i 's/Applications/ /' src/Slingshot.vala
# build and install source code
mkdir build; cd build; cmake .. -DCMAKE_INSTALL_PREFIX=/usr; sudo make install
# add logo to wingpanel with custom css styling
grep '^\.logo' ~/.config/gtk-3.0/gtk.css || echo '.logo{background:url(\"logo.\
png\") no-repeat center/20px;padding:0 10px}' >> ~/.config/gtk-3.0/gtk.css
# restart wingpanel
killall wingpanel; wingpanel &"
To revert to the default "Applications" text, paste this block in the terminal:
bash -c "
# reinstall the original slingshot-launcher
sudo apt install --reinstall slingshot-launcher
# remove the custom css styling
sed -i '/^\.logo/d' ~/.config/gtk-3.0/gtk.css
# restart wingpanel
killall wingpanel; wingpanel &"