2022-07-04 09:56:45 +00:00
|
|
|
#!/bin/bash (latest)
|
|
|
|
##makedesc: Install KDE Window AppMenu Applet
|
|
|
|
|
2022-01-08 06:25:47 +00:00
|
|
|
echo
|
|
|
|
echo "==============================================="
|
|
|
|
echo "Installing KDE Window AppMenu Applet..."
|
|
|
|
echo "==============================================="
|
|
|
|
echo
|
2022-01-02 06:32:22 +00:00
|
|
|
|
|
|
|
# https://github.com/psifidotos/applet-window-appmenu/blob/master/INSTALLATION.md
|
|
|
|
|
2022-01-08 06:25:47 +00:00
|
|
|
sudo apt install -y --autoremove \
|
|
|
|
make \
|
2022-01-02 06:32:22 +00:00
|
|
|
cmake \
|
|
|
|
extra-cmake-modules \
|
|
|
|
qtdeclarative5-dev \
|
|
|
|
libkf5plasma-dev \
|
|
|
|
libqt5x11extras5-dev \
|
|
|
|
g++ \
|
|
|
|
libsm-dev \
|
|
|
|
libkf5configwidgets-dev \
|
|
|
|
libkdecorations2-dev \
|
|
|
|
libxcb-randr0-dev \
|
|
|
|
libkf5wayland-dev \
|
|
|
|
plasma-workspace-dev
|
|
|
|
|
|
|
|
if installed 'git'; then
|
|
|
|
sudo rm -rf /usr/src/appmenu-applet
|
|
|
|
sudo git clone https://github.com/psifidotos/applet-window-appmenu.git --depth=1 /usr/src/appmenu-applet
|
|
|
|
else
|
|
|
|
sudo wget https://github.com/psifidotos/applet-window-appmenu/archive/master.zip -O /tmp/appmenu-applet.zip
|
|
|
|
sudo unzip /tmp/appmenu-applet.zip -d /usr/src/appmenu-applet
|
|
|
|
sudo mv /usr/src/appmenu-applet/applet-window-appmenu-master/* /usr/src/appmenu-applet/
|
|
|
|
sudo mv /usr/src/appmenu-applet/applet-window-appmenu-master/.* /usr/src/appmenu-applet/
|
|
|
|
sudo rm -rf /usr/src/appmenu-applet/applet-window-appmenu-master
|
|
|
|
sudo rm -f /usr/src/appmenu-applet.zip
|
|
|
|
fi
|
2022-01-09 09:14:15 +00:00
|
|
|
sudo chown -R $USER: /usr/src/appmenu-applet
|
2022-01-02 06:32:22 +00:00
|
|
|
cd /usr/src/appmenu-applet/
|
|
|
|
sh ./install.sh
|
2022-01-08 06:25:47 +00:00
|
|
|
echo
|
|
|
|
echo 'Success! Now you can add "Window AppMenu Applet" on desktop or panel'
|
|
|
|
echo
|