[SOLVED] xfrun4/xfce4-appfinder launches very slowly
xfrun4 is a little Xfce program that allows to run commands, without having to open a terminal window. Since Xfce 4.10 it also works as a application launcher.
It is summoned using Alt+F2
, and usually it pops right up, but lately it takes several seconds, sometimes almost a minute, to open.
When trying to run it from the terminal, it prints this error:
(xfrun4:6232): xfce4-appfinder-CRITICAL **: Failed to open window: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
This bug has been reported and there's a workaround: use the --disable-server
option.
Fix
So to fix this we'll replace the command for the Alt+F2
shortcut with "xfrun4 --disable-server
". Open a terminal window and run:
xfconf-query -c xfce4-keyboard-shortcuts -p '/commands/custom/<Alt>F2' -s "xfrun4 --disable-server"
Seems like the <Alt> disappeared from after F2
ReplyDeleteYes, thanks. It is now fixed.
DeleteThanks! Works like a charm, now!
ReplyDeleteBut what exactly are we missing without the server stuff?
Glad that helped.
DeleteWith this option xfrun4 won't become a D-Bus service (inter-process communication between applications). As a user I never missed this functionality.
Yup, thanks! Much less frustrating when things work like they used to :)
ReplyDeleteYou're welcome.
DeleteThanks for this. I noticed this problem appears for me after I replaced xfwm with the gala window manager, with this workaround it works normally again!
ReplyDeleteYou're welcome!
DeleteIt worked :-)
ReplyDeleteThanks.
You're welcome!
DeleteThanks a lot for this!
ReplyDeletePretty good!
ReplyDeleteThanks!
Winning, thanks!
ReplyDeleteAwesome. Thanks!
ReplyDeleteAfter over 1 year it's still solution, thanks!
ReplyDeleteFantastic!
ReplyDeleteTanks so much.
thanks ,you are my new hero! +10 karma points your way
ReplyDeleteFollowing,
ReplyDeletexfconf-query -c xfce4-keyboard-shortcuts -p '/commands/custom/F3' -s "xfce4-appfinder --disable-server"
Thank you :-)
ReplyDeletethank's
ReplyDeleteKilling the deamonized thread (killall -9 xfrun4) solved the problem for me.
ReplyDeleteThanks, it just works!!
ReplyDeleteThanks, it woked for me, 15.05.2015
ReplyDeleteIt's amazing that we are almost in 2016 and this is still an issue.
ReplyDeleteThanks for the post, it works, although if you manually click on the menu it obviously still takes ages.
Awesome! (Yes, still an issue)
ReplyDelete