You are not logged in.
Pages: 1
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
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
Hello and thanks for the reply. I checked and the xkb-data package is installed and i use VNC.
Offline
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
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
[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
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 ).
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
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
Yeah, I checked and it is installed. Thanks for helping.
I even reinstalled Xfce4 and Goodies but still it is not fixed.
Offline
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
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
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
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
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
Pages: 1
[ Generated in 0.014 seconds, 8 queries executed - Memory usage: 593.38 KiB (Peak: 610.66 KiB) ]