From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeff Kowalski Newsgroups: gmane.emacs.bugs Subject: bug#56013: 28.1; "gio open" and "xdg-open" fail silently under eshell Date: Wed, 15 Jun 2022 20:18:18 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007c441405e188175c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30344"; mail-complaints-to="usenet@ciao.gmane.io" To: 56013@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 16 08:27:27 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o1iyU-0007hJ-EQ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Jun 2022 08:27:26 +0200 Original-Received: from localhost ([::1]:52848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1iyT-0008Ah-1c for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Jun 2022 02:27:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1iy7-00089z-3x for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2022 02:27:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1iy6-0002AM-Rv for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2022 02:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o1iy6-0003iY-Ky for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2022 02:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jeff Kowalski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jun 2022 06:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56013 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165536081314264 (code B ref -1); Thu, 16 Jun 2022 06:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jun 2022 06:26:53 +0000 Original-Received: from localhost ([127.0.0.1]:40495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1ixv-0003hy-91 for submit@debbugs.gnu.org; Thu, 16 Jun 2022 02:26:52 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1g1j-0006wX-9C for submit@debbugs.gnu.org; Wed, 15 Jun 2022 23:18:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1g1j-0007UX-3V for bug-gnu-emacs@gnu.org; Wed, 15 Jun 2022 23:18:35 -0400 Original-Received: from mail-vs1-xe30.google.com ([2607:f8b0:4864:20::e30]:43804) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1g1f-0001N7-Ij for bug-gnu-emacs@gnu.org; Wed, 15 Jun 2022 23:18:34 -0400 Original-Received: by mail-vs1-xe30.google.com with SMTP id r4so66914vsf.10 for ; Wed, 15 Jun 2022 20:18:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=kdhXKYwvVhTbhf4F+YNj9rd72+e9Io/Nuc7mCdkRsZc=; b=LKW6VTsl8hS6fcDdHEOSm2+kSZxcZpDzItNS0y9+ul3iSRywxTwDPJK9s5vOhCdexe iK4T3prlcYY+Bkdmm1q31g2Rkkp1Crj/xZ52BZCy/GHbz8rqzIk7Q+WCeNRFpimxphB2 WidlmzoV4rp90sprNmajqJrhrNDpp9lHie3k0MEs/rN2tQF2M+Gb4S5s85KCH78DnQQx 0s9nRxR2OAuWa9EGk7qyVowY86k+Ga/9D8TZS8km/jfWsV8cp20ymm+pr/zuym8CBX9T ZXVf719CX8Wto0Bb+WeX+1ARD35qSKPiEeypkQ1A+gKR+SgDEKLzLJSpKWaDLxvkqZZg J3eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=kdhXKYwvVhTbhf4F+YNj9rd72+e9Io/Nuc7mCdkRsZc=; b=24jjh8a94v+Cn4mGLa8tRPEjFdhopEFN+ro9m14yCqLQRJt0A67VENcM1vsHDD6kCE bAxJffEnszqVsmYpY3Lvy+nv2vvZZsa23qFSRThIDf/qfIRO48rDI+yOw+i7PXeleucx TibWyINqiY+2SItB9TSGmxd90njlUslV8/hc/NggDqiGtHk04OtiSJiuvEbIkNMXKpIe XFU/g9odvjtaZkOTgZ0aP/KAADUACaeOjEYpakRKsimHmawR9h39qDNdoiuKHSll41LT /B6M0LgSNbeeeB/VQKcdKNsa3UZWpxUquGOvUNr+zOvLXyiWX1cHhf1zAIZAAaxmBxLp hWKQ== X-Gm-Message-State: AJIora8nufDUnWQ27V4ngmwskn8KcqY/IiVV3Xr4GypPGvO5/GCy8AXS W6O9lHfkezYNL73cjlUXV3Ie/ArtLNn653nnqGqI/TDzwIE= X-Google-Smtp-Source: AGRyM1uEpxPX0HwNqOfTEs9a9RrCqPSxPDB/sKprSfzOgy91llo/aSShR/ey9q7NuDSSF7f8a9nTJnnUD2uTgNcceiA= X-Received: by 2002:a05:6102:38ca:b0:34c:2402:1a20 with SMTP id k10-20020a05610238ca00b0034c24021a20mr1593470vst.83.1655349509373; Wed, 15 Jun 2022 20:18:29 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::e30; envelope-from=jeff.kowalski@gmail.com; helo=mail-vs1-xe30.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, HTML_MESSAGE=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-Mailman-Approved-At: Thu, 16 Jun 2022 02:26:50 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234621 Archived-At: --0000000000007c441405e188175c Content-Type: text/plain; charset="UTF-8" Setup: $ echo "Hello, world!" > /tmp/hello.txt Normal behavior: $ gnome-terminal ;; now within terminal $ gio open /tmp/hello.txt ;; GOOD RESULT - file is opened in app, as described by mime type. On my system, app is 'Xed' Emacs behavior: $ emacs -Q ;; now in emacs M-x eshell ;; now in eshell buffer $ gio open /tmp/hello.txt ;; BAD RESULT - nothing happens, app not opened, silent failure, nothing in message buffer $ xdg-open /tmp/hello.txt ;; BAD RESULT - nothing happens, app not opened, silent failure, nothing in message buffer I've tried making my $ENV identical between normal terminal and eshell, but I get the same results. Thanks for your help, Jeff Kowalski --------- In GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-05-30 built on lcy02-amd64-022 Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Linux Mint 20.3 Configured using: 'configure --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/28.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/28.1/site-lisp:/usr/share/emacs/site-lisp --program-suffix=28 --with-modules --with-file-notification=inotify --with-mailutils --with-harfbuzz --with-json --with-zlib --with-x=yes --with-x-toolkit=gtk3 --with-lcms2 --with-cairo --with-xpm=yes --with-gif=yes --with-gnutls=yes --with-jpeg=yes --with-png=yes --with-tiff=yes --with-xwidgets 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs28-jmphgn/emacs28-28.1~1.git5a223c7f2e=. -fstack-protector-strong -Wformat -Werror=format-security -no-pie' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -no-pie'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Info Minor modes in effect: minions-mode: t doom-modeline-mode: t dimmer-mode: t auto-dim-other-buffers-mode: t global-atomic-chrome-edit-mode: t org-super-agenda-mode: t global-git-commit-mode: t magit-auto-revert-mode: t global-rbenv-mode: t counsel-mode: t eshell-vterm-mode: t eshell-syntax-highlighting-global-mode: t cua-mode: t display-time-mode: t which-key-mode: t override-global-mode: t global-flycheck-mode: t global-hl-todo-mode: t which-function-mode: t key-chord-mode: t global-company-mode: t company-mode: t ivy-mode: t erc-truncate-mode: t erc-track-mode: t erc-spelling-mode: t editorconfig-mode: t global-diff-hl-mode: t winner-mode: t global-undo-tree-mode: t undo-tree-mode: t global-anzu-mode: t anzu-mode: t projectile-mode: t volatile-highlights-mode: t global-hl-line-mode: t super-save-mode: t windmove-mode: t recentf-mode: t savehist-mode: t save-place-mode: t show-smartparens-global-mode: t global-auto-revert-mode: t delete-selection-mode: t prelude-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/jeff/.emacs.d/elpa/git-modes-20220422.1611/gitignore-mode hides /home/jeff/.emacs.d/elpa/gitignore-mode-20210528.1856/gitignore-mode /home/jeff/.emacs.d/elpa/el-get-20211224.959/el-get-install hides /home/jeff/.emacs.d/elpa/load-relative-20201130.2202/el-get-install /home/jeff/.emacs.d/el-get/emacs-web-server/web-server-status-codes hides /home/jeff/.emacs.d/elpa/web-server-20210708.2242/web-server-status-codes /home/jeff/.emacs.d/el-get/emacs-web-server/web-server hides /home/jeff/.emacs.d/elpa/web-server-20210708.2242/web-server /home/jeff/.emacs.d/elpa/cmake-mode-20220322.1258/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /home/jeff/.emacs.d/elpa/clang-format-20191121.1708/clang-format hides /usr/share/emacs/site-lisp/clang-format/clang-format /home/jeff/.emacs.d/elpa/transient-20220527.2213/transient hides /usr/share/emacs/28.1/lisp/transient /home/jeff/.emacs.d/el-get/flymake/flymake hides /usr/share/emacs/28.1/lisp/progmodes/flymake Features: (shadow sort mail-extr emacsbug sendmail goto-addr esh-autosuggest em-unix em-script em-prompt em-ls em-hist em-pred em-glob em-cmpl em-dirs esh-var em-basic em-banner diary-lib diary-loaddefs cal-iso org-duration ffap ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader ol-docview ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi origami origami-parsers solarized-gruvbox-dark-theme solarized-palettes rainbow-mode rainbow-delimiters elisp-slime-nav personal mule-util company-ispell company-anaconda anaconda-mode pythonic minions doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons solarized-theme solarized solarized-faces dimmer auto-dim-other-buffers hydra atomic-chrome websocket bindat let-alist shackle trace org-ehtml org-ehtml-server ox-ehtml org-ehtml-util ox-org org-lint org-attach org-id org-protocol org-clock org-super-agenda ts htmlize org-habit ox-odt ox-latex ox-icalendar org-agenda ox-html table ox-ascii ox-publish ox org-indent ob-gnuplot ob-latex ob-dot ob-ruby ob-python ob-shell ace-window magit-bookmark magit-submodule magit-obsolete magit-popup magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode git-commit log-edit message rfc822 mml mml-sec epa gnus-util rmail rmail-loaddefs mm-decode mm-bodies mailabbrev mail-utils gmm-utils mailheader add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor server magit-mode transient magit-git magit-base magit-section crm compat-27 compat-26 platformio-mode async irony-eldoc irony-completion irony-snippet flycheck-irony irony-diagnostics irony irony-iotask realgud-byebug realgud:byebug-track-mode realgud:byebug-init realgud:byebug-core realgud-pry realgud:pry-track-mode realgud:pry-init realgud:pry-core realgud realgud-lang-java realgud-zshdb realgud:zshdb-track-mode realgud:zshdb-core realgud:zshdb-init realgud-trepan3k realgud:trepan3k-track-mode realgud:trepan3k-core realgud:trepan3k-init realgud-trepan2 realgud:trepan2-track-mode realgud:trepan2-core realgud:trepan2-init realgud-trepanpl realgud:trepanpl-track-mode realgud:trepanpl-core realgud:trepanpl-init realgud-trepanjs realgud:trepanjs-track-mode realgud:trepanjs-core realgud:trepanjs-init realgud-lang-js realgud-trepan realgud:trepan-track-mode realgud:trepan-core realgud:trepan-init realgud-remake realgud:remake-track-mode realgud:remake-core realgud:remake-init realgud-rdebug realgud-rdebug-track-mode realgud-rdebug-core realgud-rdebug-init realgud-lang-ruby realgud-perldb realgud:perldb-track-mode realgud:perldb-core realgud:perldb-init realgud-lang-perl realgud-pdb realgud:pdb-track-mode realgud:pdb-core realgud:pdb-init realgud-lang-python python-el-fgallina-expansions smartparens-python python tramp-sh realgud-kshdb realgud:kshdb-track-mode realgud:kshdb-core realgud:kshdb-init realgud-gub realgud:gub-track-mode realgud:gub-core realgud:gub-init realgud-gdb realgud:gdb-track-mode realgud:gdb-init realgud:gdb-core realgud-bashdb realgud:bashdb-track-mode realgud:bashdb-core realgud:bashdb-init realgud-lang-posix-shell realgud:run realgud-locals-mode realgud-breakpoint-mode realgud-backtrack-mode realgud-track-mode realgud-backtrace-mode realgud-track realgud-init realgud-file realgud-attach realgud-shortkey realgud-menu realgud-eval realgud-cmds realgud-core realgud-reset realgud-bp realgud-bp-image-data realgud-lang realgud-send realgud-window realgud-buffer-helper realgud-buffer-breakpoint realgud-buffer-backtrace realgud-locals realgud-buffer-locals realgud-utils realgud-buffer-command realgud-buffer-info realgud-regexp realgud-lochist realgud-loc realgud-buffer-source realgud-key realgud-custom key realgud-follow loc-changes realgud-fringe realgud-helper load-relative inf-ruby rbenv ruby-tools ruby-mode-expansions smartparens-ruby ruby-mode counsel xdg swiper smex ido cmake-mode smartparens-rst rst eshell-vterm em-term vterm face-remap term ehelp vterm-module term/xterm xterm em-smart eshell-syntax-highlighting em-alias esh-mode shrink-path fish-mode flycheck-plantuml plantuml-mode xml ob-plantuml graphviz-dot-mode doc-view jka-compr image-mode exif cperl-mode-expansions cperl-mode cua-base package-utils time ccls ccls-member-hierarchy ccls-inheritance-hierarchy ccls-call-hierarchy ccls-tree ccls-code-lens ccls-semantic-highlight ccls-common lsp-mode lsp-protocol spinner network-stream puny nsm rmc smartparens-markdown markdown-mode lv f f-shortdoc shortdoc epg rfc6068 epg-config which-key lpr use-package-chords bind-chord equake buffer-focus-hook org-capture-pop-frame org-capture org-refile web-server mm-encode web-server-content-types web-server-status-codes eshell-git-prompt s org-cua-dwim org-expiry el-get el-get-autoloading el-get-list-packages el-get-dependencies el-get-build el-get-status el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-go el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-notify el-get-emacsmirror el-get-github el-get-git el-get-elpa el-get-darcs el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get el-get-recipes el-get-byte-compile el-get-custom el-get-core autoload radix-tree validate req-package view req-package-cycles req-package-args req-package-hooks ht inline log4e use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key use-package-core prelude-yaml prelude-xml nxml-mode-expansions rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap html-mode-expansions sgml-mode facemenu dom nxml-util nxml-enc xmltok prelude-web web-mode-expansions smartparens-html web-mode disp-table prelude-shell sh-script smie executable prelude-ruby prelude-python prelude-perl prelude-org the-org-mode-expansions org-element avl-tree smartparens-org org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol org-keys oc org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs prelude-js js2-mode-expansions js2-mode js-mode-expansions smartparens-javascript js cc-mode-expansions smartparens-c cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs prelude-emacs-lisp prelude-lisp prelude-c prelude-programming flycheck find-func hl-todo compat compat-macs which-func prelude-key-chord key-chord prelude-company company-oddmuse company-keywords make-mode company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company prelude-ivy two-column ivy ivy-faces ivy-overlay colir color prelude-erc erc-truncate erc-track erc-match erc-autoaway erc-spelling erc-notify erc-networks erc-log erc-goodies erc erc-backend erc-loaddefs prelude-linux exec-path-from-shell prelude-global-keybindings warnings prelude-editor editorconfig editorconfig-core editorconfig-core-handle editorconfig-fnmatch operate-on-number calc-bin calc-ext calc calc-loaddefs calc-macs diff-hl smartrep log-view pcvs-util vc-dir ewoc vc vc-dispatcher diff-mode winner undo-tree diff queue eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util re-builder whitespace tabify browse-kill-ring derived midnight ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util dired-x dired dired-loaddefs anzu avy projectile lisp-mnt mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr grep compile ibuf-ext ibuffer ibuffer-loaddefs bookmark text-property-search expand-region text-mode-expansions er-basic-expansions expand-region-core expand-region-custom flyspell ispell rect etags fileloop generator xref project volatile-highlights hl-line super-save windmove recentf tree-widget savehist saveplace diminish smartparens-config smartparens-text smartparens advice dash autorevert filenotify delsel prelude-mode edmacro kmacro crux easy-mmode pcase tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ansi-color ring parse-time iso8601 time-date ls-lisp format-spec thingatpt imenu-anywhere imenu prelude-core epl prelude-ui zenburn-theme prelude-custom prelude-packages cl-extra help-mode finder-inf preload cus-edit pp cus-load wid-edit ede/auto eieio-base tex-site rx realgud-recursive-autoloads cl info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 2427653 696067) (symbols 48 85570 62) (strings 32 379359 114192) (string-bytes 1 10987724) (vectors 16 131074) (vector-slots 8 2422995 586466) (floats 8 1318 2569) (intervals 56 140887 10141) (buffers 992 28)) --0000000000007c441405e188175c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Setup:
$ echo "Hello, world!" > /tmp/hello= .txt

