Compiz Fusion with KDE4

I know its a bit late for posting it but there are still newbies attacking on a wonderfully evolving new Desktop enviornment i.e. KDE 4 and i m sure many of u r still seeking help in using compiz fusion desktop effects in your newly installed KDE4.

Well the steps are really simple.Firstly u need to install all the compiz fusion packages either from the compiz fusion’s site or for openSUSE simply use the XGL repo from the community repositary. Please note that in the new openSUSE 11.0 have removed the XGL layer and has added AIGLX which means no more remembering of the enable/disable commands. The efeects can be simply turned on with the help of fusion-icon of compiz-manager and for a surprise KDE 4 makes it much easier to set programs that have to be started up every time.

To add a program to start up simply open the “configure desktop” option form the K-menu. Next open the “advanced tab” on the top and then click on the “Autostart” icon and then just use “Add Program” button on the right hand side. Now thats wht i call a good desktop experience :)

Now you can add the fusion-icon to the startup and every time u log in u will find its icon in the system tray which will help you simply switch between various Window manager so u can switch on/off the effects from there.

Hope u enjoy the new KDE 4 which is like a revolution in the morden day personal computing :)

Posted by: rishabh_kalra | Comments (3)
Compiz making your computer slow??

The recent problem faced by me was that suddenly after an online update my computer went too slow….i could feel the zagginess while while moving windows. After using “ctrl+esc” i realized that Xorg was using a lot of CPU % which didnt come below 25% n every thing was getting slow coz of it. I though it was due to some problem in compiz or Xorg n will vanish after one or two updates but that didn’t happen so it striked to me that it must be due to some plugin so i turned off all the plugins n every thing was normal again :)

I started to turn on each plugin one by one and observe the changes n i saw that blur plugin was on but its own n it was causing the problem and also the reflection plugin was causing the problem ( well i dont have a graphics card n if u do maybe reflection plugin wont make a difference i think) so u can try this n if even this doesnt solve the problem try switching off the KDE4 native effects. Hope this will solve the similar problem faced by any of u :)

Posted by: rishabh_kalra | Comments (0)
hello world…

//code for hello.java

class hello

{

public static void main(String args[])

{

System.out.println(”hello world”);

}

}

This is a simple hello world program. The most imp thing is that for every .java file there has to be atleast one class and the a class with the exactly same name as the .java file name. Like in this example the file name is hello.java and the name of the class is also hello ( please remember that even the case of the filename and the class name should match as java is a case sensitive language).

Next is the main function which is also imp as C/C++ but unlike C/C++ its in the main class (hello in this case).since main has to be accesed from outside when the program has to be executed so it has to be public ( which has same meaning as in C/C++ classes) and static so that its initialised only once, and void if it returns nothing.

The control flow of the program starts from the main function and goes line by line in sequence. “System.out.println” is a predefined function for console output. System.out.print is also a similar predefined function the difference is that println returns a newline at the end of the thing to be printed and print just prints the thing to be printed.

example :-

System.out.println(”1″);System.out.println(”2″);

this will print :

1

2

where as –

System.out.print(”1″);System.out.print(”2″);

will print :         1 2

Posted by: rishabh_kalra | Comments (0)
First things first…

To start java programming you need to have a java compiler/interpreter.

In linux GCC has a java frount end for compiling java programs namely “gjc” which unfortnately doesnt work on my openSUSE 11.0 (maybe i m missing something) so u need to do 1 thing, open “yast” and open “software management” and then choose “patterns” as “filter” and then under the “development” heading check “java development” and a command will be added to your linux system –> “javac” <– which is used to compile a java program.

And if you dont want to do all this you can simply go to the sun’s site and download JDK (java development kit) which is available for downlaod for every platform.The only thing is that is you download it u will have to update it manually and if you adapt the above method for openSUSE u will get updates automatically through the update manager.

Now that you have obtained the basic requirements now commands “javac” and “java” will be added.

For linux find these commands in the terminal and for windows open the command prompt.

javac command is used to compile a java program that has .java extention and the code is converted to an intermediate java code which is coppied to a new file with same name and having .class extenstion now use java command to run the program but just feeding the filename (without any extension) to the java command, this command will automatically find the .class file in the current working directly and the program is executed.

example –>

$> javac Example.java

$> java Example

