TranslateProject/sources/tech/20211204 How to Install and Use Latte Dock on Ubuntu and Other Linux Distributions.md
DarkSun 9fceb620ed 选题[tech]: 20211204 How to Install and Use Latte Dock on Ubuntu and Other Linux Distributions
sources/tech/20211204 How to Install and Use Latte Dock on Ubuntu and Other Linux Distributions.md
2021-12-04 05:02:27 +08:00

9.4 KiB
Raw Blame History

How to Install and Use Latte Dock on Ubuntu and Other Linux Distributions

You know what docks are, right? It is usually the bottom bar where your applications are docked for quick access.

Many distributions and desktop environments provide some sort of docking implementation. If your distribution does not have a Dock or if you want to experiment with some other Dock applications, Latte dock is a good choice. It is similar to the dock on macOS with a parabolic animation every time you hover over any dock object with your mouse.

In this tutorial, Ill show you how to install Latte Dock on Ubuntu. Ill also show some a few things about using and customizing Latte Dock.

Install Latte Dock on Ubuntu

Latte dock is a popular application and available from the official repository of most Linux distributions. This means that you can use your distributions software center or package manager to install Latte dock.

Latte is available from the software center

On Ubuntu and other distributions that are based on Ubuntu such as elementary OS, Linux Mint, Pop!_OS, Zorin OS, use the apt command:


    sudo apt install latte-dock

Done! You now have Latte Dock installed on Ubuntu.

Disable Ubuntu dock (for Ubuntu users)

Before you start your shiny new dock, I advise that you disable the dock that ships with Ubuntu by default. Here is a guide on how to disable the dock on Ubuntu.

To disable the dock, type this in your terminal


    gnome-extensions disable [email protected]

If you end up changing your mind, you can enable the Ubuntu dock again with the following command


    gnome-extensions enable [email protected]

NOTE

The default dock on Pop!_OS 20.04 LTS can not be disabled (although, it is hidden by default on the desktop; only visible in the activities overview). On Pop!_OS with the COSMIC DE/Extension, you can disable or enable the dock by going in the Settings app, under Desktop -> Dock.

Start using Latte Dock

I am using Pop!_OS in the tutorial but the steps are applicable to any Linux distribution.

Once installed, you will find a launcher icon for Latte Dock in your Applications Drawer. You can either access it through the dock or press the Super (usually the Windows key; or Command key if you have a Mac keyboard) Key + A.

Open Latte Dock from here.

Latte dock highlighted in the app drawer

Cool! You now have Latte Dock open on your desktop.

Screenshot of Latte Dock on the desktop

Enable autostart for Latte Dock

With Latte Dock now open and Ubuntu Dock disabled, if you reboot now, you will not have any dock next time your computer turns on.

Lets fix that right now.

Perform a right click on the dock. Click on the Configure option under the Layouts sub menu.

Launching the Settings panel window by going in Layouts > Configure

Now, under the Preferences tab, make sure that the “Enable autostart during startup” checkbox is checked.

Enable autostart during startup checkbox enabled

Customize your dock

If you install any KDE product, customization is expected to be endless. It would be odd if Latte Dock wouldnt allow customization. Fortunately, that is not the case.

You can do a wide variety of things to customize Latte Dock. Increase its size, make it more transparent or translucent, theme it, and much more.

Pinning apps to the dock

To pin your application to the Latte Dock, open said application and right click on the application icon that is in your dock. Now click on Pin Launcher. Done! Your application is now pinned to the dock.

Right click the running app and select Pin Launcher option

You can change its position in the dock by moving it to the left or right with the click and drag movement.

Search and install themes for Latte Dock

Open the Latte Docks Settings window by right clicking on the dock, clicking on the Configure option under the Layout sub menu.

You may already a few themes (err… layout) installed. Select it from the list of installed options and click on the Switch button on the right side.

change themes latte dock

You may also download more themes by clicking the Download button. It should show you a list of available themes for installation.

Latte Dock Add On Installer window

Change dock appearance and behavior

As I mentioned earlier, there are a huge amount of customization options in KDE products.

Lets play with some, shall we?

Right click on the dock and click on “Dock Settings”

Access Latte Dock settings by right clicking the dock

Here, you will get all types of options to toggle. Want to move dock to the left side of your monitor? You can do that with the options provided under the Location sub menu.

The Dock settings and customization window

If you feel limited in any way regarding the available options, toggle the switch at the top right corner that says Advanced.

The Dock settings and customization window with advanced options now visible

Now THAT is awesome!

Try playing with every available toggle. You can hide the dock after a delay. You can place it to an edge of your monitor, place it to the center of that edge, to the left or right. You can do that all.

Want to tinker with launch, hover etc effects? More options to tinker with await for you under the Effects tab.

Remove Latte Dock from your system

You installed Latte Dock, customized it but felt it was not what you were looking for. And, now you are looking to remove Latte Dock. Thats fine. I got you.

You can remove Latte Dock using the apt package manager. Do that with the following command:


    sudo apt autoremove --purge latte-dock

The purge flag will remove any configuration files that Latte Dock had in the system directories except for ~/.config.

For advanced users only: removing user specific leftover files

This is not mandatory but if you want to remove the user config files that are usually placed in your $HOME/.config (AKA ~/.config) directory. Use find command to locate Latte Docks config files.


    find ~/.config -iname "latte*"

You can safely remove these directory and config files from your ~/.config directory.

For Ubuntu users: Re-enable the Ubuntu dock

Dont forget to enable the stock Ubuntu dock. In case you dont remember, the command to enable the dock again is down below:


    gnome-extensions enable [email protected]

Conclusion

Latte Dock is an amazing dock from the KDE kommunity ( ͡° ͜ʖ ͡°)

It offers a lot of theme-ing (layout), appearance, customization options along with some nice effects. It is certainly something that you should look for, if you are thinking of customizing your stock desktop look and feel.

If you end up loving Latte Dock and start using it every day, do let me know in the comments. And, if in any case you dont like Latte Dock, let me know why, with a comment.


via: https://itsfoss.com/install-use-latte-dock-ubuntu/

作者:Pratham Patel 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出