Normal behavior:
$ gnome-terminal
;; now within terminal<= br>$ gio open /tmp/hello.txt
;; GOOD RESULT - file is opened in app, as = described by mime type. On my system, app is 'Xed'

Emacs beh= avior:
$ emacs -Q
;; now in emacs
M-x eshell
;; now in eshell b= uffer
$ gio open /tmp/hello.txt
;; BAD RESULT - nothing happens, app = not opened, silent failure, nothing
in message buffer
$ xdg-open /tmp= /hello.txt
;; BAD RESULT - nothing happens, app not opened, silent failu= re, nothing
in message buffer

I've tried making my $ENV iden= tical between normal terminal and eshell,
but I get the same results.
Thanks for your help,
Jeff Kowalski
---------

In GNU Em= acs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version= 1.16.0)
=C2=A0of 2022-05-30 built on lcy02-amd64-022
Windowing syste= m distributor 'The X.Org Foundation', version 11.0.12013000
Syst= em Description: Linux Mint 20.3

Configured using:
=C2=A0'conf= igure --build=3Dx86_64-linux-gnu --prefix=3D/usr
=C2=A0'--includedir= =3D${prefix}/include' '--mandir=3D${prefix}/share/man'
=C2= =A0'--infodir=3D${prefix}/share/info' --sysconfdir=3D/etc --localst= atedir=3D/var
=C2=A0--disable-silent-rules '--libdir=3D${prefix}/lib= /x86_64-linux-gnu'
=C2=A0'--libexecdir=3D${prefix}/lib/x86_64-li= nux-gnu' --disable-maintainer-mode
=C2=A0--disable-dependency-tracki= ng --prefix=3D/usr --sharedstatedir=3D/var/lib
=C2=A0--libexecdir=3D/usr= /lib --localstatedir=3D/var/lib
=C2=A0--infodir=3D/usr/share/info --mand= ir=3D/usr/share/man
=C2=A0--enable-locallisppath=3D/etc/emacs:/usr/local= /share/emacs/28.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/ema= cs/28.1/site-lisp:/usr/share/emacs/site-lisp
=C2=A0--program-suffix=3D28= --with-modules --with-file-notification=3Dinotify
=C2=A0--with-mailutil= s --with-harfbuzz --with-json --with-zlib --with-x=3Dyes
=C2=A0--with-x-= toolkit=3Dgtk3 --with-lcms2 --with-cairo --with-xpm=3Dyes
=C2=A0--with-g= if=3Dyes --with-gnutls=3Dyes --with-jpeg=3Dyes --with-png=3Dyes
=C2=A0--= with-tiff=3Dyes --with-xwidgets 'CFLAGS=3D-g -O2
=C2=A0-fdebug-prefi= x-map=3D/build/emacs28-jmphgn/emacs28-28.1~1.git5a223c7f2e=3D. -fstack-prot= ector-strong
=C2=A0-Wformat -Werror=3Dformat-security -no-pie' '= CPPFLAGS=3D-Wdate-time
=C2=A0-D_FORTIFY_SOURCE=3D2' 'LDFLAGS=3D-= Wl,-Bsymbolic-functions -Wl,-z,relro
=C2=A0-no-pie''

