≡ Menu


Gnome per user language encoding configuration using .dmrc file

Sometime you may see different language encoding in X than on your console (tty) prompt. Sometime two different user need two have different language encodings.

~/.dmrc file - Per-user language support

In theory this file should be shared between GDM (Gnome) and KDM (KDE), so users only have to configure things once. This is a standard .ini kind / style configuration file. It has only one section called [Desktop] which has two keys: Session and Language. There are some per user configuration settings that control how GDM behaves. GDM is picky about the file ownership and permissions of the user files it will access, and will ignore files if they are not owned by the user or files that have group/world write permission. Normally GDM will write this file when the user logs in for the first time, and rewrite it if the user chooses to change their default values on a subsequent login.

Setup language encoding in X

Defining LANG variable is not sufficient, you need to setup language encoding using ~/.dmrc file.
cat ~/.dmrc


Refer to Gnome Display Manager Reference Manual for more information.

Download of the day: SSH Menu ~ Save and Open SSH Connections on a single mouse click

For last couple of years I’ve used my own shell script based solution to list and open ssh connections. Now I found a nice applet called SSHMenu:

The SSHMenu is a panel applet that makes all your regular SSH connections a single mouse click away. Each menu option will open an SSH session in a new terminal window. You can arrange groups of hosts with separator bars or sub-menus. You can even open all the connections on a submenu (in separate windows or tabs) with one click.

Overall I'm quite happy with SSHMenu, a must have tool for all admin, IMHO.


a] SSHMenu allows you to add key so that you can run rest of the all session without a problem and password.
b] Every connection you make using using SSHMenu will use the terminal profile you've selected, to set the color scheme, terminal font and other settings.
c] You can open all connection at a time and much more...

SSH Menu ~ Save and Open SSH Connections on a single mouse click
(SSHMenu in action - click to enlarge)

Download SSHMenu

=> Visit official site here ( hat tip to carthik )

How do I install Oracle database server on CentOS Enterprise Linux 5?

This is a nice and step by step guide for installing Oracle database server under CentOS Linux. The guide has plenty of screenshots:

During OS install both GNOME and KDE desktops were selected as well as all components of all available groups except "Virtualisation", "Clustering", "Cluster Storage" KDE Session has been selected for system login. Firewall and SELINUX have been disabled.

Installing Oracle on CentOS 5.0 (x86_64) [Oracle DBA Blog]

Linux Changing Run Levels

A question from my email bag:

How do changing run levels affect us or our users?

[click to continue…]

xrandr: Linux Resize / Set The Screen Size Quickly Via Command Line Options

Generally, I need to switch my Gnome screen size to 800x600 to watch TV via TV-Tunner card as my card supports max 800x600 resolution. For rest of my work I prefer to use 1024x768 pixels. You can create a shortcuts on the desktop to resize screen quickly:
[click to continue…]