Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-03-09 07:50:41

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

is there a plugin to click on your own command?

i found 3 plugins that looked like they could do command, based on name and/or description.  none let me enter my own command to be associated with a mouse click.  for now i am using launchers in the desktop and keyboard shortcuts.  but i would like to have a few clickable icons om the panel to run my commands (in a context that would allow whatever i run to open a window where i started it from.

Offline

#2 2019-03-09 12:58:34

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

Re: is there a plugin to click on your own command?

Have a look at the Generic Monitor (genmon) plugin. It can be configured to do that.

As an example, lets have a click open a thunar window.

  1. Add the Generic Monitor plugin to the panel

  2. Right-click it and select Properties

  3. Uncheck the "label" option

  4. If you want just clickable text displayed on the button, type the following in the command window:

    echo "<txt>thunar</txt><txtclick>thunar</txtclick>"

    ...the first instance of "thunar" is the label to display, the second instance is the command to run, Change them as required,

  5. If you want a clickable image instead, use the following:

    echo "<img>/path/to/image/file</img><click>thunar</click>"

    ...where "/path/to/image/file" is an actual image file on your computer.

  6. Click close.

Clicking on the plugin will now run thunar.


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-03-09 14:49:37

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

Re: is there a plugin to click on your own command?

"Generic Monitor" does not show up in the list of plugins i can add to the panel. "Indicator Plugin" immediately follows "Directory Menu"

Offline

#4 2019-03-09 16:01:22

Spass
Member
From: Poland
Registered: 2016-12-07
Posts: 133

Re: is there a plugin to click on your own command?

You can install it using sudo apt-get install xfce4-genmon-plugin
But Xenial has pretty old version of that plugin (3.4.0).

Offline

Board footer

Powered by FluxBB