Saturday, July 21, 2007

Episode II

UPDATED!! Some instructions were incorrect, due to Blogger mistaking comments for HTML. Please read again. Also, the get-git script link was fixed. Bear with any broken links, I am transitioning over to another server, thanks!

In this episode...
  1. A git howto!
  2. A get-git script howto!
  3. The first n00bs section, where we talk about compiz running (or not running) on Windows, as well as mention the benefits of using the Terminal!
  4. A demo, and instructions on how to install, the Screensaver Plugin!
  5. Tips section, including nvidia black window bug problems and Avant Window Navigator!
  6. The Plugin Idea of the Week!
I hope you enjoy it.

Notes for this episode...

GIT TUTORIAL NOTES:
=======================

The Compiz Fusion Git Repository
Click on a plugin, and look for the url on the resulting page.

Git commands:
  • git clone: create a new folder with the package
  • git pull: update an existing package.

Syntax:
  • git clone git://anongit.opencompositing.org/....

Sequence to get a new plugin installed:
  • cd /home/[username]/compiz (assuming that's the compiz fusion gitweb folder)
  • git clone git://anongit.opencompositing.org/...
  • ls
  • If the result of ls contains "autogen.sh", run:
    • ./autogen.sh
    • make
    • sudo make install
  • Otherwise, run:
    • make
    • make install

Sequence to update:
  • cd /home/[username]/compiz/[plugin]
  • git pull
  • (add the rest of the commands above, starting with ls)

GET GIT NOTES:
==================

To install via Get-Git:
  • Follow the instructions in Step 1 here: Fyda's Forum Post.
  • Download either the original version here, or the updated version here (updated just includes fyda's addon and the extra repositories I use).
    • If you are using the updated version, run the command:
    • sudo apt-get install x11proto-scrnsaver-dev libxss-dev (to get screensaver to work)
  • Create a new folder called compiz. Then place the downloaded get-git file inside.
  • Open up the get-git file with Text Editor.
  • Read the top lines, and follow the instructions on the comments. If you use the updated one, you shouldn't have to do anything, if you are running Ubuntu Feisty Fawn, or another gnome-based install.
  • To add another plugin package, use this syntax:
    • ITEMS="$ITEMS users/crdlb/...."
  • Save the file, and close it.
  • run:
    • cd compiz
    • ./get-git
  • Wait for all packages to download and install. Enter your password when prompted.
  • Start compiz with the command fusion-icon, or open it from Applications>System Tools>Compiz Fusion Icon.

INSTALLING SCREENSAVER PLUGIN:
==================================

If you used the script above, then do nothing. You have it already!

Otherwise, run the commands:
  • sudo apt-get install x11proto-scrnsaver-dev libxss-dev
  • cd compiz
  • git clone git://anongit.opencompositing.org/users/pafy/screensaver
  • cd screensaver
  • make
  • sudo make install

AVANT WINDOW NAVIGATOR
=============================

To install, run these commands:
  • sudo gedit /etc/apt/sources.list
    • Add this to the end of the file:
    • ## Avant Window Navigator
    • deb http://download.tuxfamily.org/syzygy42/ feisty avant-window-navigator
    • deb-src http://download.tuxfamily.org/syzygy42/ feisty avant-window-navigator
    • save, close.
  • wget http://download.tuxfamily.org/syzygy42/8434D43A.gpg -O- | sudo apt-key add -
  • sudo apt-get update
  • sudo apt-get install avant-window-navigator-svn
To get reflections and 3d effect, run the command gconf-editor and navigate to the />avant-window-navigator>bar folder. Then change bar_angle to 45, and icon_offset to 15. Restart AWN.

EDIT: Thanks to a comment, we've found a better way to add launchers.
To add launchers, don't use the dialogue with the "add" button, since the add button is broken. Instead, drag stuff directly from your Applications folder into AWN.

Enjoy!

PLUGIN IDEA OF THE WEEK
==========================
Click here.


Find the original AVI file here.

Please email me at fusioncast at gmail dot com!
I am on IRC frequently under the nick of gavintlgold.
Also, comment by clicking on the link below.
Search the forums first if you have a problem!

If you enjoy this, please digg it (see the digg button in the sidebar).

8 comments:

darkmagus said...

Congratulations! :)
The FusionCast this week is awesome!

The Noob section was funny too ^^. Really good, it's an important addiction.

Bye :)

Michael said...

Nice! Keep them coming :)

BTW, you mentioned about the staticy sound last episode, how did you fix it this time around?

Gavin said...

@michael: I forgot to mention it in the videocast, but I wrote a post below. I installed another audio card, and messed around with some stuff, and now Audacity works for me. So I am no longer using Jokosher. (I need to update that logo on the sidebar)

I am very happy that my audio is better now.

azathothgr said...

Thanks for mentioning my post =D

Ken said...

Hello, Great video !!!

Please can you upload your skydome somewhere, it looks really good !

thanks !

Martin said...

hey! thank you for your help!

and there's a much easier way to add launchers to AWN:
just drag'n'drop.
for me the gui and the thing with gconf-editor did not work. after some googeling i found the short answer.
maybe you can add that?

Gavin said...

@Ken:

The skydome (as well as everything else from my theme) is in the sidebar. Take a look!

Tim said...

Enjoy your vacation!

Had a quick question. When I run 'make' on the screensaver plugin, I get this error. Any ideas?

:~/.gconf/apps/compiz/plugins/screensaver$ make
bcop'ing : build/screensaver.xml -> build/screensaver_options.h/bin/sh: --header=build/screensaver_options.h: not found
make: *** [build/screensaver_options.h] Error 127


Thanks!