xffm and super_l

Bernhard Walle Bernhard.Walle at gmx.de
Mon Jun 16 22:50:46 CEST 2003


On Mon, 16 Jun 2003 at 15:39 (-0500), edscott wilson garcia wrote:
> El lun, 16-06-2003 a las 08:35, Bernhard Walle escribió:
> > On Mon, 16 Jun 2003 at 13:24 (-0500), edscott wilson garcia wrote:
> > > El dom, 15-06-2003 a las 09:56, Bernhard Walle escribió:
> > > > Hello,
> > > > 
> > > > xffm uses Super_L to change the icon view (getting smaller icons). I
> > > > think that's not a good idea, Super_L should be a modifier, shouldn't
> > > > it?
> > > 
> > > I believe gtk does not see it as a modifier, but I might be wrong. Try
> > > changing the code in file treeview.c to use it as a modifier and if you
> > > can make it work we can commit your changes.
> > 
> > Hm, I don't unterstand what you mean. I just want that Super_L alone
> > does noting, i. e. 
> > 
> >  line 508, 509  in treeview.c
> > 
> > should be commented out (you'll maybe need another keybinding for this).
> > Do you understand what I mean?
> 
> I understand: the new keybinding should be (Super_L|Super_R &
> other_key), to use Super_x as a modifier. But is that possible (to use
> Super_L|Super_R as modifiers) in GTK? I don't know. If it is not
> possible, the initial point makes no sense. If it is possible, then
> let's change it. (How?)

Super_L not directly, but it (normally) it is a modifier key: Mod3.

[~] $ xmodmap 
xmodmap:  up to 2 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x6f)
control     Control_L (0x25),  Control_R (0x6d)
mod1        Alt_L (0x40),  Alt_R (0x74)
mod2        Num_Lock (0x4d)
mod3        Super_L (0x73)
mod4      
mod5        Multi_key (0x75)

(Mod4 is normally Scroll_Lock but I don't use this.)

So: Just change the line mentioned above to

          case GDK_MOD3_MASK | GDK_A :

to use Super_L+a (just a example).

Are you the developer of xffm?


Gruss,
Bernhard

-- 
_________ http://www.bwalle.de _________________________________________________
Machine Always Crashes, If Not, The Operating System Hangs (MACINTOSH)
        -- Topic on #Linux



More information about the Xfce4-dev mailing list