Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-03-17 18:03:49

tirengarfio
Member
Registered: 2012-09-21
Posts: 2

Close tasks with middle button of the mouse

hi,

i was wondering if was possible to close app prssing the middle button of the mouse.

So I find this: https://bugzilla.xfce.org/show_bug.cgi?id=8096

Do you know if this is implemmented in the last version of xfce? i have ubuntu 12.04 and xfce 4.8.

Javi

Offline

#2 2013-04-05 16:28:24

darius
Member
Registered: 2013-03-31
Posts: 32

Re: Close tasks with middle button of the mouse

Ive patched the xfce4-panel for you so just Download link xfce4-panel-4.8-mousepatch patch does not work awaitign word from author

open a terminal and compile it

cd Downloads
unzip -q xfce4-panel-4.8.6.zip
cd xfce4-panel-4.8.6
./configure
sudo make
sudo make install
dbus-send --print-reply --dest=org.xfce.Panel /org/xfce/Panel org.xfce.Panel.Terminate boolean:true

Last edited by darius (2013-04-07 14:22:59)

Offline

#3 2013-04-06 13:47:35

wkr
Member
Registered: 2011-01-01
Posts: 88

Re: Close tasks with middle button of the mouse

darius wrote:

Ive patched the xfce4-panel for you so just download xfce-panel-4.8-mousepatch

Is there one for 4.12 ?

Offline

#4 2013-04-06 19:50:28

darius
Member
Registered: 2013-03-31
Posts: 32

Re: Close tasks with middle button of the mouse

xfce4-panel was not updated in 4.12 yet !! so it still uses xfce4-panel-4.10 so Ive patched the xfce4-panel 4.10 use this

Download link xfce4-panel-4.10-mousepatch patch does not work awaitign word from author

cd Downloads
unzip -q xfce4-panel-4.10.zip
cd xfce4-panel-4.10
./configure
sudo make
sudo make install
dbus-send --print-reply --dest=org.xfce.Panel /org/xfce/Panel org.xfce.Panel.Terminate boolean:true

yet me know if you have any problems

Last edited by darius (2013-04-07 14:22:36)

Offline

#5 2013-04-07 09:37:20

wkr
Member
Registered: 2011-01-01
Posts: 88

Re: Close tasks with middle button of the mouse

Many thanks

I downloaded the file but got errors in "sudo make install" step.

 CC     libtasklist_la-tasklist-widget.lo
tasklist-widget.c: In function 'xfce_tasklist_class_init':
tasklist-widget.c:467:36: error: 'PROP_MIDDLE_BUTTON_CLOSE' undeclared (first use in this function)
tasklist-widget.c:467:36: note: each undeclared identifier is reported only once for each function it appears in
tasklist-widget.c: In function 'xfce_tasklist_get_property':
tasklist-widget.c:635:10: error: 'PROP_MIDDLE_BUTTON_CLOSE' undeclared (first use in this function)
tasklist-widget.c: In function 'xfce_tasklist_set_property':
tasklist-widget.c:709:10: error: 'PROP_MIDDLE_BUTTON_CLOSE' undeclared (first use in this function)
make[3]: *** [libtasklist_la-tasklist-widget.lo] Erreur 1 

Here is the full output of "sudo make install"

I use Xubuntu 12.04 with xfce 4.12 installed via ppa (xfce4-panel version :  4.10)

Offline

#6 2013-04-07 14:20:45

darius
Member
Registered: 2013-03-31
Posts: 32

Re: Close tasks with middle button of the mouse

looks like that patch is not 100% perfect according to the thread it was first posted on, it states that it works but ive just now tried to compile it on xfce4-panel 4.8 and 4.10 and neither compile properly

Ill email the creator that wrote the patch and see what is going on

sorry about that !!!

Last edited by darius (2013-04-07 14:25:20)

Offline

Board footer

Powered by FluxBB