-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall_xfce-docklike-plugin.sh
executable file
·31 lines (31 loc) · 1.23 KB
/
install_xfce-docklike-plugin.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
#to run this script go into the folder where it is then run: ./install_xfce-docklike-plugin.sh
#
set -eu
#
folder_name="xfce-docklike-plugin"
#
#wget https://launchpad.net/~xubuntu-dev/+archive/ubuntu/extras/+files/xfce4-docklike-plugin_0.4.1-0ppa1~bpo23.04_amd64.deb
#sudo dpkg -i xfce4-docklike-plugin_0.4.1-0ppa1~bpo23.04_amd64.deb
#
sudo apt install libxfce4panel-2.0-dev libwnck-3-dev xfce4-dev-tools libxfce4ui-2-dev make g++ -y
#
if [ -d "/home/$USER/programs_setup/$folder_name" ]; then
cd /home/$USER/programs_setup/xfce-docklike-plugin/xfce4-docklike-plugin
#cd /home/$USER/programs_setup/xfce-docklike-plugin/docklike-plugin
sudo make uninstall
cd /home/$USER/
sudo rm -rf /home/$USER/programs_setup/$folder_name
fi
#
mkdir -p /home/$USER/programs_setup/$folder_name
cd /home/$USER/programs_setup/$folder_name
git clone https://gitlab.xfce.org/panel-plugins/xfce4-docklike-plugin.git && cd xfce4-docklike-plugin
#git clone https://github.com/nsz32/docklike-plugin && cd docklike-plugin
./autogen.sh --prefix=/usr
#./autogen.sh
make
sudo make install
xfce4-panel -r&
echo "now rightclick the panel > panel preferences > items >"
echo "now add in panel 'Docklike Taskbar' below 'Window Buttons' and remove 'Window Buttons'"