Install Mate on Fedora [Fedora 17]


There are stable MATE x86_64/i386 rpms for Fedora 16 and 17. To install them, follow those steps:

  • Fedora 16

    yum install
    yum install atril
    yum groupinstall MATE-Desktop
  • Fedora 17
    yum install
    yum install atril
    yum groupinstall MATE-Desktop

Python Regular ExperssionsGoogle Python Class Day 2 Part 1


If you have never set a root password for MySQL server, the server does not require a password at all for connecting as root. To setup root password for first time, use mysqladmin command at shell prompt as follows:
$ mysqladmin -u root password NEWPASSWORD

However, if you want to change (or update) a root password, then you need to use the following command:
$ mysqladmin -u root -p'oldpassword' password newpass

For example, If the old password is abc, you can set the new password to 123456, enter:

$ mysqladmin -u root -p'abc' password '123456'

Change MySQL password for other users

To change a normal user password you need to type (let us assume you would like to change password for user vivek) the following command:
$ mysqladmin -u vivek -p oldpassword password newpass

Changing MySQL root user password using MySQL sql command

This is another method. MySQL stores username and passwords in user table inside MySQL database. You can directly update password using the following method to update or change password for user vivek:

1) Login to mysql server, type the following command at shell prompt:
$ mysql -u root -p

2) Use mysql database (type command at mysql> prompt):

mysql> use mysql;

3) Change password for user vivek, enter:

mysql> update user set password=PASSWORD("NEWPASSWORD") where User='vivek';

4) Finally, reload the privileges:

mysql> flush privileges;
mysql> quit

ArchLinux connecting to wireless through CLI [WPA]

# iwlist wlan0 scan
Cell 01 - Address: 04:25:10:6B:7F:9D
                    Frequency:2.417 GHz (Channel 2)
                    Quality=31/70  Signal level=-79 dBm  
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
  • If using WPA encryption:

Using WPA encryption requires that the key be encrypted and stored in a file, along with the ESSID, to be used later for connection via wpa_supplicant. Thus, a few extra steps are required:

For the purpose of simplifying and backup, rename the default wpa_supplicant.conf file:

# mv /etc/wpa_supplicant.conf /etc/wpa_supplicant.conf.original

Using wpa_passphrase, provide your wireless network name and WPA key to be encrypted and written to /etc/wpa_supplicant.conf.

The following example encrypts the key “my_secret_passkey” of the “linksys” wireless network, generates a new configuration file (/etc/wpa_supplicant.conf), and subsequently redirects the encrypted key, writing it to the file:

# wpa_passphrase linksys "my_secret_passkey" > /etc/wpa_supplicant.conf

Check WPA Supplicant for more information and troubleshooting.

Note: /etc/wpa_supplicant.conf is stored in plain text format. This is not risky in the installation environment, but when you reboot into your new system and reconfigure WPA, remember to change the permissions on /etc/wpa_supplicant.conf (e.g. chmod 0600 /etc/wpa_supplicant.conf to make it readable by root only).
  • Associate your wireless device with the access point you want to use. Depending on the encryption (none, WEP, or WPA), the procedure may differ. You need to know the name of the chosen wireless network (ESSID).
Encryption Command
No Encryption iwconfig wlan0 essid “linksys”
WEP w/ Hex Key iwconfig wlan0 essid “linksys” key “0241baf34c”
WEP w/ ASCII passphrase iwconfig wlan0 essid “linksys” key “s:pass1”
WPA wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
Note: The network connection process may be automated later by using the default Arch network daemon, netcfgwicd, or another network manager of your choice.
  • After utilizing the appropriate association method outlined above, wait a few moments and confirm you have successfully associated to the access point before continuing, e.g.:
# iwconfig wlan0

Output should indicate the wireless network is associated with the interface.

  • Request an IP address with /sbin/dhcpcd <interface>, e.g.:
# dhcpcd wlan0
  • Lastly, ensure you can route using /bin/ping:
# ping -c 3
PING ( 56(84) bytes of data.
64 bytes from icmp_req=1 ttl=49 time=87.7 ms
64 bytes from icmp_req=2 ttl=49 time=87.0 ms
64 bytes from icmp_req=3 ttl=49 time=94.6 ms

--- ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 87.052/89.812/94.634/3.430 ms

SOURCE: From the great ArchLinux wiki at

Poll Test

enable aiccu on startup update-rc.d

ardian@pc-desktop:~$ sudo !!
sudo update-rc.d aiccu enable
update-rc.d: warning: aiccu start runlevel arguments (none) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: aiccu stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 6)
Enabling system startup links for /etc/init.d/aiccu …
Removing any system startup links for /etc/init.d/aiccu …
Adding system startup for /etc/init.d/aiccu …
/etc/rc0.d/K20aiccu -> ../init.d/aiccu
/etc/rc1.d/K20aiccu -> ../init.d/aiccu
/etc/rc6.d/K20aiccu -> ../init.d/aiccu
/etc/rc2.d/S20aiccu -> ../init.d/aiccu
/etc/rc3.d/S20aiccu -> ../init.d/aiccu
/etc/rc4.d/S20aiccu -> ../init.d/aiccu
/etc/rc5.d/S20aiccu -> ../init.d/aicc

Fedora 16 Release Name Voting

Vote for Fedora 16 Release Name


You can now vote for your favorite Fedora 16 Release name VOTE HERE


To vote, you must have a valid Fedora Contributors License Agreement (CLA) and be a member of at least one non-CLA group


Giving KDE a 3 months try

I want to give KDE a try because I am learning about Qt since KDE is based on Qt it would be a great experience to start using it and try Qt applications, I am giving a 3 months try and see what happens, I am gnome user. If you have any tips or tricks would be awesome so let me know. At the end of this challenge I will update my blog and write about my experience with the KDE desktop environment and community.

Imagemagick is cool ! [How to use Imagemagick]

Design from the Command Line

Imagemagick is a tool for photo editing like GIMP or Adobe Photoshop, But it isn’t in a GUI mode like GIMP or Adobe Photoshop it is for the command line.  If you want to know more about this tool I suggest you to go to the

This is a very short tutorial that shows how powerful this tool can be.

Note: This tutorial is about GNU/Linux users didn’t try it on any windows machine.

Most of the modern GNU/Linux distrobution has Imagemagick pre-installed

When you insall the Imagemagick pack it comes with some cool tools, example the display tool it allows you to view pictures:

ardian@skullnet:~/Pictures$ display meditate-tiny.jpg

Now for some reason you want to Grayscale an image it is very simple.

ardian@skullnet:~/Pictures$ ls convert -colorspace Gray meditate-tiny.jpg output.png

ardian@skullnet:~/Pictures$ convert -bordercolor yellow -border 8 richard-stallman.jpg output.png

$ convert [input-options] input-file [output-options] output-file

These are just little things that you could do with Imagemagick if you want to know more options you can check man convert.

This shows that even without using a mouse you can design, you have only to know what you do. Imagemagick is useful when you want for example to make black and white all of your photos you could do that with a command or a bash script.

Free Software Parable

“Those laws affect my life. I’m going to find out what they’re doing in the

via Free Software Parable.

%d bloggers like this: