Merge lp://staging/~hypodermia/ubuntu/oneiric/compiz/fix-for-bug-301174 into lp://staging/ubuntu/oneiric/compiz
Status: | Work in progress |
---|---|
Proposed branch: | lp://staging/~hypodermia/ubuntu/oneiric/compiz/fix-for-bug-301174 |
Merge into: | lp://staging/ubuntu/oneiric/compiz |
Diff against target: |
204 lines (+183/-0) 4 files modified
plugins/bell/CMakeLists.txt (+5/-0) plugins/bell/bell.xml.in (+21/-0) plugins/bell/src/bell.cpp (+103/-0) plugins/bell/src/bell.h (+54/-0) |
To merge this branch: | bzr merge lp://staging/~hypodermia/ubuntu/oneiric/compiz/fix-for-bug-301174 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sam Spilsbury (community) | Approve | ||
compiz packagers | Pending | ||
Ubuntu branches | Pending | ||
Review via email: mp+64632@code.staging.launchpad.net |
Description of the change
This branch creates a new plugin which uses libcanberra to play an audible bell when the system bell action event is triggered, along with a small typo fix incorporated to make sure that action actually happens. For the typo fix to compiz core, see this commit log entry: http://
The original source code can be found in my Github repository here, along with smspillaz' merged changes: https:/
This should fix this bug: https:/
As well as this bug: https:/
To test this, build and install this plugin, install fixed compiz, replace compiz, load the plugin, and then run this to trigger the bell: echo -n -e "\a"
Should cause a mild bell sound, provided the alert sounds in sound preferences are turned on and up and the sound file exists (configurable).
Adds a dependency on libcanberra. May require one further small change to make sure CMake finds and builds it, and may also add one dependency to ensure the default sound file is actually present on the system.
Unmerged revisions
- 233. By Emily Strickland
-
Removed option to specify the file name. Should follow user's sound scheme.
- 232. By Emily Strickland
-
Add 'bell' plugin and a small fix to bcop.xslt to properly trigger bell events (see http://
cgit.compiz. org/compiz/ core/commit/ ?id=e6afcfd735d b5a9f507fb9cd81 0bdb139ab8480f); fixes https:/ /bugs.launchpad .net/ubuntu/ +source/ compiz/ +bug/301174 and https:/ /bugs.launchpad .net/ubuntu/ +source/ unity/+ bug/769314
Thanks for this patch and help to make ubuntu better.
The review should be done by smspillaz, Sam can you have a look please?