Compiz/Beryl issue on Fedora.

2009-12-15 1 min read Fedora Linux

Since quite some time I was getting the below error when I am trying to run compiz. I was busy and also was not working in Gnome so did not look at this until today.

compiz (core) – Fatal: Root visual is not a GL visual.

on doing a grep in the Xorg log files found that the error is due to the mismatch of version between kernel module and the nvidia driver. The command to check the errors in the Xorg log file is

Continue reading

Tip: Using find Command in Linux

2009-12-10 2 min read Linux

Ok this I was planning for quite sometime.. but found this <a href="http://www.pinoytux.com/linux/tip-using-find-command-in-linux" target="_blank">here. Worth reading for people who want to start off using find command.

Doing command-line stuff in Linux is fun. It may be intimidating for some at first, now that we are in the age where GUI is no longer an option. But with CLI, we can do so many things that can be accomplished faster if we know how to utilize the features of a certain command.

Continue reading

Google wave invitation available with me.

2009-12-10 1 min read Uncategorized

I have couple of wave invitations available with me, added yesterday by wave team to my accounts. Thanks to wave. It seems that lot of people suddenly saw that the wave invitations remaining in their accounts have increased. So, now I have couple of invitations spare. Please leave a comment and will try to send you one.

C Prog to change wallpaper in every 30 seconds.

2009-12-08 1 min read GNOME

I wrote a good length of description on the below but somehow my browser closed without saving that. So I am just putting the program below:

#include <stdio.h>
#include <sys/types.h>
#include <dirent.h>
#include <string.h>
#include <gconf/gconf-client.h>

int main(int argc, char ** argv)
{
DIR *dp;
struct dirent ep;
char dirname[80];
GConfClient
client;
int s;

if (argc<=1)
{
printf(&#8221;%d is argc\n&#8221;, argc);
fflush (stdout);
dp = opendir(&#8221;.&#8221;);
strcpy(dirname, &#8221;.&#8221;);
}
else
{
dp = opendir(argv[1]);
strcpy(dirname, argv[1]);
}
if (argc <=2 )
s = 30;
else if ( argc >2 ) s = atoi(argv[2]);
//g_type_init();
client = gconf_client_get_default();
//client = gconf_client_get_for_engine (gconf_engine_get_default());

Continue reading

One click install for Linux systems.

2009-12-08 1 min read Linux

There has been this concept for quite sometime that there should be one click install for the applications in Linux. This applies to the themes and widgets of wordpress too 🙂 and quite some applications are taking it seriously (like wordpress for example).

But how about the application to do one-click install, there are couple of issues with that but still there exists at least one way. A nice blog <a href="http://www.linux.com/feature/49328">here.

Continue reading

Pipeing linux commands and their output

2009-12-08 1 min read Linux

As a system administrator, I always worry about certain things, like who's doing what, what processes are running, what the network traffic looks like, etc.  One day I decided to create a simple alias that would combine all the commands I wanted into one big chunk of information.  Then I realized that it wouldn't all fit into one screen.
Fortunately I knew how to group all of the commands together, so the "more" command could handle them as one set of input.

Continue reading

Change phpMyadmin theme.

2009-12-08 1 min read Linux

Changing the phpMyAdmin theme is as easy as downloading a theme from <a href="http://www.phpmyadmin.net/home_page/themes.php" target="_blank">here. Then look at your /etc/httpd/conf.d/phpMyAdmin.conf file and check the line similar to

Alias /phpMyAdmin /phpMyAdmin

The second path is the path to your phpMyAdmin installation. Go to that directory and then go to themes directory and unzip the file. Reload your phpMyAdmin page in browser and select the newly installed theme 🙂

Older posts Newer posts