You are not logged in.

#1 2017-07-29 09:46:22

fl4m3ph03n1x
Member
Registered: 2017-07-27
Posts: 26

[SOLVED] How to use specific keyboard keys as shortcuts ?

I realized that there are a lot of default shortcut keys in bunsenLabs. I don't need all of them and so I figured I would change them.

After some research I found this article:
http://openbox.org/wiki/Help:Bindings

Which explains how I can manually set my own shortcut keys by change the rc.xml file.

So far so good, but I have a problem.
My keyboard, has extra special keys. It has a specific key to launch a web browser, a specific key to launch a media player, and so on....

The above instructions are fine if all you plan to do is to use the common set of keys all keyboards share, but my case is different.

How do I know which code corresponds to the special keys of my keyboard?

Last edited by fl4m3ph03n1x (2017-07-29 12:25:20)

Offline

#2 2017-07-29 10:46:14

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: [SOLVED] How to use specific keyboard keys as shortcuts ?

fl4m3ph03n1x wrote:

I realized that there are a lot of default shortcut keys in bunsenLabs. I don't need all of them and so I figured I would change them.

After some research I found this article:
http://openbox.org/wiki/Help:Bindings

Which explains how I can manually set my own shortcut keys by change the rc.xml file.

So far so good, but I have a problem.
My keyboard, has extra special keys. It has a specific key to launch a web browser, a specific key to launch a media player, and so on....

The above instructions are fine if all you plan to do is to use the common set of keys all keyboards share, but my case is different.

How do I know which code corresponds to the special keys of my keyboard?

1. Open a terminal, 2. Run xev, 3. Focus the appearing white window, 4. Type on the special keys. If they have keysymbols, they appear in the terminal output. For example, multimedia keys usually go by names like XF86XK_AudioLowerVolume, XF86XK_AudioRaiseVolume, XF86XK_LaunchA, XF86XK_Search, XF86XK_Explorer, XF86XK_MonBrightnessDown etc (examples from my laptop, you see the pattern). These are they key symbols you need to specify in the Openbox config.

Offline

#3 2017-07-29 12:25:00

fl4m3ph03n1x
Member
Registered: 2017-07-27
Posts: 26

Re: [SOLVED] How to use specific keyboard keys as shortcuts ?

This totally solved my problem, thanks !

Offline

Board footer

Powered by FluxBB