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)
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)
Compiz not working (Help required)….

Hi every one…I think i might have helped many using this blog. But this time i might need some help. Actually i have been using Compiz fusion almost since it was released. I have gone through many ups n downs with it ( ups could be when i was amongst the first to see new features been added and downs would be when i was amongst the first to see all the bugs and crashes that came with the new versions). But all was well i was actually enjoying the ups and downs and was using the version 7.2.0 fairly well…and then i updates and the effects stoped working. Actually i got a command line instead of the login screen whenever xgl was on….i thought this bug will be sloved with yet another update but 3 updates came past me but it stilled didnt work out….my problem remained the same…no login screen… Then i thought it might be a problem with some plugin so i turned off all the plugins and sill the same problem. Then i reverted back to the oldest version of XGL that was available in the OSS repo of openSUSE 10.3 ( Oh! sry i forgot….i m using openSUSE 10.3 with 768 mb ram n intel 915gm board). Well after reverting back to the oldest XGL i got the login screen but after logging in compiz crashed. This made me realise that maybe XGL in the XGL repo of open suse is not up-to-date with the compiz fusion i m using. Does any one know a work around for this problem i m facing…. and if someone realted to openSUSE comes across this problem please Fix this bug….Its been more than a week since i havent seen any of that beautiful desktop effects on my comp

Posted by: rishabh_kalra | Comments (2)
NTFS auto-mount

Well now most of the distros give full NTFS read/write support by default (after the release of NTFS-3G) but in openSUSE (and maybe others distros too) i faced a problem — whenever i connected an external drive with ntfs partition, it got mounted but only with read support. To be able to write on it i had to first unmount it and then mount it again using ntfs-3g and only then i could get a write support.

Well the solution to this problem is quiet simple. U just need to use a software “ntfs-config”. This package can be found on openSUSE one click install page. It contains a very simple GUI. Open the software when no external device is attached to you comp. (if external device is attached it writes its entries to /etc/fstab and makes it dirty :P ). Select “enable write support for external devices” and the task is done. Just attach an external device and test the its writable now.

Posted by: rishabh_kalra | Comment (1)
Choice Between Angels…

Just after the emergence of Linux as the god of Freedom in 1991 we saw the existence of many of its angels also know as Flavors or Distros. The list of distros is so Huge that it wont be able to fit on this page and its not possible to detail each here,its mainly because Linux is so customizable.Its very easy to make a distro of your own and that’s the main reason for so many distros.Many a times the question arises which distro should i use? And there is no fixed answer for it. Its just a matter of choice or should i say ATTACHMENT that a Linux user generates while using a distro for a long period of time.Personally speaking i have made some perceptions regarding the distros and i like naming(or nicknaming) the as –>

openSUSE –> The beautiful one.

Red Hat –> The professional one.

Fedora –> Mr. do it yourself.

Debian –> The Mature one.

Knoppix –> Test Drive.

Puppy Linux –> Closest to windows Gui.

and the list goes on…well hope these names given by me must have helped u generate a certain idea of these distros. Personally i use openSUSE. I think its extremely beautiful, have a easy to use and modify GUI, has a very simple yet efficient control panel (YAST), updating it is very easy, stable enough to be used as primary OS, max. driver and hardware support and many other features. The best and the most recent feature of openSUSE i like is the oneclick install. Using oneclick install you can you can search for a software on the openSUSE site and can download and install that software using just one click (and ofcourse a reliable and a decent speed net). Use the link software.opensuse.org/search to directly go to the software search for onlick install. In case of quarries about openSUSE or a general Linux question feel free to ask me…i’ll try my best to answer your questions.


Posted by: rishabh_kalra | Comments (0)