Open Source

  • : Function ereg() is deprecated in /home/sparxsys_linux/www.linuxindya.com/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/sparxsys_linux/www.linuxindya.com/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/sparxsys_linux/www.linuxindya.com/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/sparxsys_linux/www.linuxindya.com/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/sparxsys_linux/www.linuxindya.com/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/sparxsys_linux/www.linuxindya.com/includes/file.inc on line 647.
  • warning: Creating default object from empty value in /home/sparxsys_linux/www.linuxindya.com/modules/taxonomy/taxonomy.module on line 1388.
  • : preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sparxsys_linux/www.linuxindya.com/includes/unicode.inc on line 311.
  • : preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sparxsys_linux/www.linuxindya.com/includes/unicode.inc on line 311.
  • : preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sparxsys_linux/www.linuxindya.com/includes/unicode.inc on line 311.
  • : preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sparxsys_linux/www.linuxindya.com/includes/unicode.inc on line 311.

Project Management Open Source Softwares

Yesterday I was searching for Open Source Project Management softwares and found OpenProj.

To my surprise it is very much like Microsoft Project. I don't know how good it is, I will try it. In the mean time I have to try other Open Source PM Tools.

Enable Clean URL in Drupal

Step 1

Create a .htaccess file in your website's root directory and place the following code in it.

RewriteEngine on RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

Step 2

Login to the Admin section of your Drupal site and enable the Path Module.

Path-Module

Step 3

Run a clean URL test and enable the Clean URLs.

enable-Clean-URL

Now you should be able to see the search engine friendly URLs :)

uptime - Tell how long the system has been running

uptime gives a one line display of the following information. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.

$ uptime
09:44:28 up 1 day, 1:10, 1 user, load average: 0.00, 0.00, 0.00

Reset forgotten MySQL root password

If you have forgotten your MySQL root password then don't worry. You can reset your lost password. Here is the procedure.

1. Login as root.

2. Kill running MySQL process and stop the MySQL service.

[[email protected] root]# killall mysqld
[[email protected] root]# /usr/libexec/mysqld -Sg --user=root &

3. Restart MySQL server with these parameters

[[email protected] root]# mysqld --skip-grant-tables --user=root

4. Manually set root password in the table "user" of "mysql" database.

[[email protected] root]# mysql

Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 1 to server version: 3.23.41
Type 'help;' or 'h' for help. Type 'c' to clear the buffer.

mysql> USE mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed

mysql> UPDATE user
-> SET password=password("newpassword")
-> WHERE user="root";

Query OK, 2 rows affected (0.04 sec)
Rows matched: 2 Changed: 2 Warnings: 0

mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)

mysql> exit;

[[email protected] root]# killall mysqld

5. Restart MySQL again

[[email protected] root]# /etc/init.d/mysqld start

Now your root password is set and you can now login as root using the password you have just created.

[[email protected] root]# mysql -u root -p
Enter Password: "newpassword"

If you again forget your root password don't worry just check this link again :)

How to configure MySQL

By default the root password for MySQL is blank, but it is not safe.

Set the root password by entering the following in terminal.

mysqladmin -u root -p password 'password'

This will set the root password.

Now you can login to the MySQL using the password you have just created.

mysql -u root -p

This will ask you for the root password, just enter the password to access the MySQL console.

Find your computer's IP Address

Enter the following command in Linux terminal to find your computer's IP Address.

/sbin/ifconfig -a

KNotes

Organize your notes using KNotes

Knotes is an useful small application for managing your notes. It comes as a part of KDE PIM Package.


KNotes_Note

This is how Notes appear on the Desktop. It has a decent interface. Notes are saved by the date and time they were created, Of Course it can be changed. The Pin on the top left gives Notes a nice visual appeal.


KNotes_Display_Settings

By default the background color of notes is yellow and text color is black. It can be changed in the settings. Settings section also has the option to change the default Width and Height of the notes. Though notes can be resized manually using mouse.


KNotes_Mail_Settings

One very nice feature of KNotes is sending the Notes to anyone through mail. Default mail client for sending Notes is kmail but it can be changed to any other mail client like Evolution in Action settings.


KNotes_Network_Settings

Notes can be sent or received over a network. Changes can be done in the Network settings.

Good Points

  • Alarm: You can set alarms
  • Mail: Mail your notes
  • Send Notes over netork
  • Good GUI: background color of the notes can be changed

Bad Points

  • Not Optimized for both Mouse and Keyboard: There should have been more keyboard shortcuts for managing the notes

Conclusion
You cannot take your computer with you but with the help of KNotes you can organize of Desktop more effectively and it is a really nice application to remind you of important tasks.

Change display resolution in Linux

Your Graphics Card support higher resolutions but your Linux distribution display is set to 800x600. You can change the resolution easily by following the below steps.


1. First check all the possible resolutions supported by your graphics card using the following command.

"xrandr"

It will display all possible resolutions like this.

Screen 0: minimum 400 x 300, current 1152 x 864, maximum 1152 x 864
default connected 1152x864+0+0 0mm x 0mm
1152x864 75.0* 70.0 60.0
1152x768 55.0
1024x768 85.0 75.0 70.0 60.0 87.0
832x624 75.0
800x600 85.0 75.0 72.0 60.0 56.0
640x480 85.0 75.0 73.0 67.0 60.0
720x400 70.0 85.0
640x400 85.0
640x360 85.0 75.0 70.0 60.0
640x350 85.0
512x384 87.0
416x312 75.0
400x300 85.0 75.0 72.0 60.0

The current selected resolution will have a * (asterix) next to it.


2. Change resolution.

Suppose your graphics card support 1024x768 resolution then you can change it using the following command.

"xrandr -s 1024x768"

Syndicate content