maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Hebrew keymap application and Ctrl+Fn (https://talk.maemo.org/showthread.php?t=45359)

omeriko9 2010-02-21 20:39

Hebrew keymap application and Ctrl+Fn
 
I have a question about the application called "hebrew keymap" available in extra-devel.

I've noticed that the Ctrl+Fn functionality (special characters panel) is missing after installing it.

Is there a reason for that?
And is it possible to bring this functionality back yet keeping the Ctrl+Backspace shortcut for switching to hebrew?

P.S. Matan - thank you very much for your contribution to this (and the hebrew speakers :) ) community!

Matan 2010-02-21 20:52

Re: Hebrew keymap application and Ctrl+Fn
 
I have other uses for ctrl+fn (keyboard shortcuts), and I added all the synbols I need to the hardware keyboard, so I preferred to remove this feature.

If you want to correct it for yourself, simply edit the file /usr/share/X11/xkb/symbols/nokia_vndr/rx-51-h in the section that starts with key <LCTL> simply remove the first line (the one with four "Control_L"s) and remove the two slashes at the start of the following line, the one with the "Multi_key"s).

If you want a more general solution, I see two possibilities:
1. Someone else can maintain this package instead of me. Such maintainer may choose to include the Multi_key by default.
2. We can find another key combination for opening this keyboard. One example I can think of is shift+volume key, but I am open to other suggestions.

BTW, it is shift+backspace for switching language.

omeriko9 2010-02-21 21:03

Re: Hebrew keymap application and Ctrl+Fn
 
Quote:

Originally Posted by Matan (Post 540070)
I have other uses for ctrl+fn (keyboard shortcuts), and I added all the synbols I need to the hardware keyboard, so I preferred to remove this feature.

If you want to correct it for yourself, simply edit the file /usr/share/X11/xkb/symbols/nokia_vndr/rx-51-h in the section that starts with key <LCTL> simply remove the first line (the one with four "Control_L"s) and remove the two slashes at the start of the following line, the one with the "Multi_key"s).

If you want a more general solution, I see two possibilities:
1. Someone else can maintain this package instead of me. Such maintainer may choose to include the Multi_key by default.
2. We can find another key combination for opening this keyboard. One example I can think of is shift+volume key, but I am open to other suggestions.

BTW, it is shift+backspace for switching language.

Unfortunately, that didn't go too well, I now get "Error loading new keyboard description" when I setxkbmap after the change.

Any ideas why?

Regarding the general solution, I'm not sure I can maintain a package yet, seems too big on me right now, but I'll take option 2, perhaps with the keys you suggested.

Matan 2010-02-21 21:24

Re: Hebrew keymap application and Ctrl+Fn
 
How does the text look (from key <LCTL> until modifier_map)?

Please use copy and paste, not copying by hand.

On important warning: don't reboot your device while the keymap file is wrong. Make sure openssh server is installed.

Please check, I think FN+vol key might work with the current keymap.

omeriko9 2010-02-21 21:34

Re: Hebrew keymap application and Ctrl+Fn
 
key <LCTL> {
type[Group1] = "FOUR_LEVEL",
symbols[Group1] = [ Control_L, Control_L, Multi_key, Multi_key ]
};
modifier_map Control { Control_L };


And yes, Fn+volume works :)

EDIT: For some reason, when I post it it shrinks the tabs. When I edit the message there are tabs between each Control_L etc'.

Matan 2010-02-21 21:37

Re: Hebrew keymap application and Ctrl+Fn
 
The line

symbols[Group1] = [ Control_L, Control_L, Multi_key,

Should be

symbols[Group1] = [ Control_L, Control_L, Multi_key, Multi_key ]

I don't know how you lost the end.

If you prefer shift to fn, you can edit the lines starting with FK07 and FK08, replacing the second F8 and the second F7 with Multi_key (make sure you don't lose commas, or other punctuation).

omeriko9 2010-02-21 21:41

Re: Hebrew keymap application and Ctrl+Fn
 
Quote:

Originally Posted by Matan (Post 540126)
I don't know how you lost the end.

I lost the ends when I tried to copy&paste from vi. I edited it and paste it correctly.

Quote:

Originally Posted by Matan (Post 540126)
If you prefer shift to fn, you can edit the lines starting with FK07 and FK08, replacing the second F8 and the second F7 with Multi_key (make sure you don't lose commas, or other punctuation).


Thanks, but I don't. Actually I'm the one who asked you if you could switch it back on some version of rx-51-h you made with this change :)

Matan 2010-02-21 21:47

Re: Hebrew keymap application and Ctrl+Fn
 
I was unclear. What I meant is that if you prefer to use shift+volume key for displaying the symbols keyboard, then follow the instructions.

omeriko9 2010-02-21 21:48

Re: Hebrew keymap application and Ctrl+Fn
 
Actually, I've just uninstalled hebrew-keymap and reinstalled it, and it still gives me the same error on setxkbmap - perhaps I should ignore it?

omeriko9 2010-02-21 21:49

Re: Hebrew keymap application and Ctrl+Fn
 
Quote:

Originally Posted by Matan (Post 540143)
I was unclear. What I meant is that if you prefer to use shift+volume key for displaying the symbols keyboard, then follow the instructions.

Oh, but it's working great as is - after installing hebrew keymap - no change is needed :)


All times are GMT. The time now is 12:13.

vBulletin® Version 3.8.8