Dec 11, 2020

Ubuntu 20.10 i3 Workspaces Plugin Installation From Github

This guide is closer to a set of commands to build an installation script for i3ipc-glib and xfce4-i3-workspaces-plugin. It relates to this post here.


Install the following packages, because they're prerequisites:

sudo apt install . . .


xfce4-dev-tools
gcc
build-essential
autotools-dev
libxcb1
libxcb1-dev
xcb-proto
libglib2.0-0
libglib2.0-dev
gobject-introspection
libjson-glib-dev
gtk-doc-tools
pkg-config
libgtk2.0-dev
libxfce4ui-1-dev
xfce4-panel-dev

Use the following curl commands to download the git archives

You can do this from your Downloads directory, and then delete the files and unpacked directories once you are done with the installation.

curl -s https://api.github.com/repos/altdesktop/i3ipc-glib/releases/latest \
| grep "tarball" \
| cut -d : -f 2,3 \
| tr -d \,\" \
| wget -O i3ipc-glib.tar.gz -qi -
 
curl -s https://api.github.com/repos/denesb/xfce4-i3-workspaces-plugin/releases/latest \
| grep "tarball" \
| cut -d : -f 2,3 \
| tr -d \,\" \
| wget -O xfce4-i3-workspaces-plugin.tar.gz -qi -

Unpack and Install i3ipc-glib

tar -xvf i3ipc-glib.tar.gz
cd altdesktop-i3ipc-glib*
 
./autogen.sh --prefix=/usr
make
sudo make install
 
cd ../ 

Unpack and Install Workspaces Plugin

tar -xvf xfce4-i3-workspaces-plugin.tar.gz
cd denesb-xfce4-i3-workspaces-plugin*
 
./autogen.sh --prefix=/usr
make
sudo make install

5 comments:

Damien said...

In order to build the xfce4-i3-workspaces-plugin on Linux Mint 20, I needed to manually downgrade the libxfce4panel dependency from 2.0 to 1.0 to be able to build it properly, fyi. Ref: https://github.com/cedl38/xfce4-windowck-plugin/issues/39#issuecomment-309426766

Damien said...

When building the xfce4-i3-workspaces-plugin on Linux Mint 20, I needed to downgrade the libxfce4panel dependency from 2.0 to 1.0, fyi, as per https://github.com/cedl38/xfce4-windowck-plugin/issues/39#issuecomment-309426766

Taylor said...

Thank you Damien.

Taylor said...

* This might also be an alternative solution, though it has not been tested on Mint. (more generally, upgrading from XFCE 4.14 to 4.16)
* https://www.linuxuprising.com/2021/01/how-to-install-xfce-416-on-xubuntu-2004.html

cloverbird said...

For debian (I'm on kali-rolling) I had to install libxfce4ui-2-dev and libxfce4panel-2.0-dev in order for the build to work for the workspace plugin. I also needed to set a custom PKG config path to /usr/lib/x86_64-linux-gnu/pkgconfig

sudo apt install libxfce4ui-2-dev libxfce4panel-2.0-dev
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig

and then following the steps under Install Workspaces Plugin worked! Thanks for setting up this guide - super useful for someone only now upgrading to xfce 4.16

Post a Comment