LinuxQuestions.org
Visit Jeremy's Blog.
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 05-29-2020, 05:06 PM   #1
tdmsoares
LQ Newbie
 
Registered: May 2020
Posts: 27

Rep: Reputation: Disabled
Right Control is acting as a forward slash /


I'm using Slackware 14.2 running XFCE in my computer. I've noticed that my right control key is behaving as a forward slash /
I tried:
  • Login as root and tried: KDE/XFCE/FluxBox, and so on, no problem (Right control works as a normal Control Key, as expected)
  • Login as my user and tried: KDE/FluxBox/BlackBox: no problem, except when I run XFCE

So, I suspect this is a problem in some XFCE config related to my user, but I don't know what is going on or even what place I can go to fix this problem.
 
Old 05-29-2020, 05:07 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Have you tried a different keyboard? A lot of times, these types of issues are hardware and not software.
 
Old 05-29-2020, 05:10 PM   #3
tdmsoares
LQ Newbie
 
Registered: May 2020
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Have you tried a different keyboard? A lot of times, these types of issues are hardware and not software.
No, it's the keyboard of the laptop.
IMHO, I don't think is a hardware issue, since in other users no problem and even in my user, only in XFCE the problem occurs
 
Old 05-29-2020, 07:57 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,339
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Maybe running xev in the different DEs/WMs will reveal what's going on differently amongst them.

See man xev for more.
 
Old 05-30-2020, 10:17 AM   #5
tdmsoares
LQ Newbie
 
Registered: May 2020
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Have you tried a different keyboard? A lot of times, these types of issues are hardware and not software.
Quote:
Originally Posted by frankbell View Post
Maybe running xev in the different DEs/WMs will reveal what's going on differently amongst them.

See man xev for more.
In xev I could see the difference
  • XFCE
Code:
keycode 105 (keysym 0x2f, slash)
  • Fluxbox
Code:
keycode 105 (keysym 0xffe4, CONTROL_R)
 
Old 05-30-2020, 12:56 PM   #6
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Have you looked into Settings>Keyboard>Layout?
 
Old 05-30-2020, 07:04 PM   #7
tdmsoares
LQ Newbie
 
Registered: May 2020
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
Have you looked into Settings>Keyboard>Layout?
Yes:
- Use System Defaults: False
- Keyboard Model: Generic 105-key (Intl) PC
- Change Layout option: Win Key + Space
- Compose Key: -
- Keyboard Layout: English (US) French (Azerty) Portuguese Brazil
 
Old 05-31-2020, 08:24 AM   #8
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
I have also seen this happen occasionally on my Slackware current system that uses xcb to remap the keyboard that runs XFCE; it disappears when I restart the GUI, which appears to be the only way to get rid of it once it appears.

The good news is that I'm pretty sure that it is not an hardware issue.
 
Old 05-31-2020, 07:09 PM   #9
tdmsoares
LQ Newbie
 
Registered: May 2020
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by moesasji View Post
I have also seen this happen occasionally on my Slackware current system that uses xcb to remap the keyboard that runs XFCE; it disappears when I restart the GUI, which appears to be the only way to get rid of it once it appears.

The good news is that I'm pretty sure that it is not an hardware issue.
Searching and reading man pages, I used xmodmap to change the Control_R key (keycode 105) from Slash to Control_R. It works fine. But only for a moment.
After a while my CTRL_R key behaves again as Slash
 
Old 06-01-2020, 03:55 AM   #10
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by tdmsoares View Post
Searching and reading man pages, I used xmodmap to change the Control_R key (keycode 105) from Slash to Control_R. It works fine. But only for a moment.
After a while my CTRL_R key behaves again as Slash
I suspect that you have a mistake in your xmodmap or config files somewhere, which is a pain to debug. Trying with a fresh user account (not root!) would be something I would try as a sanity check first as you might just have a left-over config that is conflicting.

btw) the way I could trigger the behavior is by remapping my keyboard twice with a different configuration (i noticed it when playing with a mirrored layout). It likely is a bug deep down in how xcb works which is painful. I now know how not to trigger it, which works for 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
Can't mount slash dev slash sr0 to mnt helmet1980 Linux - Software 2 04-17-2016 10:32 AM
Sound control not acting right der_11 Slackware 1 09-25-2007 02:25 PM
Script to convert DOS backslash to UNIX forward slash pro_chandan Linux - Software 1 10-24-2006 10:09 AM
forward slash being treated as escape character in shell? debiant Linux - General 1 07-19-2006 04:57 PM
Basic difference between / (slash) and /root (slash root) ? tofee Linux - Newbie 2 03-24-2006 04:04 AM

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

All times are GMT -5. The time now is 07:17 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