HowTo: install compiz-reloaded 0.8.14 on for Debian 8 and 9

Share your own howto's etc. Not for support questions!

HowTo: install compiz-reloaded 0.8.14 on for Debian 8 and 9

Postby stevepusser » 2017-06-21 21:51

Compiz-reloaded is the continuation of the 0.8 compiz version--the one with the flashy effect plugins. There is a much subdued 0.9 compiz version in Debian 9, but I've bumped the epoch in my packages so they will upgrade over the Debian packages. However, I think there may be some package conflicts with differently-named plugin packages in Stretch, so if those cause a hangup, uninstall those first before installing from my repo. If anyone finds a conflict, let me know here, and I can try and make my packages upgrade smoothly by conflicting with and removing the Stretch versions first.

There are repositories for compiz-reloaded 0.8.12 at tuxfamily.org, but I could not find any for the latest 0.8.14 release, so made them on the openSUSE Build Service. The new versions fixes bugs and adds a new "Earth" plugin for the desktop cube:

Image

Anyway, the instructions to add the repo and its key are as follows. Sudo users can become root with "sudo -i" in the terminal:

Debian 8:

As root:

Code: Select all
echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser:/compiz-reloaded/Debian_8.0/ /' > /etc/apt/sources.list.d/compiz-reloaded.list

rm -f Release.key

wget -nv http://download.opensuse.org/repositories/home:stevenpusser:compiz-reloaded/Debian_8.0/Release.key -O Release.key

apt-key add - < Release.key

apt-get update

apt-get install compiz


Debian 9 as root:

Code: Select all
echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser:/compiz-reloaded/Debian_9.0/ /' > /etc/apt/sources.list.d/compiz-reloaded.list

rm -f Release.key

wget -nv http://download.opensuse.org/repositories/home:stevenpusser:compiz-reloaded/Debian_9.0/Release.key -O Release.key

apt-key add - < Release.key

apt-get update

apt-get install compiz


Compiz newbies can install simple-ccsm and use it to get started without resorting to the much more complicated standard settings manager, ccsm. If you're using Compton as a compositor, you must also "killall compton" in the terminal before switching to compiz. The "Compiz Fusion Icon" from your menu makes it easy to switch back and forth to Compiz, as well as provide some shortcuts to ccsm and the Emerald window decorations manager.

I'm not using Stretch yet, but let me know if there are any issues with it, and I'll try and fix them.

I also made Ubuntu 16.04 and 16.10 repos, the instructions are the same, except you would need to substitute "xUbuntu_16.04" and "xUbuntu_16.10" in the instructions where it would have "Debian_9.0", for example.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8904
Joined: 2009-10-06 05:53

Re: HowTo: install compiz-reloaded 0.8.14 on for Debian 8 an

Postby None1975 » 2017-06-22 12:37

Compiz (version 1:0.9.13.0) is in official Debian Stretch repos https://packages.debian.org/stretch/compiz. So no need openSUSE Build Service, 3rd party repo, or crap like this...
OS: Debian 8.9 / WM: xmonad
Debian Wiki | DontBreakDebian
User avatar
None1975
 
Posts: 190
Joined: 2015-11-29 18:23
Location: Lithuania

Re: HowTo: install compiz-reloaded 0.8.14 on for Debian 8 an

Postby stevepusser » 2017-06-22 17:21

Let's be charitable and say you just missed the second sentence in my post where I acknowledge that 0.9 is in Stretch.

From https://compiz-debian.tuxfamily.org/:

The next version 0.9 is developed for Unity by Ubuntu and has always been very unstable on other environments. After researching on the web, some developers have taken the last sources 0.8.8 to fix bugs, remove the deprecated options and add enhancements on the different applications. This new version was pushed on Github and works very well on Debian, this is why this project has been created.


I really can't understand why you have problems with my "crap" repository providing a choice. No one is being forced to use it.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8904
Joined: 2009-10-06 05:53

Re: HowTo: install compiz-reloaded 0.8.14 on for Debian 8 an

Postby dcihon » 2017-06-22 17:33

Steve,
Just installed your compiz on a Debian Testing VB installation.
Install went fine after I removed previous compiz.
Now tweaking settings.
If all this goes well I will install it on my working system when I get home from work.
dcihon
 
Posts: 99
Joined: 2012-09-23 16:18

Re: HowTo: install compiz-reloaded 0.8.14 on for Debian 8 an

Postby dcihon » 2017-06-22 17:48

Ok tried a couple of commands:
I'm sure I am doing some of this wrong.
Code: Select all
itsmy@itsmy:/etc/apt/sources.list.d$ simple-ccsm
Traceback (most recent call last):
  File "/usr/bin/simple-ccsm", line 24, in <module>
    gi.require_version('Rsvg', '2.0')
  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 118, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Rsvg not available
