From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Huchler Subject: Re: cant get org-protocol right Date: Tue, 05 Aug 2014 03:11:54 +0200 Message-ID: <87fvhbyc2t.fsf@mars.lan> References: <87lhr5xegr.fsf@mars.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XETIT-0008Ud-KH for emacs-orgmode@gnu.org; Mon, 04 Aug 2014 21:12:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XETIO-0008C2-7O for emacs-orgmode@gnu.org; Mon, 04 Aug 2014 21:12:13 -0400 Received: from plane.gmane.org ([80.91.229.3]:36691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XETIO-0008By-0d for emacs-orgmode@gnu.org; Mon, 04 Aug 2014 21:12:08 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XETIM-0005de-T4 for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 03:12:06 +0200 Received: from hsi-kbw-078-042-245-022.hsi3.kabel-badenwuerttemberg.de ([78.42.245.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Aug 2014 03:12:06 +0200 Received: from stefan.huchler by hsi-kbw-078-042-245-022.hsi3.kabel-badenwuerttemberg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Aug 2014 03:12:06 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org wow found a solution. I dont understand why I have to do that, but it seems firefox fucks up some path or other variables and because of that it doesnt find the standard server socket file so when I explizitly specifiy that in the org-protocol.desktop file, it works: [Desktop Entry] Name=org-protocol Exec=emacsclient -s /tmp/emacs1000/server %u Type=Application Terminal=false Categories=System; MimeType=x-scheme-handler/org-protocol; I have on suspition what else could be the problem here, I use psd, profile-sync-daemon: https://wiki.archlinux.org/index.php/Profile-sync-daemon so maybe that causes the problems with finding the server file in tmp, on the other hand epiphany doesnt has this problem, and psd is also activated on epiphany, so I am not shure happy that it works with firefox now. Would be nice if somebody could update the http://orgmode.org/worg/org-contrib/org-protocol.html site, the gnome instructions are for gnome 2, most people today use gnome 3, so u need such a desktop file and then call this command, u maybe dont need the "-s /tmp/emacs1000/server" part for other setups, but with or without it, both would be better than having nothing, I think with the -s... cant hurt, if u need it or not, in most cases it should work. btw I use i3, so its not only a gnome3 issue, I think even kde uses now this mechanism. When I look at teh kde setup instructions they used a similar desktop file at that time already. So I think thats no standardised with this desktop files.