Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-01-11 02:39:18

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 812

keyboard input processing

can Xfce intercept keyboard input and either carry out a specific action or modify the input?

Offline

#2 2019-01-11 14:54:06

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: keyboard input processing

Can you be more specific about what you are asking for? Possibly an example...


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2019-01-11 17:58:11

CwF
Member
Registered: 2018-01-28
Posts: 287

Re: keyboard input processing

Look at things like xbindkeys and xautomation

Offline

#4 2019-01-11 20:28:12

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 812

Re: keyboard input processing

ToZ wrote:

Can you be more specific about what you are asking for? Possibly an example...

i want to make some keys, or key combinations, do some specific things, like:
    1. Ctrl+Fn+f launches the firefox web browser.
    2. a double tap of Shift will cause the next character, if it is alphabetic, to be capitalized without this happening to any more.
i did see a way to make some keys do certain things, but it was rather limited.

Offline

#5 2019-01-11 20:44:48

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 812

Re: keyboard input processing

CwF wrote:

Look at things like xbindkeys and xautomation

it looks like a useful way to capture keypresses and run a script.  next i would like to have a way to input keypresses.  i would like to have a double press of the Shift key capitalize the next character only, if it is alphabetic.

Offline

#6 2019-01-12 13:09:31

alcornoqui
Member
Registered: 2014-07-28
Posts: 831

Re: keyboard input processing

Skaperen wrote:

    1. Ctrl+Fn+f launches the firefox web browser.

You can edit the shortcuts in Settings > Keyboard > Application Shortcuts tab. Although I'm not sure if it'll recognize the Fn key.

Skaperen wrote:

    2. a double tap of Shift will cause the next character, if it is alphabetic, to be capitalized without this happening to any more.
i did see a way to make some keys do certain things, but it was rather limited.

For this I've only found a couple of SO questions: One recommending to look into X Keyboard extensions, and other using an Autokey script.

Hope it helps.

Offline

#7 2019-01-12 19:16:06

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 812

Re: keyboard input processing

for 2. i was originally thinking of doing it as a kernel module.  i am expecting that the double tap is going to need some code added somewhere because it is new kind of logic although i did this ages ago in a terminal emulator i wrote.  as an alternative, maybe some new key can be made to do it.

Offline

Board footer

Powered by FluxBB