this is a test program.

$> _

Posted by: rishabh_kalra | Comment (1)
Getting your hands wet with JAVA programming

Well i m about to join na company that requires me to use java. So i thought y not help others with java…

i will be updating this blog with small n simple java tutorials. Firstly, i have a good hand on C/C++ n m learning java for the first time, so the aproach i have adopted is to learn java by comparing every thing with C/C++ so all those who know C/C++ will have advantage.

I dont know to what depth i will be going in this course of tutorials but lets start with from the basics n then see how well the boat can sail :)

So heres a welcome to all willing to use my tutorials to learn JAVA and do help me improve these tutorials with your valuable comments.

I will be programming on openSUSE 11.0 but as java is purely cross-platform it wont make a difference what ever platform you use…

Posted by: rishabh_kalra | Comments (0)
Today’s Security Updates…

Fedora has updated snort (F9, F8, F7: detection rules bypass), evolution (F9, F8, F7: arbitrary code execution).

Mandriva has updated mozilla-firefox (denial of service).

rPath has updated vsftpd (denial of service).

SUSE has updated xine, xemacs and emacs, opensuse-updater, libvorbis, vorbis-tools, pdns-recursor, openwsman (various issues).

Posted by: rishabh_kalra | Comments (0)
Today’s Security Updates…

CentOS has updated evolution (arbitrary code execution), cups (arbitrary code execution via crafted PNG), evolution28 (multiple vulnerabilities).

Mandriva has updated kernel (unspecified vulnerability).

Red Hat has updated evolution (RHEL 3,4, RHEL 4.5, RHEL 5: arbitrary code execution), evolution28 (RHEL 4: multiple vulnerabilities), cups (arbitrary code execution via crafted PNG).

Ubuntu has updated kernel (multiple vulnerabilities).

Posted by: rishabh_kalra | Comments (0)
Compiz 0.7.6 is out…

Compiz 0.7.6 is out with a splash. The long tested Full sphere is out in the stable XGL repo and trust me it looks amazing.Though it took a little time for me to find out from where to turn it on. Well u can find it in the “effects” group under the “Cube reflection and deformation” plugin. There under the “Deformation” tab you can chose between the sphere and cylinder or a notmal cube. And if u select sphere and remove the tick from the “Deform caps” and “Cube Atlantis” is on then u will see a very very cute aquarium :) i have added a screen shot with it.

Another thing added is the “Static Switcher” plugin which shows thumbnails of all the open windows and moves caret instead of thumbnails.

One more thing added is the wallpaper plug in.This plugin helps u keep a different wallpaper for each phase of the cube. The only problem with this plug in is that right now Kdesktop doesnt support transperency so u wont be able to see the wallpaper set by compiz. At this point of time you have 3 options — first is that you can kill kdesktop but the problem is you wont be able to see the icons on your desktop. Second option is there is a patch available for transparency support but you will have to re-build kde-base.Third option is that u wait for the changes to come pre-built with the new kde-base :P

These were the differences i noticed n there might be more. If any of u find out, can paste it as a comment to this post :)


Posted by: rishabh_kalra | Comments (0)
Today’s Security Updates…

Debian has updated libvorbis (multiple vulnerabilities).

Fedora has updated imlib2 (F7, F8, F9: buffer overflow in the XPM loader), libpng (F7, F8, F9: denial of service).

Gentoo has updated mtr (stack-based buffer overflow), libxslt (code execution).

Posted by: rishabh_kalra | Comments (0)
Security updates….

Debian has updated samba (arbitrary code execution), linux-2.6 (multiple vulnerabilities), ikiwiki (update to previous security update)

Fedora has updated samba (F7, F8, F9: arbitrary code execution), openssl (F9: multiple vulnerabilities).

rPath has updated samba (arbitrary code execution), openssl, openssl-scripts (denial of service).

Posted by: rishabh_kalra | Comments (0)

Calendar

September 2008
S M T W T F S
« Aug    
 123456
78910111213
14151617181920
21222324252627
282930  

Blogroll

Categories

Tags

Archives

Recent Readers

Meta

Top Browsers

Top OS

Visitors Online

My Bookmarks

Blog Stats

  • Users 4
  • Posts 51
  • Comments 27
  • Pages 0

Feeds

  • Any Feed Reader