LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2021, 01:42 AM   #1
FreeArcher
LQ Newbie
 
Registered: Aug 2020
Posts: 27

Rep: Reputation: Disabled
Angry Doesn't work xfce4-xkb-plugin


Hi.
Slackware current doesn't have xfce4-xkb-plugin in its repository.
I built it myself. But xfce4-xkb-plugin does'n work. It does'n switch key layout.
However, command "setxkbmap -layout us" switches keylayout.

In Zenwalk xfce4-xkb-plugin is working.

What is the problem?
 
Old 01-16-2021, 05:24 AM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,454

Rep: Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211
Quote:
Originally Posted by FreeArcher View Post
I built it myself.
From what sources ?
Which version ?
 
Old 01-16-2021, 05:31 AM   #3
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,647

Rep: Reputation: 148Reputation: 148
You need this patch and recompile libxfceui with it applied. This should fix it.

https://gitlab.xfce.org/xfce/libxfce...5d66b6492f1a0c
 
Old 01-16-2021, 08:45 AM   #4
FreeArcher
LQ Newbie
 
Registered: Aug 2020
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by titopoquito View Post
You need this patch and recompile libxfceui with it applied. This should fix it.

https://gitlab.xfce.org/xfce/libxfce...5d66b6492f1a0c
Thank you.

I got patch and did
patch -p1 ./xfce-shortcuts-grabber.c ./27.diff
but without result...

After compiling switch key layout didn't work.

Maybe something else needs to be fixed?
 
Old 01-16-2021, 10:56 AM   #5
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,647

Rep: Reputation: 148Reputation: 148
I guess you restarted Xfce after recompiling libxfceui? Besides that I don't know. I had entries in /etc/X11/xorg.conf.d/90-keyboard-layout-evdev.conf and I could switch between the layouts. No clue otherwise.
 
Old 01-16-2021, 11:10 AM   #6
emidevices
Member
 
Registered: May 2016
Location: In a village of La Mancha
Distribution: Slackware, Devuan, NetBSD
Posts: 62

Rep: Reputation: Disabled
I confirm, the selected keyboard layout is only activated if this is the only one that exists in xfce keyboard config. If combined with en-US, it always takes en-US, no matter what order they appear
 
Old 01-16-2021, 11:26 AM   #7
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,647

Rep: Reputation: 148Reputation: 148
I configured Xfce under Settings -> Keyboard to use the system settings. In /etc/X11/xorg.conf.d/90-keyboard-layout-evdev.conf I have
Code:
Section "InputClass"
	Identifier "keyboard-all"
	MatchIsKeyboard "on"
	MatchDevicePath "/dev/input/event*"
	Driver "evdev"
	Option "XkbLayout" "de,en_US,dk"
	#Option "XkbVariant" ""
	Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Then of course libxfce4ui with the mentioned patch. This way it is working here. I cannot remember to have made any other change. If I type the key that is assigned on my German layout to "ö" and switch between the three layouts I am getting "ö;æ". In the settings of the plugin I have configured it to apply the layout globally (for all programs/windows).
 
Old 01-17-2021, 01:35 AM   #8
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by FreeArcher View Post
Hi.
Slackware current doesn't have xfce4-xkb-plugin in its repository.
I built it myself. But xfce4-xkb-plugin does'n work. It does'n switch key layout.
You don't really give enough information to be able to help, but I get the impression that you are not aware that the "semi-official" source for packages not included by default is Slackbuild.org. Ponce maintains a version of this for current and the plugin you are after is included in his repository. That repository should really be your first point of call.

If you are not familiar how to use these Slackbuilds it is worth looking at sbopkg.
 
Old 01-17-2021, 08:49 AM   #9
FreeArcher
LQ Newbie
 
Registered: Aug 2020
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by titopoquito View Post
I configured Xfce under Settings -> Keyboard to use the system settings. In /etc/X11/xorg.conf.d/90-keyboard-layout-evdev.conf I have
Code:
Section "InputClass"
	Identifier "keyboard-all"
	MatchIsKeyboard "on"
	MatchDevicePath "/dev/input/event*"
	Driver "evdev"
	Option "XkbLayout" "de,en_US,dk"
	#Option "XkbVariant" ""
	Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Then of course libxfce4ui with the mentioned patch. This way it is working here. I cannot remember to have made any other change. If I type the key that is assigned on my German layout to "ö" and switch between the three layouts I am getting "ö;æ". In the settings of the plugin I have configured it to apply the layout globally (for all programs/windows).
Thank you, it helped me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xfce4-pulseaudio-plugin doesn't work anymore gregors Slackware 3 03-24-2019 03:39 PM
Ctrl + E doesn't come through after modifying xkb symbols file Rebian Linux - Desktop 0 06-27-2016 11:44 PM
SlackWare 13.37 xfce + xkb-plugin == ctrl+alt+backspace not working FeyFre Slackware 8 01-25-2012 09:18 AM
[SOLVED] flash plugin for mozilla plugin doesn't work. raju.mopidevi SUSE / openSUSE 3 11-28-2009 07:25 AM
upgrade to slackware 12.2 + xfce4.6 (xfce4-power-manager doesn't work) zux Slackware 4 04-22-2009 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration