From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 +HObNA/rWGPFWAAAbAwnHQ (envelope-from ) for ; Wed, 26 Oct 2022 10:08:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mHXNMw/rWGPzXAAAG6o9tA (envelope-from ) for ; Wed, 26 Oct 2022 10:08:47 +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 8B22D37708 for ; Wed, 26 Oct 2022 10:08:47 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onbRl-0003ST-Qq; Wed, 26 Oct 2022 04:07:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onbRh-0003D9-Ka for emacs-orgmode@gnu.org; Wed, 26 Oct 2022 04:07:30 -0400 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onbRe-0008UT-76 for emacs-orgmode@gnu.org; Wed, 26 Oct 2022 04:07:29 -0400 Received: by mail-lj1-x235.google.com with SMTP id s24so10223180ljs.11 for ; Wed, 26 Oct 2022 01:07:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=1XQ2mecKes692MCnzQwMo/RgXmjy5euvyQJPVdglMrc=; b=eqkR/wdRnjdEACqSg4ZomkoRFPnphRO1oH+eyCarFLL90Yfl0GSuxsvutVzfbA5sAa mhoWAj7jPP73MMq9O3QBI2lKb6cuxJsGgNzszHZEe9e/TMovAO2lntd6+gzqtDzQuqXb xHiPFlz3XpQ4dHeWLlPPNvzKgZJIuPLPr+rJdpiqhT4Vxnw2gCGHNO9Pq0AzYIJveNvx /t49ZL3u0HN4jfe+eGcg6FMO/TdOhdSAR+KDExc4ZIUSWLBCBr2FBH+TDS08+Mjo7eyq dfejWcvHe120esRzjcPFcuhSIgdQST/Re6v1VVXm5K0TGGfBotH4kbNYeAraK5EFGBEp Fe1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1XQ2mecKes692MCnzQwMo/RgXmjy5euvyQJPVdglMrc=; b=oqdITcAvCMtIv8UNqU9zok5HCb1RHzbBu2UBu5L4Lsi8/SleZq8qyiLQjRtAT/wtGo MGKHjae0RpHWElxz8Wi2z8WYj4oZaeKKDeo+Srk8YsU3JZUT6NhWfAGv8CgjYWRpaRHH 8tdnAsn8dsEbsglOn3GUsizyFmK7mzJQ/uYSf1cDNKGWC90b/TwyqvDIYvB/SEj2op+5 4mDnjVWkI5+tje3toaXNIlCZtgUMy5q8MceAuF8NWHvzm5BDyVRpce0+0CEANJ+9c7Qx 3yRA9GRBwRsfrswcq4zJlZrbUpMIFk1UsULL8AJKHJm+r1o3P9mPgw6Jnmfrdueyu8im 9Qqg== X-Gm-Message-State: ACrzQf0czCiGgw5HPmMA23q3k9KsqIXJbyXddLRPNUBhQi/hPuzuJwQp fLTH8zlx+PNTrCgkfHunI0Vo4/PFa/4jSk+FV9c= X-Google-Smtp-Source: AMsMyM6/TA3aL8lwBGIhGo2/+80VPas+uWb69pd1yzKr04a6+XL9YiGWNfUMox9xQTyjUTg6Ko+YrbMpOuISYy0MQMQ= X-Received: by 2002:a05:651c:542:b0:277:fb6:b88a with SMTP id q2-20020a05651c054200b002770fb6b88amr5033837ljp.208.1666771639198; Wed, 26 Oct 2022 01:07:19 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9a:4d08:0:b0:228:e569:9740 with HTTP; Wed, 26 Oct 2022 01:07:18 -0700 (PDT) In-Reply-To: References: <87tuw31iub.fsf@mm.st> <87r0zelo7e.fsf@posteo.net> <875yg7qiyb.fsf@localhost> From: Samuel Wales Date: Wed, 26 Oct 2022 01:07:18 -0700 Message-ID: Subject: Re: desktop notifications (Re: idea for capture anywhere in x) To: Max Nikulin Cc: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::235; envelope-from=samologist@gmail.com; helo=mail-lj1-x235.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 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666771727; 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=1XQ2mecKes692MCnzQwMo/RgXmjy5euvyQJPVdglMrc=; b=XT0sDL/o7JsMpOKx5notwTuLQ53TWbVlorKJ3goRkO7z2RcveI49bHokoz8Z5paekavJyA T4RQdBB7p1XJd4NT610HOtv4xXNmNeJNNeN1DujdsnItC+mVEr/Z1e4kIl7KofvurDJWdj 8IHeQBttvejd6HRsrSww19Uq2DL4ZP4+RVU3I//E2Bd5flj0KRaN5umw3ruISUBNE3Bd5Q bZIPLwpa3h1rygblFKeaybT8+cR9s/93kEAQ6HTrQFzqSqUamh/AihhkpLysfRoGsqgM6f GcqXKaIHgXWauxyH9i463oUK221JoXjN0o/7Qrn7402j7/2Ktz8vvfd4gfRNKA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666771727; a=rsa-sha256; cv=none; b=EiZUiU9SjTLKLNN05B99oZbcgAprSGtcmYkMKcodL1HlBHBYZJik3iEWLD2ZbCEbc5shc0 YzHNxqagitrUMvk8KZ+S9NlPIcH1QORnno4FVZUpT+c9ler6aIT/+CL5rn5pQ8P2hl9S+x IGsKerb6mjgNm/aGsnUNHYaf6MjMNRMuULc6ip9WLKZUoTFHXeiPBfcb70MIgbUIEIy2TJ 7sjuYh0/8GRVeXykq9GDMs0a69xWACiR0kheudPbxjqpS1Qnhc1l9UretRqvbBKRxNnXbo C0SS9EQ2kmYgBBk1jEwgH2BhyS7SxAb1+Drr8KP9rIWBBa7CYsrOpeC4JSVOag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="eqkR/wdR"; 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.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="eqkR/wdR"; 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: 8B22D37708 X-Spam-Score: -4.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: n1KCKC1Ot1p0 i called notify-send from the cli in emacs shell mode running bash, with emacs maximized as most of my apps are. in fluxbox terminology at least, maximized means takes up the whole screen. fullscreen would mean occupies the top. no text result and no gui result from notify-send. can dunst go away after a short period? i launch dbus manually as fluxbox is not a dm eval $(dbus-launch --sh-syntax --exit-with-session) for context, with org-capture firefox says captured briefly but that is no guarantee back from emacs which is why we are seeking confirmation; i used to think it meant that it was captured but when broken it id not capture. unfamiliar with notifications.el. if recommended i can look into it. plauing a sound would irritate me. On 10/26/22, Max Nikulin wrote: > On 26/10/2022 13:22, Samuel Wales wrote: >> i have the daemon and the binary but notify-send "summary" "text" >> seems to do nothing obvious. called from shell mode. my emacs is >> maximized. so is firefox. > > Does notify-send complain (with some delay) concerning timeout during > attempt to connect to d-bus? > > I have found an Eric's message recommending dunst as a notification > daemon for fluxbox. > > Firefox has a fallback implementation to display notifications in the > case of d-bus failure, so it is not the best app to test their appearance. > > Fluxbox released versions (e.g. from Debian and Ubuntu packages) has a > bug that may cause some applications, in particular Firefox, to be > displayed above other windows. So it may hide a notification window. > However if you have a terminal application in front of you, it should > not be your case. > > I am unsure if functions from notifications.el are better than > notify-send in respect to error reporting. > > Have you considered playing a tune as a notification? > > > > > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com