The Artima Developer Community
Sponsored Link

Java Buzz Forum
[DISCUSS] Open appropriate GUI from terminal?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Weiqi Gao

Posts: 1808
Nickname: weiqigao
Registered: Jun, 2003

Weiqi Gao is a Java programmer.
[DISCUSS] Open appropriate GUI from terminal? Posted: Apr 14, 2008 7:51 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Weiqi Gao.
Original Post: [DISCUSS] Open appropriate GUI from terminal?
Feed Title: Weiqi Gao's Weblog
Feed URL: http://www.weiqigao.com/blog/rss.xml
Feed Description: Sharing My Experience...
Latest Java Buzz Posts
Latest Java Buzz Posts by Weiqi Gao
Latest Posts From Weiqi Gao's Weblog

Advertisement

This may be something that a casual GNOME user doesn't know.

A Sluug-discuss Thread (login is discuss/freely):
On 06:56 Mon 14 Apr, Weiqi Gao wrote:
> Nathan Neff wrote:
> > I'm running GNOME/Ubuntu.
> > 
> > Let's say I'm in a terminal, and want to open a PDF document, but don't 
> > know the name of the PDF reading program.
> > 
> > I can run "nautilus ." (don't forget the dot) and nautilus will start, 
> > pointing at the current working directory in the terminal.  You can then 
> > just double-click the file you want to open.
> > 
> > However, I'd like to avoid jumping to nautilus.
> > 
> > Is there a command that I can issue that will find the type of the file, 
> > and open it using the appropriate program?
> > 
> > In Windows, you can use the 'start' command, and I think in OSX you can 
> > use the 'open' command.
> 
> In GNOME, you can use the 'gnome-open' command from the command line. 
> It does the same thing that Nautilus does when you double click the file.

Cool! Is there an equivalent command for KDE?

-Jeff

I'd appreciate it if you can let me know what the corresponding command in KDE is.

(As I mentioned 609 days ago, in Cygwin the command is cygstart.)

Read: [DISCUSS] Open appropriate GUI from terminal?

Topic: First Steps in Eclipse Previous Topic   Next Topic Topic: Eclipse and Spring in Small Doses

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use