Tag Archive for how to

Move “Show Applications” right to left of the Dock in Ubuntu

When I installed new Ubuntu 18.04, first thing I have my mind is to move the Dock at botton. I was very happy to see that Ubuntu 18.04 is already provided that option, to enable this you need to go to setting > Dock and then “Position of screen” to bottom.

Yessss, it works.

Image for post

After this one more thing I noticed is “Show applications” is showing at the right side of the Dock but I like it on the left (Event in old versions and mac/ windows its in left). I tried to search in google but nothing found so I thought of writing a notes about it. And finally, I got it working so I thought it will be good to share it with everyone.

Here is the command you need to run for this

gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true

Yayyy, its working.

1*AbDjQvjx30Du4QBoNrHegg.png (700×31)

And of course, to back set it false:

gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top false

src: https://medium.com/@suneel.omrey/move-show-applications-right-to-left-of-the-dock-in-ubuntu-18-04-9592dfd18c9a

Let’s Encrypt howto

Clone Git repo:

sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt


cd /opt/letsencrypt

Generate apache config and certs:

./letsencrypt-auto --apache -d example.com

or with subdomain

./letsencrypt-auto --apache -d example.com -d www.example.com

lets test it:


Enable auto renewal:

./letsencrypt-auto renew

output be similar like this:

Checking for new version...
Requesting root privileges to run letsencrypt...
   /root/.local/share/letsencrypt/bin/letsencrypt renew
Processing /etc/letsencrypt/renewal/example.com.conf

The following certs are not due for renewal yet:
  /etc/letsencrypt/live/example.com/fullchain.pem (skipped)
No renewals were attempted.

add it to crontab:

sudo crontab -e

add a line:

30 2 * * 1 /opt/letsencrypt/letsencrypt-auto renew >> /var/log/le-renew.log