itsmy@itsmy:/etc/apt/sources.list.d$ ccsm
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 26, in <module>
    gi.require_version('Rsvg', '2.0')
  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 118, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Rsvg not available
itsmy@itsmy:/etc/apt/sources.list.d$ compiz --replace
Segmentation fault
Segmentation fault
^Citsmy@itsmy:/etc/apt/sources.list.d$
dcihon
 
Posts: 99
Joined: 2012-09-23 16:18

Re: HowTo: install compiz-reloaded 0.8.14 on for Debian 8 an

Postby stevepusser » 2017-06-22 19:48

Hmmm... let me fire up a Stretch virtual machine and see if I can reproduce the error in it.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8904
Joined: 2009-10-06 05:53

Re: HowTo: install compiz-reloaded 0.8.14 on for Debian 8 an

Postby stevepusser » 2017-06-22 21:26

OK, it looks like simple-ccsm and compizconfig-settings-manager need to have a dependency for gir1.2-rsvg-2.0 added. Try installing that and see if those both run. If so, make sure that emerald-themes is installed (it's a Recommends for emerald), then run compizconfig-settings-manager and make sure Window Decorations is checked in Effects, then click on it and change the command to

emerald --replace

This will at least get you the Emerald window decorations working. You also have "Compiz Fusion Icon" in the Accessories or Utilities of your DE's menu--that's a tray icon that allows turning Compiz on or off and quick access to the compiz settings and Emerald theme manager.

I know it must be possible to get the gtk and metacity window decorations working in compiz, since I have them working in Jessie, but this is going to take some research, and I'll update those packages in my repo first with the gir1.2 dependency.


I haven't
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8904
Joined: 2009-10-06 05:53

Re: HowTo: install compiz-reloaded 0.8.14 on for Debian 8 an

Postby stevepusser » 2017-06-22 21:48

Simple-ccsm depends on compizconfig-settings-manager, so I only had to add the dependency for that second package for it to get pulled in for both. It's rebuilding right now, so that should appear as an update quite soon.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8904
Joined: 2009-10-06 05:53

Re: HowTo: install compiz-reloaded 0.8.14 on for Debian 8 an

Postby dcihon » 2017-06-23 13:09

Steve,
Updates that you have done so far have solved my issues.
simple-ccsm now starts and I can use emerald just fine also.
Thanks for all the work on this.
I was using the old compiz until I saw what you have done.
I am glad you are keeping this alive.
Just some background I started using compiz back when Mandriva existed.
I was a Windows user and liked the graphics effects I could get with Windows and was looking for something similar to it in Linux.
dcihon
 
Posts: 99
Joined: 2012-09-23 16:18

Re: HowTo: install compiz-reloaded 0.8.14 on for Debian 8 an

Postby stevepusser » 2017-06-23 19:06

Whoops, realized that the advanced animation "plus" plugins did not get built, which includes ones such as the beamup and fire (burn) effect, because of a missing build-depend in the experimental and extra plugins package. Fixed that, updates to those packages should be ready in a few minutes.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8904
Joined: 2009-10-06 05:53

Re: HowTo: install compiz-reloaded 0.8.14 on for Debian 8 an

Postby dcihon » 2017-10-28 12:21

Steve,
Having a problem launching ccsm or simple-ccsm as follows:
Code: Select all
cihonm@cihonm:~$ ccsm
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 36, in <module>
    import compizconfig
ImportError: /usr/lib/python2.7/dist-packages/compizconfig.x86_64-linux-gnu.so: undefined symbol: PyFPE_jbuf
cihonm@cihonm:~$ suod ccsm
bash: suod: command not found
cihonm@cihonm:~$ sudo ccsm
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 36, in <module>
    import compizconfig
ImportError: /usr/lib/python2.7/dist-packages/compizconfig.x86_64-linux-gnu.so: undefined symbol: PyFPE_jbuf
cihonm@cihonm:~$ simple-ccsm
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:50: RuntimeWarning: You have imported the Gtk 2.0 module.  Because Gtk 2.0 was not designed for use with introspection some of the interfaces and API will fail.  As such this is not supported by the pygobject development team and we encourage you to port your app to Gtk 3 or greater. PyGTK is the recomended python module to use with Gtk 2.0
  warnings.warn(warn_msg, RuntimeWarning)
Traceback (most recent call last):
  File "/usr/bin/simple-ccsm", line 34, in <module>
    import compizconfig as ccs
ImportError: /usr/lib/python2.7/dist-packages/compizconfig.x86_64-linux-gnu.so: undefined symbol: PyFPE_jbuf
dcihon
 
Posts: 99
Joined: 2012-09-23 16:18

Re: HowTo: install compiz-reloaded 0.8.14 on for Debian 8 an

Postby stevepusser » 2017-10-29 00:16

Deosn't seem like your python2 is sane. Can you install inxi and give the results of

Code: Select all
inxi -F

inxi -r


as the standard user?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8904
Joined: 2009-10-06 05:53

Re: HowTo: install compiz-reloaded 0.8.14 on for Debian 8 an

Postby dcihon » 2017-10-29 11:24

Code: Select all
cihonm@cihonm:~$ inxi -F
System:    Host: cihonm Kernel: 4.13.0-1-amd64 x86_64 bits: 64 Desktop: MATE 1.18.0
           Distro: Debian GNU/Linux buster/sid
Machine:   Device: desktop System: Dell product: Inspiron 3650 v: X00 serial: N/A
           Mobo: Dell model: 0C2XKD v: A01 serial: N/A UEFI [Legacy]: Dell v: 3.3.10 date: 03/15/2017
Battery    hidpp__0: charge: N/A condition: NA/NA Wh
           hidpp__1: charge: N/A condition: NA/NA Wh
CPU:       Quad core Intel Core i7-6700 (-HT-MCP-) cache: 8192 KB
           clock speeds: max: 4000 MHz 1: 3400 MHz 2: 3400 MHz 3: 3400 MHz 4: 3400 MHz 5: 3400 MHz 6: 3400 MHz
           7: 3400 MHz 8: 3400 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM]
           Display Server: x11 (X.Org 1.19.5 ) drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
           Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
           OpenGL: renderer: AMD BONAIRE (DRM 2.50.0 / 4.13.0-1-amd64, LLVM 5.0.0) version: 4.5 Mesa 17.2.3
