* start-process doesn't do gnome-open or xdg-open.
@ 2009-05-28 11:36 Nobuko Three
0 siblings, 0 replies; only message in thread
From: Nobuko Three @ 2009-05-28 11:36 UTC (permalink / raw)
To: Help-gnu-emacs
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-28 11:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-28 11:36 start-process doesn't do gnome-open or xdg-open Nobuko Three
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.