hyper-pane icon indicating copy to clipboard operation
hyper-pane copied to clipboard

Problems with Shortcuts on Linux

Open Atlas780 opened this issue 6 years ago • 10 comments

Hey, I have it installed on my Linux machine (Ubuntu 16.04 with GDM and XFCE) and I ran into a few problems. The shortcuts to change panes with arrows aren't working, even when i modify them od change the system defaults for switching desktops (occupie the hyper-pane ones). I cant get it working and I have no idea why. (also I saw that the pane inactivePaneOpacity is not working for me too, not that important, but may hint to the problem) ~BakaHubertus

Atlas780 avatar May 11 '18 12:05 Atlas780

Can you give me hyper and hyper-pane version ? (About box)

chabou avatar May 11 '18 14:05 chabou

Hyper 2.1.0-canary.1 (stable) Plugins: verminal (1.3.0), hyper-material-theme (2.0.6), hyper-pane (2.1.0)

Created by Guillermo Rauch Copyright © 2018 ZEIT, Inc.

Atlas780 avatar May 11 '18 14:05 Atlas780

I'm having the same issue on Mac 10.13.3. Arrow nor numbered keys are working for me.

Hyper 2.0.0
Plugins: 
  hyper-pane (2.1.3),
  hyper-oceanic-next (0.0.2)

chrisui avatar Jun 08 '18 10:06 chrisui

Hello,

I had the same problem on Arch linux - keybinding doesn't work. I changed keybinding and now it's working. For example 'meta+enter' for zoom didn't work so I replaced it by "shift+ctrl+x" (aka Terminator).

waldauf avatar Jul 30 '18 17:07 waldauf

I think that we need better default shortcuts for Linux

chabou avatar Dec 11 '18 16:12 chabou

I'm having the same issue, only number-jumping works for me.

Ubuntu 18.04
Hyper 3.0.2 (stable)
Plugins:
    hyper-pane (2.1.5)
    hyperpower (1.1.1)

x0zzz avatar Feb 09 '20 17:02 x0zzz

I was able to work around this issue by removing the Gnome key bindings for ctrl alt arrow keys as described here:

https://unix.stackexchange.com/questions/394143/how-to-disable-gnome-ctrlaltdown-and-ctrlaltup-shortcut/420395

jeffmcutter avatar May 03 '20 20:05 jeffmcutter

I had the same issue. I handle this by adding a custom panelNavigation config to overwrite the default hotkeys config.

config: {
paneNavigation: {
  debug: false,
  hotkeys: {
    navigation: {
      up: 'alt+up',
      down: 'alt+down',
      left: 'alt+left',
      right: 'alt+right'
    },
    jump_prefix: 'ctrl+alt', // completed with 1-9 digits
    permutation_modifier: 'shift', // Added to jump and navigation hotkeys for pane permutation
    maximize: 'meta+enter'
  },
  showIndicators: true, // Show pane number
  indicatorPrefix: '^⌥', // Will be completed with pane number
  indicatorStyle: { // Added to indicator <div>
    position: 'absolute',
    top: 0,
    left: 0,
    fontSize: '10px'
  },
  focusOnMouseHover: false,
  inactivePaneOpacity: 0.6 // Set to 1 to disable inactive panes dimming
},
};

jmedina2930 avatar May 08 '20 11:05 jmedina2930

I can confirm this issue with xfce. I tried multiple variations and ensured they were not in use by either the window manager nor the application runner. As reported before working with numbers is possible but all combinations with arrow keys + the maximize combination is not willing to work...

tuximail avatar Aug 12 '20 10:08 tuximail

I can confirm with issue with latest versions. Changing keybinds to something else fixes the issue. I'm including my own config if someone wants vim-like keys like me:

paneNavigation: {
            inactivePaneOpacity: 0.5,
            hotkeys: {
                navigation: {
                    left: 'ctrl+alt+h',
                    down: 'ctrl+alt+j',
                    up: 'ctrl+alt+k',
                    right: 'ctrl+alt+l',
                }
            }
        }

l-moveshelf avatar Dec 20 '21 10:12 l-moveshelf