Audio:     Card-1 Advanced Micro Devices [AMD/ATI] Tobago HDMI Audio [Radeon R7 360 / R9 360 OEM]
           driver: snd_hda_intel
           Card-2 Intel Sunrise Point-H HD Audio driver: snd_hda_intel
           Card-3 Logitech Webcam C270 driver: USB Audio
           Sound: Advanced Linux Sound Architecture v: k4.13.0-1-amd64
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: enp2s0 state: down mac: 48:4d:7e:9f:4d:2f
           Card-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter driver: ath9k
           IF: wlp3s0 state: up mac: 90:cd:b6:50:f6:2d
           Card-3: Atheros
           IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 2000.4GB (2.5% used)
           ID-1: /dev/sda model: ST2000DM001 size: 2000.4GB
Partition: ID-1: / size: 40G used: 31G (84%) fs: ext4 dev: /dev/sda6
           ID-2: swap-1 size: 17.18GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 51.0
           Fan Speeds (in rpm): cpu: 826 fan-1: 837
Info:      Processes: 227 Uptime: 4 min Memory: 931.6/15994.1MB Client: Shell (bash) inxi: 2.3.40

Code: Select all
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://ftp.us.debian.org/debian/ testing main non-free contrib
           deb http://security.debian.org/debian-security/ testing/updates main contrib non-free
           deb http://httpredir.debian.org/debian/ buster-updates main contrib
           Active apt sources in file: /etc/apt/sources.list.d/compiz-reloaded.list
           deb http://download.opensuse.org/repositories/home:/stevenpusser:/compiz-reloaded/Debian_9.0/ /
           Active apt sources in file: /etc/apt/sources.list.d/liquorix.list
           deb http://download.opensuse.org/repositories/home:/stevenpusser:/codelite/Debian_9.0/ /
           Active apt sources in file: /etc/apt/sources.list.d/mdm.list
           deb http://download.opensuse.org/repositories/home:/stevenpusser:/mdm/Debian_9.0/ /
           Active apt sources in file: /etc/apt/sources.list.d/spotify.list
           deb http://repository.spotify.com stable non-free
dcihon
 
Posts: 99
Joined: 2012-09-23 16:18

Re: HowTo: install compiz-reloaded 0.8.14 on for Debian 8 an

Postby dcihon » 2017-11-02 23:36

Steve,
Did you get a chance to look into this?
Looks like maybe Testing has a problem with python at the moment.
I can wait it out if that is the issue.
Thanks
Dan
dcihon
 
Posts: 99
Joined: 2012-09-23 16:18

Re: HowTo: install compiz-reloaded 0.8.14 on for Debian 8 an

Postby stevepusser » 2017-11-03 16:47

I can only guess that it's due to some issue with having the python backend to those built on Stretch and you running them on Buster. When I get time, I will look and see how much work it would be for me to manually build the affected packages for Buster on my own machine. At least I know now how to easily set up new cross-compiling pbuilder thingies on my laptop with one simple command.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8904
Joined: 2009-10-06 05:53

Next

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable