How to install Deskreen on Debian 11 Bulleyes

Deskreen allows you to transform your tablet, other computer screen or any device with a web browser into a secondary screen.

In this tutorial we will see how to install Deskreen on Debian 11 Bulleyes.

To avoid dependencies problems, we will extract package, modify it and repack to install.

In Debian 11 Bulleyes the package libappindicator3-1 is deprecated and replaced by libayatana-appindicator3-1.
If you try to install Deskreen official package you will receive an error message about libappindicator3-1.

We will replace libappindicator3-1 by a functionnal solution.

Extract et rebuild 

First, we are going to extact the official package:

dpkg-deb -x deskreen_1.0.11_amd64.deb tmpdir

dpkg-deb --control deskreen_1.0.11_amd64.deb tmpdir

Then we are going to modify the control file in DEBIAN directory:

nano ./tmpdir/DEBIAN/control

On the line 8 we will replace libappindicator3-1 by libayatana-appindicator3-1.

Your control file must look like this :

Package: deskreen
Version: 1.0.11
License: MIT
Vendor: Pavlo <pavlobu@gmail.com>
Architecture: amd64
Maintainer: Pavlo <pavlobu@gmail.com>
Installed-Size: 207793
Depends: libgtk-3-0, libnotify4, libnss3, libxss1, libxtst6, xdg-utils, libatspi2.0-0, libuuid1, libayatana-appindicator3-1, libsecret-1-0
Section: default
Priority: extra
Homepage: https://github.com/pavlobu/deskreen#readme
Description: 
  Deskreen turns any device into a secondary screen for your computer

Then rebuild the package :

dpkg -b tmpdir deskreen.deb

Install dependencies and your new package

First, download libayatana-appindicator3-1 on this link and install it:

dpkg -i libayatana-appindicator3-1_0.5.5-3_amd64.deb

Then you can install Deskreen:

dpkg -i deskreen.deb

 

 

%d blogueurs aiment cette page :