The Ubuntu team is pleased to announce the release of Ubuntu 18.04.3 LTS(Long-Term Support) for its Desktop, Server, and Cloud products, as well as other flavours of Ubuntu with long-term support.
Like previous LTS series, 18.04.3 includes hardware enablement stacks for use on newer hardware. This support is offered on all architectures and is installed by default when using one of the desktop images.
Ubuntu Server defaults to installing the GA kernel; however you may select the HWE kernel from the installer bootloader.
Ubuntu 18.04 users can easily upgrade to Ubuntu 18.04.3 by installing all available updates via Software Updater (Update Manager).
However, if you installed Ubuntu 18.04 LTS using the .iso images released in April 2018, you may kept back with Linux 4.18 and old Xorg display server.
To install the updated kernel 5.0, Xorg, and graphics drivers, you have to opt-in to “hardware enablement” (HWE). Simply open terminal (Ctrl+Alt+T) and run command:
This simply tutorial shows how to add a ‘Show Desktop‘ icon into the left dock panel in Ubuntu 21.10, Ubuntu 20.04, or Ubuntu 18.04 with default GNOME desktop.
The ‘Show Desktop‘ button was dropped since Ubuntu switched to Gnome 3 Desktop. For those using desktop app shortcuts, it’s useful to have a button to toggle display blank desktop quickly. And to add it back, you can manually create shortcut icon to do the trick and add it to panel (dock).
As you may know, the keyboard shortcuts Ctrl+Alt+d or Super+d do the function hide or show all opened app windows. And following steps will create a ‘show desktop’ shortcut icon simulates the keyboard press (Super+d) via the xdotool tool.
NOTE that following steps don’t work on Wayland session, since xdotool simulates X11 keyboard/mouse input events.
1. Install xdotool:
Xdotool is a command-line X11 automation tool, that allows to simulate keyboard input and mouse activity, move and resize windows, etc.
To install it, open terminal either by pressing Ctrl+Alt+T key combination on keyboard, or by searching from the activities overview screen. When terminal opens, paste the command below into it and hit run:
sudo apt-get install xdotool
Type your user password (no asterisk feedback) when it prompts and answer y to confirm.
2. Create a shortcut icon for Show Desktop:
Most Linux distributions identify app shortcut icons via .desktop file under “/usr/share/applications” for global or ‘.local/share/applications’ for local user only.
To create an app shortcut in the case, run command in terminal:
After created the shortcut, either press Windows (or Super) key on keyboard or click upper-left corner ‘Activities’ to bring up the overview screen.
Then search for ‘Show Desktop’ (without quotes), right-click on the result icon and select ‘Add to Favorites’.
Finally, you’ll see the ‘Show Desktop’ icon on the dock panel. As mentioned, it works only on Xorg session. For Ubuntu 21.04 and higher, you may need to choose ‘Ubuntu on Xorg‘ from the login screen via the gear button.