Fedora 11 Leonidas Whats New!

June 9, 2009 3 comments

Fedora 11 Leonidas has been released today (9th June 2009).

10 Reasons for you to Download it now

1) DNSSEC (DNS Security Extensions) – services protect against most of the threats to the Domain Name System

2) 20 sec Boot up time being the fastest in Major desktop Linux distributions

3) EXT4 As default file system which raises max file system size up to 1 Exabyte and max file size to 16 TB boosts computers overall speed

4) Xserver 1.6 = Better Graphics (however ctrl+alt+backspace combo is disabled by default)

5) RPM 4.7 reduces the memory consumption (of packaging process)

6) Much more responsive synaptic touchpad

7) Automatic Fonts & Mime Installer – Allows programs on the desktop to automatically install applications, fonts, multimedia capabilities, and clipart.

8)Fingerprint Readers – Support for finger print authentication on some devices.

9) Volume Control (Widget) – An awesome, flexible volume control.

10) MinGW Cross-compiler – Build and test Microsoft Windows programs directly from fedora without getting blue screens

Categories: Fedora 11 Tags:

Ubuntu 9.04 Jaunty Jackalope A Review

April 25, 2009 Leave a comment

Ubuntu 9.04

Ubuntu 9.04 with Dark Room Theme

Ubuntu is back with its new flavour “Jaunty Jackalope” . After the not so exciting 8.10 Release , the new edition has quite a few improvements. The old theme is still retained as the default but with refreshing new themes Dust ,Dust Sand And New Wave


– The boot up acpi problem is fixed

– Kernel being used is 2.6.28-11 .

– EXT4 Filesystem Support

– GNOME 2.26

– New Notification System

– Coherence tools (UPnP Plugin)

– Computer Janitor ( For removing unused Packages)

– USB Startup Disk Creator

– System Testing ( For Submitting Details to Ubuntu Hardware Database)


The radeon driver being used is glitchy (screen break up) and fps is low (as compared to fedora 10) but is bearable.

The b43/ssb drivers for wireless support for Broadcom Card still don’t work for BCM4312 Series but they can be replaced with wl which works directly.

The Notification System looks great ( hmm.. reminds me of the Mac Notification System Growl).

It comes with Firefox 3.08 instead of Firefox 3.1 Beta which is a bit disappointing.


Overall Canonical has done a decent job to avoid another disappointment like Intrepid Ibex.

Rating: 8.5/10 (Try it Out!)

Python GMail SMTP Send Email Script

April 8, 2009 7 comments

Here is a small script that i made some time ago , it uses GMail’s mail servers to send an email.

# PyGms 1.0
# Gmail SMTP  Script Made by Djays

import smtplib
from email.MIMEMultipart import MIMEMultipart
from email.MIMEBase import MIMEBase
from email.MIMEText import MIMEText
from email import Encoders
import os

ver = "v1.0"
gmail_user = ""	#Username
gmail_pwd  = ""		#Password
gmail_alt  = " "		#Alias ID
gmail_alias = ""+gmail_alt		#nickname
mailing_list = ""
class mailz:
  def __init__(self):
    self.mail = MIMEMultipart()

  def attach(self,fil):

  def mailprep(self,to, subject, text):
    self.to = to
    self.mail['From'] = gmail_alias
    self.mail['To'] = to
    self.mail['Subject'] = subject
    if (mailtoBcc !="") :
      self.mail['BCC'] = mailtoBcc

    text+="\n\n\n_________________________\nMail generated By  PyGmS "+ver+"\n       - Made By Djays\n        http://djsh.net"

    print self.files

    for attach in self.files:
      if (attach != "") :
          part = MIMEBase('application', 'octet-stream')
          part.set_payload(open(attach, 'rb').read())
          part.add_header('Content-Disposition','attachment; filename="%s"' % os.path.basename(attach))

  def sendmail(self):
    self.mailServer = smtplib.SMTP("smtp.gmail.com", 587)
    self.mailServer.login(gmail_user, gmail_pwd)
    self.mailServer.sendmail(gmail_user, self.to, self.mail.as_string())

mailto   =  raw_input("Enter Recepients (Seperated By a Comma): ")
mailtoBcc=  raw_input("Enter BCCRecepients (Seperated By a Comma): ")
mailsubj =  raw_input("Enter Subject: ")
mailmsg  =  raw_input("Enter Message: ")
mailattch = ""
newmail  = mailz()

while 1:
 mailattch = ""
 c = raw_input("Attach a File ? (y/n)")
 if c == 'n':
 if c != 'y':
 mailattch = raw_input("Enter Path of file: ")

Categories: Uncategorized

Get updates of completed torrents via SMS Part 2

April 8, 2009 2 comments

