Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-05-07 02:30:40

bytesandbots
Member
Registered: 2015-05-07
Posts: 1

Custom action to display info as soon as typed in

I am trying to add some extra functionality in application finder.  I want to display some info as soon as user starts typing the query rather than the on pressing enter. Is this possible and how to do this?
I like to build some basic info such as calculator and dictionary and also some custom queries for me.

Offline

#2 2015-05-07 10:42:56

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: Custom action to display info as soon as typed in

bytesandbots wrote:

I am trying to add some extra functionality in application finder.  I want to display some info as soon as user starts typing the query rather than the on pressing enter. Is this possible and how to do this?

Can you be a little more specific about what you want to happen here? By default, in collapsed mode, the history is used to auto-complete as you type. In regular mode, as you type, the available applications are filtered out.

I like to build some basic info such as calculator and dictionary and also some custom queries for me.

Have a look here for someone else's python calculator custom action. For dictionary, you can use something like:
- Type = Prefix
- Pattern = @
- Command = xfce4-dict --dict %s
...then simply type "@word" to get a definition for that word to pop up in the xfce4-dict application.


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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 522.74 KiB (Peak: 530.06 KiB) ]