
CompizButtons Screenlet
Source (link to git-repo or to original if based on someone elses unmodified work):
Annotate
Draw drawings on the screen
- initiate drawing
- clear drawings
- set color
- set linewidth
Fire
Draw fire on the screen
- initiate drawing
- clear fire
- set fire color
- set particle size
- set particle lifetime
- set particle slowdown
RotateCube
Rotate desktop-cube right or lef
Group Windows
Group and ungroup windows
Screenshot
Select an area of the screen and take a screenshot of it
Shift
Initiate window - shift.
Switch
Initiate window - switching
Expo
Zoom out and see all viewports an windows
WidgetLayer
Switch to widget-layer
Snow
Tobble snow
Rain
Toggle rain
Requirements
Compiz and compiz-plugins. You have to enable the DBusPlugin of compiz and each plugin you intend to use.
Themes
Please contribute themes - I'am no a designer.... All images are rearrangements of icons from openclipart.org and ccsm (compizconfig-settings-manager).
Dependencies
- pygtk
- compiz
- screenlets 0.12
0.1:
- initial release
0.1.1:
- fix for set_tooltip_text() in older gtk-versions
0.2:
- support latest compiz-git (dbus functions changed) tested with 20071212
- customizable (size) indicators on ColorPicker's
- customizable font-with and font-size in scale-screenlets
0.3
- fix wrong variable-name in dbusfunction.py
- new Screenlets CompizRainScreenlet & CompizSnowScreenlet
0.4
- only ONE screenlet that contains all buttons
- add and remove buttons from the screenlet
- configurable number of rows
- configurable horizontal and vertical space between screenlets
- removed annoying debug-popup
- simple installation with a screenlet-package
0.4.1
- fixed: Save configuration-options
- fixed: config dialog wehn adding and removing buttons
- new button-type: seperator
0.4.2
- Group- and UnGroupButtons is back...
- changed GPL header in files
Ratings & Comments
11 Comments
1. Annotation: only draw if button 1 is pressed. 2. Improve selection of visible buttons. I think that a aproach using two panels is better. One panel showing avaliable buttons and other showing current buttons.
thanks for the input > 1. Annotation: only draw if button 1 is pressed. Don't know (yet) how to do this: When Compiz is drawing/annotating applications don't get mouse-events.... > 2. Improve selection of visible buttons. I think that a aproach using two panels is better. One panel showing avaliable buttons and other showing current buttons. Yes the config-stuff really needs some rafacturing...
>> 1. Annotation: only draw if button 1 is pressed. > Don't know (yet) how to do this: When Compiz is drawing/annotating applications don't get mouse-events.... I'am not so happy with my answer. I tried to find a way to get all mouse-events, even when my Screenlet does not have the focus. I did that once on windows (there you call it (Mouse-) Hook) - I havn't found a way to do that in gnome without beeing root... maybe someone can help me with that.... Xeyes does exactly what I want. But It's c code not python ....
This screenlet is looking good! 3nt3, could you make a new pager? The one that comes with screenlets has some problems.
:-) will have a look at it... but this may take some time - There are also some bugs in CommpizButtons that must be solved....
this is what i would do you directory is called CompizButtons i would create a script (like your perl script ) but in python called CompizButtonsScreenlet.py so that it would be seen in the manager and installable from the manager(out of the box :) ), when that "screenlet" would be launched it would create all the symlinks needed , leaving a message to restart the manager what do you think? would could also create symlinks for the icon please
thanks for your advice. It encouraged me to revive my plan to make one screenlet that holds them all (with the possibility to remove unwanted screenlets)....
nice to see your back , this screenlet rocks
can i make a sugestion to separete these in several screenlets so they can be launched from the manager
Why is it not possible to launch them from the manager? There is an install-script in the package, that makes symbolic-links in .screenlets/ so that every button should appear in the screenlets-manager. My "problem" with your suggestion: - Every button depends on debusfunctions.py - Every button depends on ButtonScreenlet.py or ColorPickerScreenlet.py Because of these dependencies I would have to copy a lot of files. I agree with you that my "approach" with the installs-script is not usual for screenlets. Maybe I will write a little script that makes a package for every button automatically.... Do you have any suggestion?
love it