Conf= igured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTIN= GS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FL= T MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOO= LKIT_SCROLL_BARS
X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB

Important se= ttings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-syste= m: utf-8-unix

Major mode: Info

Minor modes in effect:
=C2= =A0 minions-mode: t
=C2=A0 doom-modeline-mode: t
=C2=A0 dimmer-mode: = t
=C2=A0 auto-dim-other-buffers-mode: t
=C2=A0 global-atomic-chrome-e= dit-mode: t
=C2=A0 org-super-agenda-mode: t
=C2=A0 global-git-commit-= mode: t
=C2=A0 magit-auto-revert-mode: t
=C2=A0 global-rbenv-mode: t<= br>=C2=A0 counsel-mode: t
=C2=A0 eshell-vterm-mode: t
=C2=A0 eshell-s= yntax-highlighting-global-mode: t
=C2=A0 cua-mode: t
=C2=A0 display-t= ime-mode: t
=C2=A0 which-key-mode: t
=C2=A0 override-global-mode: t=C2=A0 global-flycheck-mode: t
=C2=A0 global-hl-todo-mode: t
=C2=A0= which-function-mode: t
=C2=A0 key-chord-mode: t
=C2=A0 global-compan= y-mode: t
=C2=A0 company-mode: t
=C2=A0 ivy-mode: t
=C2=A0 erc-tru= ncate-mode: t
=C2=A0 erc-track-mode: t
=C2=A0 erc-spelling-mode: t=C2=A0 editorconfig-mode: t
=C2=A0 global-diff-hl-mode: t
=C2=A0 win= ner-mode: t
=C2=A0 global-undo-tree-mode: t
=C2=A0 undo-tree-mode: t<= br>=C2=A0 global-anzu-mode: t
=C2=A0 anzu-mode: t
=C2=A0 projectile-m= ode: t
=C2=A0 volatile-highlights-mode: t
=C2=A0 global-hl-line-mode:= t
=C2=A0 super-save-mode: t
=C2=A0 windmove-mode: t
=C2=A0 recent= f-mode: t
=C2=A0 savehist-mode: t
=C2=A0 save-place-mode: t
=C2=A0= show-smartparens-global-mode: t
=C2=A0 global-auto-revert-mode: t
= =C2=A0 delete-selection-mode: t
=C2=A0 prelude-mode: t
=C2=A0 shell-d= irtrack-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t=C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mous= e-wheel-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode:= t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0= blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-enc= ryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 buffer-read-on= ly: t
=C2=A0 size-indication-mode: t
=C2=A0 column-number-mode: t
= =C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

