You are not logged in.

#1 2020-06-18 14:26:41

mkru
Member
Registered: 2019-12-21
Posts: 5

ksuperkey in Openbox does not work after start

I have added ksuperkey to .config/openbox/autostart.sh to be able to launch rofi with Super_L key.
Generally it works, however, I have realized that after boot I first need to open some window, because pressing Super_L does nothing, rofi is not launched (or at least does not appear on the screen).
This is annoying, because when I want to launch some GUI application after start I first need to start some application that has dedicated shortcut (for example terminal), then press Super_L (now rofi appears) and start GUI application.
Does anyone know what might be going on?

Offline

#2 2020-06-18 14:34:26

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: ksuperkey in Openbox does not work after start

From what I just read on ksuperkey, it does not launch programs as you are describing, but rather emits a different customizable key event when the super key is pressed and released.  What key have you configured it to emit?  How has that key been bound to launch rofi?  If this is in your openbox rc.xml, please post that file (actually post it either way).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2020-06-18 16:03:25

mkru
Member
Registered: 2019-12-21
Posts: 5

Re: ksuperkey in Openbox does not work after start

Yes, you are right, I just used some shortcuts to describe the problem, my bad.
So, in autostart.sh I have

ksuperkey &

what should emits Alt_L|F1.
In rc.xml I have

    <!-- Keybinding for ksuperkey -->
    <keybind key="A-F1">
      <action name="Execute">
        <command>rofi -show drun</command>
      </action>
    </keybind>

Last edited by mkru (2020-06-18 16:12:33)

Offline

Board footer

Powered by FluxBB