#12 Shortcuts

open
nobody
None
2
2005-05-28
2004-06-23
Yan
No

In xfwm4 wm there is the ability to configure custom
keyboard shortcuts. (As I guess almost each wm has such
thing).
So, it'll be very usefull if I'll get the ability to
set shortcuts for fbpanel application.

I'd like to set shortcut for launching "menu"
button..and "show desktop" button for example.

The work flow could be for example:
1. The shortcuts described in fbpanel's configuration file.
2. The wm on shortcut launch fbpanel with some flag,
"-s" for example.
3. fbpanel's code checks if other fbpanel instance
currently runs, if so, it sends some defined signal to
already running instance.
4. The previous instance of fbpanel catch the "shortcut
request" signal, checks the last keyboard state and
activates associated widget.

Thnx.
Yan.

Discussion

  • Anatoly Asviyan

    Anatoly Asviyan - 2004-10-12
    • assigned_to: nobody --> aanatoly
     
  • Anatoly Asviyan

    Anatoly Asviyan - 2004-10-12

    Logged In: YES
    user_id=638458

    Shortcuts will be nice. I'll put it at todo list

     
  • Anatoly Asviyan

    Anatoly Asviyan - 2005-05-28
    • priority: 5 --> 2
    • assigned_to: aanatoly --> nobody
     
  • Anatoly Asviyan

    Anatoly Asviyan - 2005-05-28

    Logged In: YES
    user_id=638458

    lowing priority since it will not be done soon. the reason
    is that I have to disable kbd focus in fbpanel and without
    it I will never know wether current keystroke belongs to
    fbpanel or not.

     
  • MOleg

    MOleg - 2005-10-04

    Logged In: YES
    user_id=1289748

    But maybe it could be done as external call ?
    For example, most of window mangers have keybindings, and
    execute shell commands. So maybe I could execute something like
    fpbanel --menu (or just -m)
    from window manager as a shellcommand, to open apps menu ?

     
  • Sy Ali

    Sy Ali - 2007-07-14

    Logged In: YES
    user_id=1735285
    Originator: NO

    Keybindings have nothing to do with the window manager or other applications. They are the responsibility of a separate shortcut manager.

    Many window managers make the mistake of bundling the code all together though.

    So, the correct way for fbpanel to implement this is what w_wolf mentioned.

    This item is obsoleted by [ 1754033 ] implement fbpanel plugin remote-controlling:
    http://sourceforge.net/tracker/index.php?func=detail&aid=1754033&group_id=66031&atid=513128

     

Log in to post a comment.