Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-10-28 14:37:08

arman_777
Member
Registered: 2020-10-28
Posts: 7

Add Button in Keyboard Setting is disabled

I've recently installed Ubuntu 18.04 server along with the XFCE4(& Goodies). When i go to the keyboard setting and then layout tab to add new keyboard layout(language), the add button is disabled even though i already unchecked the 'Use System Default' option. Also there is only one layout there named us which other options like 'Compose key' or 'Keyboard Model' all are empty and it doesn't have any variant. I tried whatever i could find on internet(which is scarce with regard to this problem) but nothing works.
I would gladly accept any guide or help.

Last edited by arman_777 (2020-10-29 19:37:55)

Offline

#2 2020-10-28 18:11:39

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: Add Button in Keyboard Setting is disabled

Hello and welcome.

Are you connecting via vnc or xrdp?
Also, do you have the xkb-data package installed?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2020-10-28 19:08:32

arman_777
Member
Registered: 2020-10-28
Posts: 7

Re: Add Button in Keyboard Setting is disabled

Hello and thanks for the reply. I checked and the xkb-data package is installed and i use VNC.

Offline

#4 2020-10-28 20:34:11

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: Add Button in Keyboard Setting is disabled

arman_777 wrote:

and i use VNC.

Do you have any errors in your vnc log or in ~/.xsession-errors? Maybe something along the lines of xfce4-settings crashing?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2020-10-29 00:51:57

arman_777
Member
Registered: 2020-10-28
Posts: 7

Re: Add Button in Keyboard Setting is disabled

Well i noticed some warning and problem there such as (these errors happen whenever i go to the keyboard settings) :

"" Xlib:  extension "RANDR" missing on display ":1.0".

(xfce4-settings-manager:4568): Gtk-WARNING **: 04:14:19.907: Unable to locate theme engine in module_path: "pixmap",

(xfce4-settings-manager:4568): Gtk-WARNING **: 04:14:19.908: Unable to locate theme engine in module_path: "pixmap",

(xfce4-settings-manager:4568): Gtk-WARNING **: 04:14:19.908: Unable to locate theme engine in module_path: "pixmap",

(xfce4-settings-manager:4568): Gtk-WARNING **: 04:14:19.909: Unable to locate theme engine in module_path: "pixmap",

(xfce4-settings-manager:4568): Gtk-WARNING **: 04:14:19.909: Unable to locate theme engine in module_path: "pixmap",

(xfce4-keyboard-settings:5408): Gtk-CRITICAL **: 04:46:10.599: IA__gtk_widget_grab_default: assertion 'gtk_widget_get_can_default (widget)' failed

[1603934037,000,xklavier_config.c:xkl_config_registry_load_helper/]     Missing registry file /usr/share/xmodmap/base.xml ""

One odd thing is that last time i installed Ubuntu 18.04 with Xfce on a dedicated server, i didn't encounter this problem. Glad you're helping me.

Last edited by arman_777 (2020-10-29 01:18:50)

Offline

#6 2020-10-29 01:55:30

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: Add Button in Keyboard Setting is disabled

arman_777 wrote:

[1603934037,000,xklavier_config.c:xkl_config_registry_load_helper/]     Missing registry file /usr/share/xmodmap/base.xml ""

/usr/share/xmodmap/base.xml is part of xkb-data. Can you try re-installing that package?
Also make sure that libxklavier is installed/re-installed as well.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2020-10-29 16:26:10

arman_777
Member
Registered: 2020-10-28
Posts: 7

Re: Add Button in Keyboard Setting is disabled

I reinstalled xkb-data but i couldn't get libxklavier, it seems to be deprecated. Is there any Lib that contains libxklavier and you can get it via apt install. Does the libxklavier-dev have libxklavier too? I found a site that have the source package(https://lfs.maru-na.net/blfs/view/7.10-systemd/x/libxklavier.html) but i couldn't make it because it gives a configure error:

" configure: error: in `/home/arman/Downloads/libxklavier-5.4':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables X_CFLAGS
and X_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details "

I messed with the pkg-config but it messed back with my UI and ruined it smile).

These errors still persist :
"(xfce4-keyboard-settings:2224): Gtk-CRITICAL **: 21:57:28.061: IA__gtk_widget_grab_default: assertion 'gtk_widget_get_can_default (widget)' failed
[1603996043,000,xklavier_config.c:xkl_config_registry_load_helper/]     Missing registry file /usr/share/xmodmap/base.xml "

Last edited by arman_777 (2020-10-29 18:31:47)

Offline

#8 2020-10-29 18:58:09

alcornoqui
Member
Registered: 2014-07-28
Posts: 831

Re: Add Button in Keyboard Setting is disabled

In my Xubuntu 18.04 desktop there's libxklavier16, from the main repository, which depends on (among others) xkb-data, see https://packages.ubuntu.com/bionic/libxklavier16

Do you have it installed?

Offline

#9 2020-10-29 19:41:05

arman_777
Member
Registered: 2020-10-28
Posts: 7

Re: Add Button in Keyboard Setting is disabled

Yeah, I checked and it is installed. Thanks for helping.
I even reinstalled Xfce4 and Goodies but still it is not fixed.

Offline

#10 2020-10-29 19:45:02

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: Add Button in Keyboard Setting is disabled

Are you able to log in locally to the computer? Check to see if it works then. This might be a VNC-related issue.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#11 2020-10-29 19:54:34

arman_777
Member
Registered: 2020-10-28
Posts: 7

Re: Add Button in Keyboard Setting is disabled

The server is in a Data-Center which is located in a different city. Will xrdp make a difference? i remember that last time i installed Ubuntu with Xfce4, i also had the xrdp and i don't remember that i encountered any problem with regard to the keyboard setting.

Offline

#12 2020-10-29 20:20:02

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: Add Button in Keyboard Setting is disabled

If you could try. VNC has been having some issues with newer versions of Xfce related to certain X libraries not being supported by VNC.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#13 2020-10-29 21:05:30

arman_777
Member
Registered: 2020-10-28
Posts: 7

Re: Add Button in Keyboard Setting is disabled

You are completely right that it is a VNC-related issue, i checked the xrdp and there was no problem and keyboard setting was working perfectly. Another odd thing i observed was that whenever i run the xfce4-keyboard-settings from the terminal with sudo privilege, some of the options become enabled like i can delete layouts or if I add a new layout(with xrdp) it shows them which i can't see them if i open the keyboard settings from the GUI.

Offline

#14 2020-10-29 22:51:42

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: Add Button in Keyboard Setting is disabled

You should never run any of Xfce settings components with sudo - those set profile-specific settings that need to be owned and run by your user account. Sudo has a tendency to change file ownerships and not be connected to the proper daemons.

Make sure that all the files in ~/.config/xfce4 are owned by your user account.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB