XFCE 4.10

2 replies [Last post]
Christianity
Offline
Joined: 10/09/2012

https://trisquel.info/en/forum/xfce

In this (now locked) thread, BugRep kindly provided a script for fixing the error that obstructs installing XFCE 4.10. Unfortunately, the error remains, but the script no longer works for 6.0.1. Could someone provide me with an up-to-date workaround please?

BugRep
Offline
Joined: 04/05/2012

There was a newer thread https://trisquel.info/en/forum/upgrade-xfce
Anyway, you can use this:

#!/bin/sh

cd /tmp/
mkdir build-trisquel-desktop-common-data
cd build-trisquel-desktop-common-data/
# install build dependencies
sudo apt-get build-dep trisquel-desktop-common-data -y
# get package source (without sudo)
apt-get source trisquel-desktop-common-data
# get patch for removing package
wget https://trisquel.info/files/issues/ignore-errors.patch
cd trisquel-desktop-common-data-6.0/
# apply patch
patch debian/postrm ../ignore-errors.patch
# remove file
rm data/etc/xdg/autostart/xscreensaver.desktop -f
# build deb package
dpkg-buildpackage -uc -us
cd ..
# install the package
sudo dpkg -i trisquel-desktop-common-data_6.0-*_all.deb
cd ..
rm -rf build-trisquel-desktop-common-data/
Christianity
Offline
Joined: 10/09/2012

Thank you BugRep! That worked like a charm.