From: Nobuko Three <nbko3@yahoo.com>
To: Help-gnu-emacs@gnu.org
Subject: start-process doesn't do gnome-open or xdg-open.
Date: Thu, 28 May 2009 04:36:41 -0700 (PDT) [thread overview]
Message-ID: <23760016.post@talk.nabble.com> (raw)
None of the following works as I expected.
;; 1. Try to open a png file with gnome-open from within emacs
(start-process "file-opening" "*file opening*" "gnome-open" "/t/e.m.png")
;; 2. ... with xdg-open.
(start-process "file-opening" "*file opening*" "xdg-open" "/t/e.m.png")
It just writes `Process file-opening finished' in the *file opening* buffer
and image viewer is not launched. How can I make this work?
They work in the shell. The image viewer, eog or Eye of Gnome, is launched
if I enter the following in a terminal:
$ gnome-open /t/e.m.png
$ xdg-open /t/e.m.png
start-process starts eog fine from the following code:
(start-process "file-opening" "*file opening*" "eog" "/t/e.m.png")
It also starts nautilus and gedit fine.
(start-process "file-opening" "*file opening*" "nautilus" "/home/")
(start-process "file-opening" "*file opening*" "gedit" "hello.txt")
--
View this message in context: http://www.nabble.com/start-process-doesn%27t-do-gnome-open-or-xdg-open.-tp23760016p23760016.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
reply other threads:[~2009-05-28 11:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23760016.post@talk.nabble.com \
--to=nbko3@yahoo.com \
--cc=Help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.