Get your Desktop Icons BACK on Ubuntu 19.04 with Nemo

Gnome disabled OOTB support for managing Desktop icons, and is now handled via a gnome shell extension that is missing many features and not quite usable.

The best solution I found so far was to install nemo (file manager on Linux Mint) and make it the default instead of Gnome Files (formerly nautilus) and let it handle the desktop icons as well.

  1. Disable the Desktop Icons extension (from Gnome Tweaks -> Extensions) if it already exists
  2. Install nemo:
    1. sudo apt install nemo
  3. Make nemo the default file manager and disable nautilus control of desktop:
    1. xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
    2. gsettings set org.gnome.desktop.background show-desktop-icons false
  4. Add nemo-desktop to your startup items

That’s it, Enjoy!


Posted in Linux, Ubuntu | Tagged , , , , | 3 Comments

Reset your Ubuntu Desktop to its default settings

dconf reset -f /


Posted in Linux, Ubuntu | Tagged , , , | Leave a comment

How to check the DHCP server on Ubuntu

This is if you need to know which server gave you your dynamic IP:

cat /var/lib/dhcp/dhclient.leases 

That’s it, Enjoy!

Posted in Ubuntu | Tagged , , , | Leave a comment

Change default storage location of docker containers on Ubuntu 18.04 and 18.10

This was tested on Docker version 18.09.4, build d14af54266, it includes ALL docker data.

Just edit/create a file inside /etc/docker named daemon.json and add the following:

"data-root": "/new_location"

then simply restart docker:

sudo service docker restart


Posted in docker | Tagged , , , , | Leave a comment

Print a batch of files on Ubuntu 18.10

Here we will send a batch of files inside a directory to the default printer in Ubuntu.

First of all, you’d better define a default printer in your system by going to Printers and then select Use Printer by Default:

Next, just invoke the lpr command, e.g.

lpr *.pdf

That’s it, Enjoy!


Posted in Linux | Tagged , , , | Leave a comment

Touchpad enable/disable script and shortcut on Ubuntu 18.10

If your laptop doesn’t have a working switch for turning on/off your touchpad, then this post is for you.

Create a script called and add the following code to it:


state=$( gsettings get org.gnome.desktop.peripherals.touchpad send-events )

if [ "$state" == "'enabled'" ];then
gsettings set org.gnome.desktop.peripherals.touchpad send-events 'disabled' \
&& notify-send -i touchpad-disabled-symbolic "Touchpad" "Disabled"
gsettings set org.gnome.desktop.peripherals.touchpad send-events 'enabled' \
&& notify-send -i input-touchpad-symbolic "Touchpad" "Enabled"

Mark the script as executable and move it to /usr/bin:

chmod +x
sudo mv /usr/bin/

Open Settings -> Keyboard, scroll to the bottom and press the + sign to assign a new keyboard shortcut:

Tested on Ubuntu 18.10, should work on any gnome-shell versions anyway!



Posted in Linux | Tagged , , , , | Leave a comment

How to fix Ubuntu dock still visible while screen is locked on 18.04 and 18.10

A very stupid bug that has been there for quite a while! Luckilly the fix has been released recently into the proposed repository for both Bionic & Cosmic (Disco as well).

Just enable the proposed updates from Software & Updates -> Developer Options -> Pre-released updates, then run the following commands:

sudo apt update
sudo apt install gnome-shell-extension-ubuntu-dock

Hit Alt+F2, write r and then press Enter (works for Xorg only, not Wayland)



Posted in Linux | Tagged , , , , , , | 2 Comments