Monday, February 6, 2012

Resolving "Could not update ICEAuthority /var/lib/gdm3

Here is the error message that you might encounter before logging into gnome desktop:
Could not update .ICEauthority file  /var/lib/gdm3/.ICEauthority
I have resolved this problem by simply removing that file and let gdm3 daemon re-create it. The commands below must be executed with root privileges.
/etc/init.d/gdm3 stop rm /var/lib/gdm3/.ICEauthority* /etc/init.d/gdm3 start 
perform the above steps from another pseudo terminal (the terminal in which the gnome desktop runs is tty8)


Om namo shridharaya

Sunday, February 5, 2012

Enabling the ability to view Kannada on Linux

Need to install ttf-kannada-fonts package. This package enables us to view text displayed in kedage and mallige fonts. Additional packages may have to be installed for viewing text in other fonts.

Om namo sridharaya.

Sunday, December 18, 2011

DataTable doesn't support CheckState values

DataTable (related to DataSet) doesn't parse CheckState values when a column of CheckState data type is added using the Visual Studio designer.

Friday, December 16, 2011

Handling CellClick event suppresses CellDoubleClick event.

Sri Guru Gauranga Jayate

In DataGridView, if one handles the CellClick event, CellDoubleClick event doesn't fire.

Om namo shridharaya.
Sri Guru Gauranga Jayate

DataGridView CellFormatting event is funny. As per the MSDN, the ConvertEventArgs argument has a property 'Value' that holds the unformatted value and must be set to the formatted (converted) value inside the event handler. But for DataGridViewCheckBoxColumn, this property had a fixed (constant) value irrespective of the underlying value of the DataGridView cell.

Om namo shridharaya

Wednesday, December 14, 2011

tableAdapter.Update method is 2-way

Sri Guru Gauranga Jayate

tableAdapter.Update method implies not just saving the dataset to the database but also retrieval of any autoincrement (identity) key values to the dataset after saving it to the database. In other words there's no need to call tableAdapter.Fill method to get the identity key values.

Om namo sridharaya.

Thursday, October 6, 2011

Mounting an ISO file in linux

mount -o loop disk1.iso /mnt/disk

Jaya Srila Prabhupada, Sathguru Bhagawan Sridhara Swamy Maharaja