blogage.de > Forlong's Blog > Entry > 01 May 2008 > Compiz-Switch 0.4 released
  De | En | Sign up | Login

Compiz-Switch 0.4 released


I have just released a new version of Compiz-Switch

The latest version is pretty much a rewrite of version 0.2
(I didn't release v0.3 publicly because the changes I made weren't implemented properly).

 

Features

Apart from switching Compiz on and off on a single click, Compiz-Switch has now additional features.

In addition to that, version 0.4 has now proper argument support – this way you can run

compiz-switch --help

to get a list of all options available.

Then you can use those arguments when running Compiz-Switch in the terminal or add them to your panel starter.

Thumbnail?compiz-switch-arguments



Kill and restore Screenlets along with Compiz

You can now quit all running Screenlets when switching off Compiz.

There are two options available how to restore them, when running Compiz again (use only one of them at a time, of course):

  • Restore exactly the Screenlets you were running before
    Add the -s argument when using Comiz-Switch to use this:
    compiz-switch -s
  • Restore only the Screenlets you added to you autostart programs
    (using screenlets-manager) – the argument for that is -sa:
    compiz-switch -sa

 

I have only tested this for the Screenlets version included in Haryd and the repository for Gutsy, so I can't guarantee it works for the very latest version maintained by Whise.

compiz-switch-status-thumb



Use the icon as a status icon (experimental)

When adding the -c argument, the icon for Compiz-Switch will change according to the status of Compiz

compiz-switch -c

This seems to work only in the GNOME panel, if you stored a starter for Compiz-Switch there.

The whole thing was a PITA to implement and it seems to fail even for GNOME sometimes.
Honestly, I don't know if it's possible to implement any better. I guess to function properly it would have to be an applet – but then it won't be independent of the desktop environment in use anymore.

So I'll just leave it this way. After all, it's just a gimmick.

Get Compiz-Switch at http://forlong.blogage.de/article/pages/Compiz-Switch
There is an Ubuntu deb package available that should be suitable for any architecture now.

Trackbacks



No trackbacks, yet.

Comments Help Feed

Bastian Kennel (Anonymous)
one year ago

I like compiz-switch very much, especially with the current NVIDIA hardy compiz bugs, but the icon does not show in the gnome panel. I have a standard clean hardy install. Running
compiz-switch -o -c
only gives:
/usr/share/themes/Blubuntu/gtk-2.0/gtkrc:169: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.

Running
sudo compiz-switch -o -c
gives more output, but rather related to actually starting compiz:Checking for Xgl: not present.
Detected PCI ID for VGA: 00:02.0 0300: 8086:2582 (rev 04) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x1024) to maximum 3D texture size (2048): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.

Any idea what could be wrong??

one year ago

Quote:
the icon does not show in the gnome panel
You have to move it yourself there.
See here under Panel icon
SBartsch (Anonymous)
one year ago

perfect! very usefull if you want to play games or save power (i use a shellscript to stop/restart kiba-dock) - thanks!



Add comment


(not required)

Please enter the white text to the text field "code" (spam protection).

E d M n q