Load-pat= h shadows:
/home/jeff/.emacs.d/elpa/git-modes-20220422.1611/gitignore-mo= de hides /home/jeff/.emacs.d/elpa/gitignore-mode-20210528.1856/gitignore-mo= de
/home/jeff/.emacs.d/elpa/el-get-20211224.959/el-get-install hides /ho= me/jeff/.emacs.d/elpa/load-relative-20201130.2202/el-get-install
/home/j= eff/.emacs.d/el-get/emacs-web-server/web-server-status-codes hides /home/je= ff/.emacs.d/elpa/web-server-20210708.2242/web-server-status-codes
/home/= jeff/.emacs.d/el-get/emacs-web-server/web-server hides /home/jeff/.emacs.d/= elpa/web-server-20210708.2242/web-server
/home/jeff/.emacs.d/elpa/cmake-= mode-20220322.1258/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode/home/jeff/.emacs.d/elpa/clang-format-20191121.1708/clang-format hides /u= sr/share/emacs/site-lisp/clang-format/clang-format
/home/jeff/.emacs.d/e= lpa/transient-20220527.2213/transient hides /usr/share/emacs/28.1/lisp/tran= sient
/home/jeff/.emacs.d/el-get/flymake/flymake hides /usr/share/emacs/= 28.1/lisp/progmodes/flymake

