← Back to team overview

compiz team mailing list archive

[Bug 684019] Re: 0.9.2 «put» plugin moves any window only to second viewport

 

I have applied the patch, from https://bugs.launchpad.net/ubuntu/+source
/compiz-fusion-plugins-main/+bug/684019/comments/7 to the upstream put
plugin, and it does seem to fix the bug. As this appears to be the only
way to get "Put Window at Workspace X" functionality working in Ubuntu,
I have written instructions to help others accomplish this.

First get your build requirements:

1. sudo apt-get build-essential
2. sudo apt-get build-dep compiz
3. sudo apt-get install compiz-dev git

Then get the put plugin source:

4. git clone git://anongit.compiz-fusion.org/compiz/plugins/put
5. cd put

Then get and apply the patch:

6. wget https://bugs.launchpad.net/ubuntu/+source/compiz-fusion-plugins-main/+bug/684019/+attachment/2187914/+files/0001-bug-fix-overwrite-viewport-option-parameter-instead-.patch
7. git apply 0001-bug-fix-overwrite-viewport-option-parameter-instead-.patch

Then build and install it:

6. mkdir build
7. cd build
8. cmake .. -DCOMPIZ_PLUGIN_INSTALL_TYPE="compiz" -DCMAKE_INSTALL_PREFIX=/usr/lib/compiz/
9. make
10. sudo make install

Note that in step 8, you will be potentially be installing the put
plugin on top of the one installed from the debian package. It might be
possible to install it locally instead, but I didn't try this. It would
be great if others could try this and let me know how it works, because
it is potentially a cleaner solution. To install locally, you would
likely do the following in steps 8-10:

8. cmake ..
9. make
10. make install

Most of the information here came from the following resource:
http://wiki.compiz.org/C%2B%2BCompiling


I think this patch should get merged upstream. Are there any barriers to this?

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz-fusion-plugins-main in Ubuntu.
https://bugs.launchpad.net/bugs/684019

Title:
  0.9.2 «put» plugin moves any window only to second viewport

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compiz-fusion-plugins-main/+bug/684019/+subscriptions


References