The other day one of my friends Ankur , made a python script to get updates via sms using twitter account.
Check here :http://tinyurl.com/djbnon

I have changed the script to use Gmail SMTP instead .

import dbus,base64,urllib2,urllib
from dbus.mainloop.glib import DBusGMainLoop
import smtplib
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
from email import Encoders
import os

ver = "v1.0"
gmail_user = ""				                #Gmail Username

gmail_pwd  = ""					#Gmail Password
gmail_alias=" "+gmail_user                       #Gmail Nickname
gateway=""	# Check http://tinyurl.com/d5ghcv

def mailz(text):

    mail = MIMEMultipart()
    mail['From'] = gmail_alias

    mail['To'] = gateway
    mailServer = smtplib.SMTP("smtp.gmail.com", 587)
    mailServer.login(gmail_user, gmail_pwd)
    mailServer.sendmail(gmail_user, gateway, mail.as_string())


s = dbus.SessionBus()
kt = s.get_object("org.ktorrent.ktorrent","/core")

def update(k):
        torrent = s.get_object("org.ktorrent.ktorrent","/torrent/"+k)
        name = torrent.get_dbus_method("name","org.ktorrent.torrent")
        mailz("ktorrent: finished " +name())


import gobject
loop = gobject.MainLoop()
Categories: Uncategorized

Fedora 10 Fglrx

January 26, 2009 2 comments

Finally the RPMFusion Stable NonFree Updates repositories have the fglrx driver
All steps are to be executed in root/super-user mode

1) Get RPMFusion Repos.

rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

2) Install Fglrx

yum  install akmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-libs -y

3) Blacklist radeon

blacklist radeon

to /etc/modprobe.d/blacklist

4) Reboot

5) Make initrd

– While booting at grub press ‘e’ in line starting with kernel. Add ‘single’ to the end. Press ‘ESC’ & press ‘b’

cd /boot/
rm initrd-`uname -r`.img
mkinitrd initrd-`uname -r`.img `uname -r` --with=fglrx


NOTE: You might have to do

aticonfig --initial -f
Categories: Uncategorized

Install XBMC

January 10, 2009 2 comments

XBMC (a.k.a. XBOX Media Center) is a great media center available on all platforms

If you have Ubuntu then see this

For Fedora an unofficial rpm is available at http://www.fedorajunkies.com/index.php/XBMC

Installing From source:

0) Get Latest SVN Snapshot

svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC/

1)Get RPMFusion Repo:

rpm -Uvh  http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

2)Install Dependencies :

yum install SDL* glew glew-devel libmad-devel tre tre-devel libogg libogg-devel libvorbis libvorbis-devel boost \
boost-devel bzip2-devel bzip2-libs fribidi* lzo lzo-devel mysql-libs mysql-devel jasper jasper-devel faac faac-devel \
enca enca-devel hal hal-devel hal-libs cmake gperf nasm libXmu-devel fontconfig-devel freetype-devel libXinerama-devel \
pcre-devel gcc-c++ sqlite-devel curl-devel pulseaudio-libs-devel libsmbclient-devel

3)Make sql symbolic link
– For i386

ln -s /usr/lib/mysql/libmysqlclient.so.15.0.0 /usr/lib/libmysqlclient.so

For 64 bit

ln -s /usr/lib64/mysql/libmysqlclient.so.15.0.0 /usr/lib64/libmysqlclient.so


cd linuxport/XBMC



During this some errors may occur:

../xbmc/utils/CharsetConverter.h:31:39: error: fribidi/fribidi_char_sets.h: No such file or directory


cd xbmc
ln -s lib/libfribidi/ fribidi
cd ..


/usr/include/jpeglib.h:1096:55: error: jpegint.h: No such file or directory


cp xbmc/lib/cximage-6.0/jpeg/jpegint.h /usr/include/

C) For any other errors refer to fedorajunkies.com or fedoraforums.org

6) Install

make install

7) Configuring

Open xbmc by typing   xbmc in terminal or ALT+F2

-Settings > System >Audio Hardware
-Change Audio Output to Digital
-Change Audio Output Device and Passthrough Output Device to same device settings

(pulse -for fedora , hdmi/spdif- for ubuntu/debian systems)

You can also find out your device by using

aplay -L

8) To learn More about plugins and scripts Visit


Install fglrx from rpmfusion testing repos

December 30, 2008 Leave a comment

Now the fglrx driver is available in testing repos it can be installed .Since its in testing repos it is not recommended.
Older Guide: http://fglrx.djsh.net Older Guide’s Install Script: http://installfglrx.djsh.net

Make sure you have rpm-fusion repo installed

rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

Install Driver using yum

yum --enablerepo=rpmfusion-nonfree-updates-testing install akmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-libs.
Categories: Uncategorized