Keyboard accent error in trisquel 9 mate desktop

1 reply [Last post]
augustoborin
Offline
Joined: 08/29/2016

Hi, I recently had a problem logging in with my account in the mate desktop graphical environment (created another user and logged in normal) and reading the logs I saw these lines:
mate-session[2122]: GLib-GIO-CRITICAL: g_settings_schema_source_lookup: assertion 'source != NULL' failed

mate-session[2122]: GLib-GIO-ERROR: No GSettings schemas are installed on the system

I solved it by editing my .profile and adding these lines:

export GSETTINGS_SCHEMA_DIR=/usr/share/mate:/usr/share/mate:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop

export XDG_DATA_DIRS=/usr/share/mate:/usr/share/mate:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop

Then it worked. The problem now (also only in the default user), was that the accents don't work anymore. Any tips on how to fix it? My keyboard is the Portuguese of Brazil.

augustoborin
Offline
Joined: 08/29/2016

Solved with the help of adfeno in the gnu group at xmpp who even opened an issue #27699: Improve input method configuration.

You have to create two files:

1. .xinputrc in the user folder with the following content: run_im xim

I commented out the line that was already in the file and it didn't give any problems: # run_im ibus

2. .xprofile also in the user folder, with: unset GTK_IM_MODULE; export XMODIFIERS="@im=none"

3. logging out and in from the current session.