Active Topics

 


Reply
Thread Tools
Posts: 145 | Thanked: 88 times | Joined on Nov 2009 @ Copenhagen
#1
I would like to change the list of symbols that pop up when hitting fn+ctrl in order to get easy access to some Icelandic characters. Is this possible?

Hope someone knows or can find a solution.

Best regards and thanks for a great forum!
 
casper27's Avatar
Posts: 844 | Thanked: 521 times | Joined on Jan 2009 @ UK southampton
#2
you should be able to modify the

/usr/share/X11/xkb/symbols/nokia_vndr/rx-51

file with Icelandic characters. fn+ctr => pageup or whatever you want.

I have not tried this so use with caution until someone confirms/denies this.
 

The Following User Says Thank You to casper27 For This Useful Post:
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#3
I confirm changes to file /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 are working for me.
I needed "&" sign on physical italian keyboard and changed section:
Code:
partial alphanumeric_keys
xkb_symbols "it" {
    include "nokia_vndr/rx-51(english_base)"
    include "nokia_vndr/rx-51(arrows_2btns)"

    name[Group1] = "Italian";

    // 1. row
    key <AB08>	{ [	egrave,		Egrave,		eacute,	Eacute	] };

    // 2. row
    key <AC06>	{ [	h,		H,		semicolon,	semicolon	] };
    key <AC07>	{ [	j,		J,		colon,		colon		] };
    key <AC08>	{ [	k,		K,		exclam,		exclam		] };
    key <AC09>	{ [	l,		L,		question,	question	] };
    key <AB09>	{ [	ograve,		Ograve,		igrave,		Igrave		] };
    key <UP>	{ [	agrave,		Agrave,		ugrave,		Ugrave		] };

    // 3. row
    key <AB01>	{ [	z,		Z,		EuroSign,	EuroSign	] };
    key <AB02>	{ [	x,		X,		parenleft,	parenleft	] };
    key <AB03>	{ [	c,		C,		parenright,	parenright	] };
    key <LEFT>	{ [	period,		comma,		comma,		comma		] };
};
Line:
Code:
    // 1. row
    key <AB08>	{ [	egrave,		Egrave,		eacute,	Eacute	] };
was changed to:
Code:
    // 1. row
    key <AB08>	{ [	egrave,		Egrave,		ampersand,	ampersand	] };
And now if I type <BlueArrowShift>-eacute key I get "&":

Last edited by No!No!No!Yes!; 2009-12-06 at 13:39.
 
Posts: 145 | Thanked: 88 times | Joined on Nov 2009 @ Copenhagen
#4
Thanks a lot to both of you.

What I wanted was to change the content in the virtual symbol table (the one that pops up when pressing Fn (the blue arrow)+Ctrl. Do you have any idea about where I can change that in the system? I had a quick look at rx-51 and it doesn't seem to be in that file (although I might have misunderstood something).
 
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#5
Originally Posted by filologen View Post
Thanks a lot to both of you.

What I wanted was to change the content in the virtual symbol table (the one that pops up when pressing Fn (the blue arrow)+Ctrl. Do you have any idea about where I can change that in the system? I had a quick look at rx-51 and it doesn't seem to be in that file (although I might have misunderstood something).
Sorry ... didn't understand on first glance.
However, after further investigations, I eventually found out some good directions, but I'm still experimenting a little bit and would just like to share first speculations on the matter...

This bug report seems to be of great interest:
https://bugs.maemo.org/show_bug.cgi?id=2892


Virtual Keyboard layouts seem to be stored in:
Fn-Sym Virtual Keyboard: /usr/share/scv_layouts
Closed-Tablet virtual keyboard: /usr/share/keyboards


Here is a dump of a comparison of:
/usr/share/scv_layouts/it.vkb
/usr/share/scv_layouts/us.vkb

with highlighted chars:


Tweaking these files with Hex-Editor, or via tool specified in bug report, might be the way.
Also look at bug report attached XML file:
https://bugs.maemo.org/attachment.cgi?id=713

UPDATE 200912070208v0.1en:
Tried to change some basic values on it.vkb but after reboot, despite file keeps the amended values, no visible changes appear on virtual Fn-Sym Keyboard Layout.
On second attempt, I copied us.vkb to it.vkb and, after reboot, this time italian keyboard layout on screen equals US layout.
It seems that just changing one or more values in the it.vkb file doesn't work!

UPDATE 200912070430v0.2en:
OK... it seems things are starting sorting out
Let's analyze /usr/share/scv_layouts/it.vkb file:


Area surrounded by red line represents values for the normal virtual keyboard buttons. Green line surrounds Shifted virtual keyboard buttons values.
Yellow and Cyan highlights are the values representing the different buttons.
1) Is special code for the TAB button
2) Is the special code for "&" button (the one I needed to implement, both in red and green areas, on the virtual keyboard)
3) Is the special code for "Per Mille" button
4) Are buttons with special characters (~ extended ASCII or UNICODE)

I still haven't figured out the description/meaning for all button values but... so far so good... mission accomplished!!!

... Stay tuned!

Last edited by No!No!No!Yes!; 2009-12-07 at 03:33.
 
Posts: 79 | Thanked: 21 times | Joined on Sep 2007
#6
I wrote a short howto on redefining the symbol table (called special characters view). Please have a look at
http://wiki.maemo.org/Special_characters_view
 

The Following User Says Thank You to tvogel For This Useful Post:
Ralph's Avatar
Posts: 14 | Thanked: 10 times | Joined on Jan 2010 @ Italy
#7
I have the same problem, I need & on the virtual keyboard (the one you have pressing Fn+Ctlr on hw keyboard) so after a little google search I found a perl script (non working with my it.vkb file) http://idoru.metadreams.net/~kimju/s...mo/decode_vkb/ which gave me some hints on how to edit the binary file (attached).
Now I have a nice and working & om my virtual keyboard
The pound symbol £ in still accessible by pressing shift key.
Attached Images
 
Attached Files
File Type: zip it.zip (263 Bytes, 117 views)
 
Reply

Tags
character, character palette, customize, fremantle, maemo, maemo 5


 
Forum Jump


All times are GMT. The time now is 09:53.