Showing posts from June, 2007

Low bandwidth : Repository Moved!!

The domain (izhar) has reached 80% of its bandwidth limit (2434.04/3000.00 Megs). !! Do not respond to this message. Your reply will go nowhere. !! yikes!! repository will be has moved to config is @

My Aztech DSL600EU just died

A shocking thing happened yesterday morning , suddenly I couldnt connect to any sites and the router's lights remain static. Rebooting it and pushing the reset button doesnt help. After tens of times trying to get it back running, nothing seems to work. So, my conclusion, this guy just died. T_T . The router have been showing problems since a few weeks ago, it keep freezing and I had to restart it to get it back running. I guess , that was its message to me that its dying. So, today, a trip to lowyatt to get a new modem/router. Just bought a Linksys WRT54G Router and a ZyXel Prestige 650M ADSL modem and they cost me - RM279 (~USD80). Now I'm back online (with a hole in my wallet) and will continue packaging compiz fusion every few days (well .. guess not today .. I'm damn tired right now, plus I want to play with my new router .. lol). Also, I have contacted the compiz and beryl Fedora package maintainers, and will be working on with their guidance to improve the packag

Update on Compiz Fusion repository

I have updated the repository just now. A few noticable changes are: package updated to 20070625 morning's git (I'm @ GMT +8 if that matters) compiz package is slow splitted into compiz-gnome and compiz-kde release numbering is changed to follow Fedora Packaging: Naming Guideline a few bug fixes at the specfiles IMPORTANT NOTE: To those who are using 20070622git packages, you will need to remove them manually before upgrading through yum, or it wont work. This is because the change in the release numbering which make yum thinks the the older packages are newer. To erase them yum erase \*compiz\* yum erase \*emerald\* Installing the new packages # Install the repository (if you havent) cd /etc/yum.repos.d/ wget # all compiz fusion packages (GNOME and KDE) yum install compiz # compiz fusion and emerald (for GNOME) yum install compiz-gnome # compiz fusion and KDE window decorator (for KDE) yum install compiz-kde Enjoy

Compiz Fusion repository for Fedora 7

This post is obsolete ( Its hard to keep this page updated, so I created a wiki page for it :P ). Latest & updated guide can be acquired from my wiki page At last ... I have finished the Compiz Fusion packages for Fedora 7 .. now for the grand announcement :D Repository Location Repository URL: Repository YUM Config File: The repository is hosted in a limited bandwidth shared hosting which I have for playing around with Django. Please dont abuse it. I couldnt afford larger hosting because I'm still a (jobless) student and currency exchange between MYR and USD is kindof too high for me. Provided Packages compiz compiz-all compiz-gnome compiz-kde compiz-devel compiz-fusion-plugins-main compiz-fusion-plugins-main-devel compiz-fus

Compiz Fusion is here

The merge of compiz and beryl have already created an offspring Introducing Compiz Fusion If you want to try it out, follow this guide to compile it on your system For Ubuntu users, checkout Trevino's repository For Fedorans, theres no Fedora packages for Fusion for now .. So, follow the from-source guide above. However, fear not , I am putting up together the pieces into a YUM repository. Currently I'm in the process of building them properly in Mock and making sure no Errors appear on rpmlint. I will announce it when I have satisfied with the packages.

Using Glade to write GUI applications

A few useful links for people who want to learn on how to write GTK applications using Glade Python - Java - Ruby - The video for using Glade with Python is not very clear, so I'll explain a little bit the process below. 1. Build your GUI 2. Open a .py file, and import gtk and #!/usr/bin/python import gtk import 3. define your handlers method def hander_method(widget): do_something_here do_more 4. load the glade XML xml ="/path/to/glade/file") 5. connect handlers to its methods/functions dict = { 'handler_name' : handler_method, 'handler_name2' : handler_method2 } xml.signal_autoconnect(dict) 6. run gtk instance gtk.main() I also have written a similar script to the ruby glade template generator in Video 3. It& : Python program to generate VMware configuration

Ok, I'm bored during this holidays .. While surfing around and playing with Xen and VMWare, I stumbled upon this and saw a DOS Shell script to generate VMX. The crazy me took over, I started converting the script to Python~ :P. I have reimplemented most of the basic functionalities of the script in Python classes. Below is the script. If youre interested to improve it, provides lots of useful docs related to VMX parameters here -

Setting up ADSL connection, the Fedora way

Some users might not notice that Fedora have a very easy to use GUI for setting up ADSL and other network connections. The tool is integrated together with Fedora/RH system-config utility called system-config-network. This howto will show you how to set-up a PPPoE/ADSL connection using it. Starting Up system-config-network If you are using GNOME, the menu for it is located at System > Administration > Network Okay, the interface is somewhat looks complicated. I was a little bit lost too when I first time using it. But after knowing that the tool support lots of other advanced network capabilities (like multiple IP per device, IPsec, VPN, etc), I accepted the UI is the best that way. Creating a PPPoE/ADSL connection To create a new PPPoE connection, click the New button and this window will appear. Select xDSL Connection . Follow through the instructions and fill the forms. For the Ethernet Device entry, select the device that connected to your ADSL Modem. Click Apply Done Connec

Running X applications headless using Xvfb

Sometimes, you might want to run certain X applications as a daemon in the background. For example, in my case, I want to make Ktorrent run in the background on startup while I control the torrents using its WebUI. However, to run Ktorrent , I must have X running and logged in to the desktop. So, how can I do this? , the answer is by using X Virtual Framebuffer Server. How it works? Xvfb emulates an X server without outputing it to monitor. Applications connect to it and run under the impression the GUI is there. Its as simple as that!. No modification needed on the applications that going to be run on it. Read more : How to do it? First, make sure you have Xvfb installed. If you dont, install it using your package manager. In Fedora, use yum install xorg-x11-server-Xvfb Then, run Xvfb in any unique/unused display number, in this example, I put 100. Disable access control to the display so that you dont have to go through the hassle of sett

Fedora repository mirroring script using reposync

I'm back~ :D As my first post of this holidays .. I give y'all the script i've been using to mirror and sync the fedora repos. The script is using reposync,repomanage (both provided by yum-utils) and createrepo , so you will need to yum for those them first. #!/bin/bash -x unset http_proxy #export http_proxy= # mirror root - the place you want the rpms to be downloaded MROOT="/mnt/mirror/repos" # processor architectures (space separated) ARCHS="i686 x86_64" # repository names (space separated) REPOS="fedora updates" if [ "$1" != "" ];then REPOS="$@" fi downcomps(){ wget -N $1/repodata/comps.xml } # this part will download the comps.xml files .. it still need some improvements though getcomps(){ case "$1" in fedora) downcomps ;; updates