Hybrid theme works perfectly on my Linux Box
December 15, 2007
I like what my Fedora 8 looks like now. It is dressed with two different Macintosh themes. And I like what I did with my Fedora. I experimented it using different themes for Gnome 2.20.2 and I decided to use two different themes but I never installed all its features ,but just customized its Appearance.
I combined Mac4Lin and Leopardish. Both are great themes but they sometimes destroy your desktop and make you frustrated about them.
I love using my Linux after I installed the themes. It’s not that very cool but it’s cool enough for me and I am comfortable with it.
Here are some screen shots of my Fedora 8:
How to configure GWT 1.4 on Fedora 8?
November 19, 2007
Installing GWT 1.4 in Fedora 8 is very simple.
Just download GWT 1.4 for Linux from Google and extract it to your home directory. After you extracted it, you can simply test it if this will work well in your system.
Basically to create a new application without using eclipse,
applicationCreator com.sample.client.HelloWorld
After creating the application we tried to run it. There are two ways to execute the application, in the web mode and in the hosted mode.
In web mode, we compile it first and execute the code
sh HelloWorld-compile
And this should run successfully.
How about running the application in the hosted mode?
sh HelloWorld-shell
In Fedora 8 this should run with errors. It says like,
** Unable to load Mozilla for hosted mode **
java.lang.UnsatisfiedLinkError: /home/Cyrus/gwt-linux-1.4.60/mozilla-1.7.12/libxpcom.so: libstdc++.so.5: cannot open shared object file: No such file or directory
Here is the explanation,
These are NOT included with the Fedora 8 DVD and must be downloaded online (ftp, yum, etc).”
The solution is to install them in your distro.
su -c 'yum -y install compat-libstdc++-33 compat-libstdc++-296'
Good! Try to run your application again in host mode. It will smoothly run then.
How can I read files from my linux partitions in Windows?
November 17, 2007
Let’s say for example, I have a dual-boot PC. And it is installed with a Windows and a Linux operating system. When I boot to the Linux system, I can easily mount my ntfs files or my Linux system mounted it automatically. I can play mp3 files from my Windows directories, copy, and delete files.
But, how can I do this in my Windows? When I boot to the Windows system, how can I view my ext2/ext3 files? And vice versa.
I found a Windows application that will do this for you. Explore2fs, the WIN32 explorer for Linux ext2fs partitions created by John Newbigin.
It is originally written for Windows NT and now it supports the following Win32:
- Windows 95/98
- Windows ME
- Windows NT 4.0
- Windows 2000
- Windows XP
- Windows Server 2003
The latest version also supports the following features:
- ext2 and ext3 support
- Drag and drop
- Support for all block sizes
- Support for floppy disks 1.44meg and 120meg
- Supports Zip and Jaz
- Supports Windows 98 extended partition scheme
- Export file(s)
- Export file as text
- Export directory
- View / Execute file
- View Symbolic links
- Make directory
- Large disk support
- Large file support
- LVM2
- ReiserFS Detection
You can download it’s binary runtime and source code:
How can I boot my Fedora 8 because I reinstalled my Windows XP?
November 16, 2007
I have my dual-boot on my laptop and it is installed with Windows XP as my primary operating system with a Fedora 8 over it.
I use GRUB for my boot loader and it is written on my Windows’ MBR. I have only one HDD, a SATA one, with three partitions. One for my Windows XP, my files and for my Linux box.
I reinstalled my Windows XP and my grub was fully erased in my Windows’ MBR. I could not boot my Fedora 8 anymore. I spent a day looking for a solution. I almost tried everything I see from the internet but unfortunately they do not work. But I found a working one. Meaning to say, don’t stop looking for it until you find it. This could be of big help to you. Just follow the simple instructions below.
- Insert your Fedora 8 installer (CD1) and set your boot sequence to your CD.
- When the CD is loaded, choose “Rescue installed system” from the menu.
- Wait for it to be loaded and follow the wizard.
- In the command, check first the name of your partitions,
fdisk -l
It says something like sda, sda1, sda2/hda, hda1, … - In my system, my Windows is installed on my first partition which is the sda.
- Change the current directory to /mnt/systimage with a root privilege.
chroot /mnt/sysimage - Install grub to your MBR’s location device, which is the Windows partition
/sbin/grub-install /dev/sda - Perfect! Restart your system and set the boot to your hard drive. It will show you the menu listed your Windows and your Linux.
- If these steps will not work, repeat again because this really works.
Currently I have my Fedora 8 and Windows XP installed on my laptop. I am enjoying using them for different purpose.
Welcome to dual-booting!
How to run an application in Linux without quitting from a remote?
October 30, 2007
Sometimes we need to log in to Linux from a remote using putty or SSH Secure Shell because we have an important application to upload to a server and it would be better also to run this application in the server because we want a faster connection and a faster machine.
Say for example, I have a Java application that accesses an Internet connection and I want this application to be uploaded in the Linux server because I want a faster connection compared to my PC. Then we open an ssh to transfer this file (application) to a server. And we want this application remains running when we logout from the server.
So, some of us will think that this code will work,
java -jar InternetScript.jar &
Yes, this perfectly works but it will also quit when you logout from your Linux.
We have a better solution for that problem. We can add nohup to our previous command.
nohup java -jar InternetScript.jar &
Try it. Good luck!
How to setup a headless application in Linux?
October 9, 2007
I am a newbie to Linux environment and do not know every commands available inside the shell.
This entry will explain and demonstrate to all newbies out there and to those who have not know to setup a headless application in Linux and for those who want to setup headless application in Linux.
Install the following in your Linux distro if you have not install them yet.
1. Xvfb
2. startx
3. import from ImageMagick Tools
Let’s try to run Firefox without a visible display.
1. Start Xvfb.
startx -- `which Xvfb` :1 -screen 0 1024x768x24
2. start Xvfb running on :1 with a screen size of 1024×768 and 24bits/pixel color depth.
DISPLAY=:1 firefox
3. Take a screenshot.
DISPLAY=:1 import -window root firefox.png
Thank you to Jordan Sissel for his blog regarding this problem.