Features:
(shadow sort mail-extr emac= sbug sendmail goto-addr esh-autosuggest
em-unix em-script em-prompt em-l= s em-hist em-pred em-glob em-cmpl
em-dirs esh-var em-basic em-banner dia= ry-lib diary-loaddefs cal-iso
org-duration ffap ol-eww eww url-queue mm-= url ol-rmail ol-mhe ol-irc
ol-info ol-gnus nnselect gnus-search eieio-op= t speedbar ezimage dframe
gnus-art mm-uu mml2015 mm-view mml-smime smime= dig gnus-sum shr kinsoku
svg gnus-group gnus-undo gnus-start gnus-dbus = dbus gnus-cloud nnimap
nnmail mail-source utf7 netrc nnoo gnus-spec gnus= -int gnus-range
gnus-win gnus nnheader ol-docview ol-bibtex ol-bbdb ol-w= 3m ol-doi
org-link-doi origami origami-parsers solarized-gruvbox-dark-th= eme
solarized-palettes rainbow-mode rainbow-delimiters elisp-slime-navpersonal mule-util company-ispell company-anaconda anaconda-mode
pytho= nic minions doom-modeline doom-modeline-segments doom-modeline-env
doom-= modeline-core all-the-icons all-the-icons-faces data-material
data-weath= ericons data-octicons data-fileicons data-faicons
data-alltheicons solar= ized-theme solarized solarized-faces dimmer
auto-dim-other-buffers hydra= atomic-chrome websocket bindat let-alist
shackle trace org-ehtml org-eh= tml-server ox-ehtml org-ehtml-util ox-org
org-lint org-attach org-id org= -protocol org-clock org-super-agenda ts
htmlize org-habit ox-odt ox-late= x ox-icalendar org-agenda ox-html table
ox-ascii ox-publish ox org-inden= t ob-gnuplot ob-latex ob-dot ob-ruby
ob-python ob-shell ace-window magit= -bookmark magit-submodule
magit-obsolete magit-popup magit-blame magit-s= tash magit-reflog
magit-bisect magit-push magit-pull magit-fetch magit-c= lone magit-remote
magit-commit magit-sequence magit-notes magit-worktree= magit-tag
magit-merge magit-branch magit-reset magit-files magit-refs m= agit-status
magit magit-repos magit-apply magit-wip magit-log magit-diff= smerge-mode
git-commit log-edit message rfc822 mml mml-sec epa gnus-uti= l rmail
rmail-loaddefs mm-decode mm-bodies mailabbrev mail-utils gmm-uti= ls
mailheader add-log magit-core magit-autorevert magit-margin
magit-= transient magit-process with-editor server magit-mode transient
magit-gi= t magit-base magit-section crm compat-27 compat-26
platformio-mode async= irony-eldoc irony-completion irony-snippet
flycheck-irony irony-diagnos= tics irony irony-iotask realgud-byebug
realgud:byebug-track-mode realgud= :byebug-init realgud:byebug-core
realgud-pry realgud:pry-track-mode real= gud:pry-init realgud:pry-core
realgud realgud-lang-java realgud-zshdb re= algud:zshdb-track-mode
realgud:zshdb-core realgud:zshdb-init realgud-tre= pan3k
realgud:trepan3k-track-mode realgud:trepan3k-core realgud:trepan3k= -init
realgud-trepan2 realgud:trepan2-track-mode realgud:trepan2-corerealgud:trepan2-init realgud-trepanpl realgud:trepanpl-track-mode
realg= ud:trepanpl-core realgud:trepanpl-init realgud-trepanjs
realgud:trepanjs= -track-mode realgud:trepanjs-core realgud:trepanjs-init
realgud-lang-js = realgud-trepan realgud:trepan-track-mode
realgud:trepan-core realgud:tre= pan-init realgud-remake
realgud:remake-track-mode realgud:remake-core re= algud:remake-init
realgud-rdebug realgud-rdebug-track-mode realgud-rdebu= g-core
realgud-rdebug-init realgud-lang-ruby realgud-perldb
realgud:p= erldb-track-mode realgud:perldb-core realgud:perldb-init
realgud-lang-pe= rl realgud-pdb realgud:pdb-track-mode realgud:pdb-core
realgud:pdb-init = realgud-lang-python python-el-fgallina-expansions
smartparens-python pyt= hon tramp-sh realgud-kshdb
realgud:kshdb-track-mode realgud:kshdb-core r= ealgud:kshdb-init
realgud-gub realgud:gub-track-mode realgud:gub-core re= algud:gub-init
realgud-gdb realgud:gdb-track-mode realgud:gdb-init realg= ud:gdb-core
realgud-bashdb realgud:bashdb-track-mode realgud:bashdb-core=
realgud:bashdb-init realgud-lang-posix-shell realgud:run
realgud-loc= als-mode realgud-breakpoint-mode realgud-backtrack-mode
realgud-track-mo= de realgud-backtrace-mode realgud-track realgud-init
realgud-file realgu= d-attach realgud-shortkey realgud-menu realgud-eval
realgud-cmds realgud= -core realgud-reset realgud-bp realgud-bp-image-data
realgud-lang realgu= d-send realgud-window realgud-buffer-helper
realgud-buffer-breakpoint re= algud-buffer-backtrace realgud-locals
realgud-buffer-locals realgud-util= s realgud-buffer-command
realgud-buffer-info realgud-regexp realgud-loch= ist realgud-loc
realgud-buffer-source realgud-key realgud-custom key rea= lgud-follow
loc-changes realgud-fringe realgud-helper load-relative inf-= ruby rbenv
ruby-tools ruby-mode-expansions smartparens-ruby ruby-mode co= unsel xdg
swiper smex ido cmake-mode smartparens-rst rst eshell-vterm em= -term
vterm face-remap term ehelp vterm-module term/xterm xterm em-smart=
eshell-syntax-highlighting em-alias esh-mode shrink-path fish-mode
f= lycheck-plantuml plantuml-mode xml ob-plantuml graphviz-dot-mode
doc-vie= w jka-compr image-mode exif cperl-mode-expansions cperl-mode
cua-base pa= ckage-utils time ccls ccls-member-hierarchy
ccls-inheritance-hierarchy c= cls-call-hierarchy ccls-tree ccls-code-lens
ccls-semantic-highlight ccls= -common lsp-mode lsp-protocol spinner
network-stream puny nsm rmc smartp= arens-markdown markdown-mode lv f
f-shortdoc shortdoc epg rfc6068 epg-co= nfig which-key lpr
use-package-chords bind-chord equake buffer-focus-hoo= k
org-capture-pop-frame org-capture org-refile web-server mm-encode
w= eb-server-content-types web-server-status-codes eshell-git-prompt s
org-= cua-dwim org-expiry el-get el-get-autoloading el-get-list-packages
el-ge= t-dependencies el-get-build el-get-status el-get-methods
el-get-fossil e= l-get-svn el-get-pacman el-get-github-zip
el-get-github-tar el-get-http-= zip el-get-http-tar el-get-hg el-get-go
el-get-git-svn el-get-fink el-ge= t-emacswiki el-get-http el-get-notify
el-get-emacsmirror el-get-github e= l-get-git el-get-elpa el-get-darcs
el-get-cvs el-get-bzr el-get-brew el-= get-builtin el-get-apt-get
el-get-recipes el-get-byte-compile el-get-cus= tom el-get-core autoload
radix-tree validate req-package view req-packag= e-cycles req-package-args
req-package-hooks ht inline log4e use-package = use-package-ensure
use-package-delight use-package-diminish use-package-= bind-key bind-key
use-package-core prelude-yaml prelude-xml nxml-mode-ex= pansions rng-nxml
rng-valid rng-loc rng-uri rng-parse nxml-parse rng-mat= ch rng-dt rng-util
rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap html-= mode-expansions
sgml-mode facemenu dom nxml-util nxml-enc xmltok prelude= -web
web-mode-expansions smartparens-html web-mode disp-table prelude-sh= ell
sh-script smie executable prelude-ruby prelude-python prelude-perlprelude-org the-org-mode-expansions org-element avl-tree smartparens-org<= br>org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnoteorg-src ob-comint org-pcomplete org-list org-faces org-entities noutlineoutline org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic
b= ibtex ol org-keys oc org-compat org-macs org-loaddefs cal-menu calendar
= cal-loaddefs prelude-js js2-mode-expansions js2-mode js-mode-expansions
= smartparens-javascript js cc-mode-expansions smartparens-c cc-mode
cc-fo= nts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-de= fs prelude-emacs-lisp prelude-lisp prelude-c prelude-programming
flychec= k find-func hl-todo compat compat-macs which-func
prelude-key-chord key-= chord prelude-company company-oddmuse
company-keywords make-mode company= -etags company-gtags
company-dabbrev-code company-dabbrev company-files = company-clang
company-capf company-cmake company-semantic company-templa= te
company-bbdb company prelude-ivy two-column ivy ivy-faces ivy-overlay=
colir color prelude-erc erc-truncate erc-track erc-match erc-autoawayerc-spelling erc-notify erc-networks erc-log erc-goodies erc erc-backend<= br>erc-loaddefs prelude-linux exec-path-from-shell
prelude-global-keybin= dings warnings prelude-editor editorconfig
editorconfig-core editorconfi= g-core-handle editorconfig-fnmatch
operate-on-number calc-bin calc-ext c= alc calc-loaddefs calc-macs diff-hl
smartrep log-view pcvs-util vc-dir e= woc vc vc-dispatcher diff-mode
winner undo-tree diff queue eshell esh-cm= d esh-ext esh-opt esh-proc
esh-io esh-arg esh-module esh-groups esh-util= re-builder whitespace
tabify browse-kill-ring derived midnight ediff ed= iff-merg ediff-mult
ediff-wind ediff-diff ediff-help ediff-init ediff-ut= il dired-x dired
dired-loaddefs anzu avy projectile lisp-mnt mail-parse = rfc2231 rfc2047
rfc2045 mm-util ietf-drums mail-prsvr grep compile ibuf-= ext ibuffer
ibuffer-loaddefs bookmark text-property-search expand-region=
text-mode-expansions er-basic-expansions expand-region-core
expand-r= egion-custom flyspell ispell rect etags fileloop generator xref
project = volatile-highlights hl-line super-save windmove recentf
tree-widget save= hist saveplace diminish smartparens-config
smartparens-text smartparens = advice dash autorevert filenotify delsel
prelude-mode edmacro kmacro cru= x easy-mmode pcase tramp tramp-loaddefs
trampver tramp-integration files= -x tramp-compat shell pcomplete comint
ansi-color ring parse-time iso860= 1 time-date ls-lisp format-spec
thingatpt imenu-anywhere imenu prelude-c= ore epl prelude-ui zenburn-theme
prelude-custom prelude-packages cl-extr= a help-mode finder-inf preload
cus-edit pp cus-load wid-edit ede/auto ei= eio-base tex-site rx
realgud-recursive-autoloads cl info package browse-= url url url-proxy
url-privacy url-expand url-methods url-history url-coo= kie url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-se= q eieio
eieio-core cl-macs eieio-loaddefs password-cache json subr-x map=
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib=
iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hookslisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dndtool-bar dnd fontset image regexp-opt fringe tabulated-list replace
ne= wcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rf= n-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-l= ock syntax font-core term/tty-colors frame minibuffer cl-generic
cham ge= orgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean = japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european et= hiopic indian cyrillic chinese composite emoji-zwj charscript
charprop c= ase-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded= nadvice button loaddefs faces cus-face macroexp files
window text-prope= rties overlay sha1 md5 base64 format env code-pages
mule custom widget h= ashtable-print-readable backquote threads
xwidget-internal dbusbind inot= ify lcms2 dynamic-setting
system-font-setting font-render-setting cairo = move-toolbar gtk x-toolkit
x multi-tty make-network-process emacs)
Memory information:
((conses 16 2427653 696067)
=C2=A0(symbols 48 8= 5570 62)
=C2=A0(strings 32 379359 114192)
=C2=A0(string-bytes 1 10987= 724)
=C2=A0(vectors 16 131074)
=C2=A0(vector-slots 8 2422995 586466)<= br>=C2=A0(floats 8 1318 2569)
=C2=A0(intervals 56 140887 10141)
=C2= =A0(buffers 992 28))
--0000000000007c441405e188175c--