From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iLt4EXIf42LyfwAAbAwnHQ (envelope-from ) for ; Fri, 29 Jul 2022 01:44:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eE9FEXIf42IgLgAAauVa8A (envelope-from ) for ; Fri, 29 Jul 2022 01:44:50 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E88D8178B8 for ; Fri, 29 Jul 2022 01:44:47 +0200 (CEST) Received: from localhost ([::1]:45334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHDBP-0003Hd-3g for larch@yhetil.org; Thu, 28 Jul 2022 19:44:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHDAi-0003H4-5p for emacs-orgmode@gnu.org; Thu, 28 Jul 2022 19:44:04 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:35347) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHDAg-00008i-LX for emacs-orgmode@gnu.org; Thu, 28 Jul 2022 19:44:03 -0400 Received: by mail-pf1-x42c.google.com with SMTP id c139so3232859pfc.2 for ; Thu, 28 Jul 2022 16:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc; bh=DYptDPFhI6PtLsgmPmaUL5ZTQdJnz0hrt5vrcBs4KDQ=; b=YmniDB04r9Uol5aADCHPmcGb7kp8HQ7l6aCKX7sNfe1k9GmWI54v/cQjm/bsRQYJPQ Uc4H5awuTZMqlJhyYdlZZJ9i/eHbAKYoIl4Gl28bDqZ9wHGHUL6dUwfQdQNSxWsnTCJ3 ASvjZqysvfxixpgOA//KCbuhaoW0bfCe5iUQOGV6eDkBTeVqjRA2zhQRfapeupMYI2YQ GkaXcyJMqlxmP/E5XIoBnJWR6g9HqzumZGEFtV7IYWtu+B1eUO2Sp56MAXroteX1afAa 8x7M9xRVYqfCnClNYe/wtkXQNQh2mVKMa2GnPWgcQ5wgiOlsVMiSaiqD9LNo94yml1Kj Q9jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc; bh=DYptDPFhI6PtLsgmPmaUL5ZTQdJnz0hrt5vrcBs4KDQ=; b=wt4lfq+a1SdF8o2N5ne1ZkFqjhWUelLwphYIE8Ch6QR5mkj7WNumpW0XiIUljS+kmg M+SeturswucNYG4mceM6mZ2VKVjrZ3c1Z2k0eiYo9wA4RQJFIJ2VI715I2m7m/ssrnfH 0aOcEGlcFArfynfHB6w27Ql2J9RLJggl+YU1Z5lH511zfz03c+IYTS5eNTj54RaOVk5U u5nnWR0b162pyUhO7Y7ddli/LUK3gVcqj1elCTAEOroiUcQ5nXMCkL/q74gPrP6fD428 W9CavbqrFpyEZLd/m5xya/cfBurGfhHGQgklCl4NY9IuboChpDPKM64mS5mR5dxwCANG Z3ng== X-Gm-Message-State: AJIora8xLiIqXi7B3gH5m/Jbc5cCwggRIZvmMo7ci0CJkcAS+j2AjN5p 80+2z5nvUfk1Svoy46ouYMqM7X/n0a+1qw== X-Google-Smtp-Source: AGRyM1viKzuBB21WLm6jrFOPZjiQQjWA52EwRq0xX9plXucMINbqDX5xBSj/3JOHinY3JaU44jW/jA== X-Received: by 2002:a63:8743:0:b0:41b:c6c:dfe7 with SMTP id i64-20020a638743000000b0041b0c6cdfe7mr914666pge.96.1659051840515; Thu, 28 Jul 2022 16:44:00 -0700 (PDT) Received: from t480 (97-126-3-176.tukw.qwest.net. [97.126.3.176]) by smtp.gmail.com with ESMTPSA id 124-20020a620582000000b0052b29fd7982sm1348760pff.85.2022.07.28.16.43.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jul 2022 16:43:59 -0700 (PDT) References: <87iloexr88.fsf@t480.home> User-agent: mu4e 1.8.7; emacs 27.1 From: Ken Mankoff To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: Org links and Flatpak firefox Date: Thu, 28 Jul 2022 16:41:26 -0700 In-reply-to: Message-ID: <87a68s2474.fsf@t480.home> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=mankoff@gmail.com; helo=mail-pf1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659051888; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DYptDPFhI6PtLsgmPmaUL5ZTQdJnz0hrt5vrcBs4KDQ=; b=IFNtBiqiKAmHOrg4HEsPc0YpjSBvk+QS7VnWwDrCt8IiPa8oH5F/c/azjf4e/tYEMneLf7 j4sHRhgRMGO2ZpIxqa0ttbAnA6CJEZhyVLtIpsvwJm9RFG2AzFQg+O0OZTRTKuoiNHfi+o /yq44g1cBSKCc7Qwdsh7HsZsBO4GTo7NrcFPQlMCFqJWOBvb6XFaPt0wCcIXfGnjwNlcNe F09NyaVoysCX1AQlgtydOs+7xcik2lzjhJXNfwH9NQd7dssrylChQ2SVKc7nGfokw3ASha 3MPl5fmM61GLvInc3MQi14ysUKNMWXKNfTRFpjWNFAY3f0ZJNHPWvVO1qVUN6w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659051888; a=rsa-sha256; cv=none; b=r+diCTYjK6/jqGzUFwU80rRYStuDNXNDo315ytWg7L9ZRTV+8zZfkoHnXt31FbJkUg86Uq qN56fzV+kvf3PMWaX5Cg0M60nOd2upPRyxfch4bquxrQOai/7UbT69c2oSBs1Ql8nDYp9a jkGJwO2YaNMSgFcQ5pbQOath2v9nlUqAfAKdzzXsAKrcCn689lgPyDM+UlR7Em6d9qpS7W H/n4DwPPy9v3FZsEUiSikjHRmtJJvccbD+bSXR1gfcAL5dxh9WiG7aSYgr4/2CByWKkRhz Vgjs7edKnu5OaARPToU6DQD3zJbZzLSkuw14ef3zV5T01xjtdr+EDJqNXE0zLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YmniDB04; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.72 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YmniDB04; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E88D8178B8 X-Spam-Score: -4.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: hh+pj2j3wL71 Hi Max, Sorry for the delayed reply. On 2022-07-05 at 08:16 -07, Max Nikulin wrote: > On 03/07/2022 20:25, Ken Mankoff wrote: >> I had "browse-url-generic-program" set to a script that used xdotool >> to find if there was a firefox on this desktop, and then sent the URL >> there. xdotool doesn't play nice withe flatpak, and that was the >> problem. > > I am not an X11 expert but it sounds strange. The protocol is designed > to work across network, so it should not matter whether some > application is running from flatpak. May it happen that after upgrade > Wayland session is used instead of X11? Though in such case I would > expect that xdotool should be rather broken due to stricter security > model. As you suggested, the problem was not xdotool or X11. It was simply that instead of calling firefox "${1}" & to open the URL, I needed to call flatpak run org.mozilla.firefox "${1}" & > Out of curiosity, what is the reason why you are avoiding firefox as a > snap package? I'm not 100 % sure why but I don't like snap. Maybe because it pollutes the home folder. I read up on snap vs flatpak vs AppImage and flatpak seemed to get the best reviews, so I've gone with that one. -k.