Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 184

Warning: mysql_query(): A link to the server could not be established in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 184

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 185

Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 198

Warning: mysql_query(): A link to the server could not be established in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 198

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 199

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php:184) in /home/nokin900/public_html/wp-content/plugins/wp-google-plus-connect/functions.php on line 84

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php:184) in /home/nokin900/public_html/wp-content/plugins/wp-google-plus-connect/functions.php on line 84

Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 184

Warning: mysql_query(): A link to the server could not be established in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 184

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 185

Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 974

Warning: mysql_query(): A link to the server could not be established in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 974

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 975

Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO) in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 990

Warning: mysql_query(): A link to the server could not be established in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 990

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/nokin900/public_html/wp-content/plugins/maxblogpress-ninja-affiliate/ninja-affiliate-library/include/mbp-ninja-affiliate.cls.php on line 991
[How-to] Custom symbols in X Terminal | Nokia N900 Blog | Apps | Games | Themes | Wallpapers | Hacks

Home » Featured, Hacks, Maemo 5, Uncategorized

[How-to] Custom symbols in X Terminal

16 January 2012Entry by

Are you in need of special symbols while in X Terminal? Don’t want to bring up the special characters menu all the time? Well, here’s an easy way to customize the special characters  line on the bottom of your X Terminal window.

 

Open up your XTerm and use those commands to modify the characters line:

Note: Run these commands as a regular user, not root.

Modify the key labels:

gconftool-2 -s /apps/osso/xterm/key_labels -t list –list-type=string “[keylabels]”

Replace keylabels with the set of labels you want to use, separated by colons without any whitespaces. You’re free to use any text, just don’t use labels too long. The maximum safe amount of labels you can use is 7, if you use more, they will all go to a side-menu.  For example, if we are to add pipe, input and tilde symbols you can use this:  Tab,Esc,PgUp,PgDn,|,>,~

Next, set the characters that those labels will correspond to:

gconftool-2 -s /apps/osso/xterm/keys -t list –list-type=string “[character values]”

Replace character values with the corresponding values. You can look up which values respond to which characters by looking at /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 file (do it as a regular user, so you don’t modify it by accident)

If we follow the example for pipe, input and tilde characters, we shall use these values: Tab,Escape,Page_Up,Page_Down,bar,greater,asciitilde

Restart your X Terminal, so the fullscreen button goes where it should go and enjoy!

Comments:


Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

Invalid code.