We have moved to a new Sailfish OS Forum. Please start new discussions there.
5

[bug] Euro sign not functional in terminal, displaced keboard layout (German)

Tracked by Jolla (In progress)

asked 2019-09-29 09:00:44 +0300

SaimenSays gravatar image

updated 2019-09-29 11:19:07 +0300

Trying to login via ssh, passwort was not accepted for many retries. After some messing arround, I've found that € sign is not functional in terminal as well as in ToeTerm. Typing it in leads to strange output on screen. Is there anyway to get it correct? Changing the password is not possible. And by the way, its German keyboard layout.

edit retag flag offensive close delete

Comments

1

Yep, works okay in English, but when German layout is chosen, the € is not working and the layout itself does not fit the screen correctly, I took a screenshot; (Jolla1 ~ 3.1.0.11)

image descriptionimage description

Spam Hunter ( 2019-09-29 10:17:32 +0300 )edit
2

Never ever thought about choosing another vkb layout for terminal :o

But even now I can confirm edz and saimensays finding about non-working € for German layout and the wrong sizing of screen layout.

@Edz But I cannot find any € sign in English layout?

peterleinchen ( 2019-09-29 11:11:35 +0300 )edit

@peterleinchen - you are correct, there is no € in English terminal layout, I've never noticed as I always use my main PC keyboard, well spotted!..and there is also no Sterling symbol either £

Spam Hunter ( 2019-09-29 11:24:09 +0300 )edit

2 Answers

Sort by » oldest newest most voted
6

answered 2019-09-30 11:31:56 +0300

updated 2019-10-03 12:31:05 +0300

For the wrong euro symbol, that's "normal", since the keycode in the keyboard klayout is for the generic currency symbol. If you want to change it to euro symbol, edit the german layout file: devel-su vi /usr/share/fingerterm/data/german.layout and change the 0x0a4 code on line 12 by 0x20ac. Here is the upstream merge request to change the keycode. warning: a copy of the old system german layout may still be present in $HOME/.config/FigerTerm/. It has the old key code and will take precedence over the system file. If you didn't change anything to this file, it's safe to remove it.

For the wrong key sizes, it's only when changing layout, next time you restart it will have a proper key size. I'm going to propose a MR to fix this (keyloader is not written in a proper declarative way with signal when value changes). I'm going to edit this answer when ready -> the upstream merge request for the change in layouts.

edit flag offensive delete publish link more

Comments

Changing german.layout with 0x20ac did not work for me!
Has anyone else tried it?

SaimenSays ( 2019-10-02 18:45:24 +0300 )edit

You're right, sorry, I was too hasty. It's strange that 0x20ac is indeed the code returned by xev on my desktop, though.

Go back to work on it then...

Damien Caliste ( 2019-10-02 19:02:58 +0300 )edit

@SaimenSays the issue comes from a remnant of an old way to handle keyboards in FingerTerm. Some time ago, layouts were always copied from resource inside the binary into the home dir of the user, in .config/FingerTerm/. Resource inside the binary is not used anymore but this directory takes precedence over the installation ones, so user can tune the keyboard layouts.

The side effect is that some 'old' german.layout file may still be present in this directory and override the system one. Simply remove the layouts from this directory will make the modified system german layout use the euro symbol.

Damien Caliste ( 2019-10-03 12:29:08 +0300 )edit

0x20AC, works for me on English layout.

I only have a 'settings.ini' file in .config/FingerTerm

Spam Hunter ( 2019-10-03 12:45:23 +0300 )edit
0

answered 2019-10-03 18:30:19 +0300

SaimenSays gravatar image

updated 2019-10-04 01:06:54 +0300

Changing to 0x20ac in /home/nemo/.config/FingerTerm/german.layout fixes it for me.

edit flag offensive delete publish link more

Comments

/media/nemo ?

Pohli ( 2019-10-03 19:48:43 +0300 )edit

@Pohli: Of course, this was the wrong directory. Corrected it now...

SaimenSays ( 2019-10-04 01:09:54 +0300 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2019-09-29 09:00:44 +0300

Seen: 291 times

Last updated: Oct 04 '19