Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-22-2012, 03:23 PM   #1
Registered: Jan 2011
Posts: 154

Rep: Reputation: 104Reputation: 104
Shift-Fn keys not recognized with GTK applications

Shift-Fn keys are not recognized with some applications in my Slackware current (RC5)

For example:
- Shift-F3 (find-previous) works as F3 (find-next) in some (GTK) editors (leafpad, SciTE) -- but it works correctly in Firefox

- In Terminal, define a shortcut F5 for 'show-toolbar' and Shift-F5 for 'show-menu-bar'. Then both F5 and Shift-F5 execute 'show-toolbar'.

I checked with xev, or some console or xlib apps (eg. mc) - the Shift-Fn keys are correctly recognized. Could it be a GTK problem?

It used to work correctly in 13.37.

I didn't find anything here, but after a bit of googling, I found this:

It points to a patch at - I have no idea if it could apply to -current.

Has anyone experienced the same issue in -current?

Old 09-22-2012, 05:30 PM   #2
Registered: Jan 2011
Posts: 154

Original Poster
Rep: Reputation: 104Reputation: 104
Originally Posted by philanc View Post
Shift-Fn keys are not recognized with some applications in my Slackware current (RC5)
I found more info at (see comment #25)

Apparently, just adding the two lines below to /etc/X11/xkb/types/pc fixes the issue:

--- pc.orig     2012-06-13 15:47:54.000000000 -0400
+++ pc  2012-09-22 18:23:32.000000000 -0400
@@ -65,6 +65,8 @@
         map[LevelThree] = Level3;
         map[Shift+LevelThree] = Level4;
        map[Control+Alt] = Level5;
+        preserve[Shift] = Shift;
+        preserve[Shift+LevelThree] = Shift;
         level_name[Level1] = "Base";
         level_name[Level2] = "Shift";
         level_name[Level3] = "Alt Base";



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Swapping PgUp and Shift Keys in Fedora 14 BarbieQ1 Linux - Laptop and Netbook 0 07-31-2011 11:05 PM
Remapping shift&ctrl keys kills key repetition nitro2k01 Linux - Desktop 2 02-13-2010 12:56 PM
Inhibit GTK verbose messages when running GTK/Gnome applications from terminal d1s4st3r Linux - Software 1 11-10-2009 10:33 PM
Shift-arrow and Alt-arrow keys don't work in xterm Aviv Hurvitz Linux - General 2 09-30-2006 03:43 PM
Shift+keypad keys... asqueella Linux - Newbie 3 04-19-2004 11:42 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:40 AM.

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