-
-
Save offensivelyaverage/e59f38549d0b990d6fdd2d6d569cd25c to your computer and use it in GitHub Desktop.
#!/bin/bash | |
echo "...Installing dependencies..." | |
sleep 1 | |
sudo apt install cmake \ | |
extra-cmake-modules \ | |
qtdeclarative5-dev \ | |
libqt5x11extras5-dev \ | |
libkf5iconthemes-dev \ | |
libkf5plasma-dev \ | |
libkf5windowsystem-dev \ | |
libkf5declarative-dev \ | |
libkf5xmlgui-dev \ | |
libkf5activities-dev \ | |
build-essential \ | |
libxcb-util-dev \ | |
libkf5wayland-dev \ | |
git \ | |
gettext \ | |
echo "...Removing existing Latte-Dock directory..." | |
sudo rm -rf Latte-Dock/ | |
sleep 1 | |
echo "...Killing existing dock instance..." | |
killall -9 latte-dock | |
sleep 1 | |
echo "...Cloning git repo..." | |
git clone https://github.com/psifidotos/Latte-Dock.git | |
cd Latte-Dock | |
echo "...Installing now..." | |
sleep 1 | |
set -e | |
bash ./install.sh | |
echo "...Installtion succesful..." | |
sleep 1 | |
echo "...Cleaning up..." | |
cd .. | |
sudo rm -rf Latte-Dock/ | |
sleep 1 | |
echo "...Launching Latte-Dock..." | |
latte-dock &! | |
sleep 5 | |
echo "...Done..." | |
exit |
Hi "d0od88" and "poetimp",
Thank you for providing this script to install the latte dock. I could not install this in my Linux Mint KDE 18.1 until I used your script with the additional dependencies "poetimp" mentioned, then it installed and works fine.
A question for either of you, can this dock or any other dock you know of run only in a specific virtual desktop (workspace) or KDE activity with shortcuts (launchers) for only that virtual desktop or activity? If "Latte" can do this, or any other dock, how? It seems to me, that all docks or panels show on all virtual desktops or activities and cannot have unique shortcuts (launchers) per virtual desktop or activity...
Best regards to you both.
Phil
phd21
hello newbie on linux... first time i install on my pc
install it from 2 weeks now iam trying to install latte-dock on terminal its works up to the cloning process after that.. i hav try many time..... no way!!!! what shoul i do help please! thanks:
kivunza@kivunza:$ sudo rm -rf Latte-Dock$ killall -9 latte-dock
[sudo] password for kivunza:
kivunza@kivunza:
latte-dock: no process found
kivunza@kivunza:$ git clone http://github.com/psifidotos/latte-dock.git$ bash ./install.sh
Cloning into 'latte-dock'...
remote: Counting objects: 5776, done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 5776 (delta 5), reused 0 (delta 0), pack-reused 5746
Receiving objects: 100% (5776/5776), 1.70 MiB | 23.00 KiB/s, done.
Resolving deltas: 100% (4109/4109), done.
Checking connectivity... done.
kivunza@kivunza:
bash: ./install.sh: No such file or directory
kivunza@kivunza:$ cd Latter-Dock$
bash: cd: Latter-Dock: No such file or directory
kivunza@kivunza:
kivunza@kivunza:~$
Need to add:
to the dependencies