LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-28-2009, 01:17 PM   #1
dombrowsky
Member
 
Registered: Dec 2005
Location: New York
Distribution: Debian/GNU
Posts: 235

Rep: Reputation: 31
any linux-desktop equivalent to the "start" command?


I recently moved back to an ubuntu desktop environment from a cygwin/windows desktop. The only real windows-y thing that I miss is the ability to type
Code:
cygstart .
to open up a windows explorer window from my CWD (for example, if I want to drag-drop a file into another application). The other very useful trick was the ability to type
Code:
cygstart foobar.pdf
and have the system open the PDF in whatever application the system has associated to open PDF files. Is there anything in the ubuntu desktop that has this feature? I've tried using the "nautilus" command, but that only opens a folder. I also don't think its designed to be used that way because it complains at length, like
Code:
(nautilus:18654): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
Initializing nautilus-gdu extension

** (nautilus:18654): WARNING **: No marshaller for signature of signal 'UploadFinished'

** (nautilus:18654): WARNING **: No marshaller for signature of signal 'DownloadFinished'

** (nautilus:18654): WARNING **: No marshaller for signature of signal 'ShareCreateError'
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
Any suggestions?
 
Old 12-28-2009, 02:46 PM   #2
vrmartin2
Member
 
Registered: Dec 2009
Location: NE Ohio
Distribution: Open SUSE
Posts: 43

Rep: Reputation: 19
you could try ...

You could try konqueror. Something like:

konqueror somefile.pdf > /dev/null 2>&1 &

konqueror somedir > /dev/null 2>&1 &

If you don't have it installed, Google for help.

Last edited by vrmartin2; 12-28-2009 at 02:49 PM. Reason: spelling
 
Old 12-28-2009, 04:51 PM   #3
ArfaSmif
Member
 
Registered: Oct 2008
Location: Brisbane Australia
Distribution: always back to Fedora
Posts: 241

Rep: Reputation: 50
It looks like you are using gnome desktop, so something like :-

gnome-open filename

will use the default gnome application.
 
1 members found this post helpful.
Old 01-15-2010, 08:42 AM   #4
dombrowsky
Member
 
Registered: Dec 2005
Location: New York
Distribution: Debian/GNU
Posts: 235

Original Poster
Rep: Reputation: 31
@ArfaSmif, thanks for the info. I knew there had to be a simple command to do it. I now have an equivalent script:

Code:
$ cat ~/bin/start
#!/bin/sh 

/usr/bin/gnome-open $* > /dev/null 2>&1
I don't like the fact that it hides errors, but gnome-open complains too much to keep them.
 
Old 01-16-2010, 12:54 AM   #5
ArfaSmif
Member
 
Registered: Oct 2008
Location: Brisbane Australia
Distribution: always back to Fedora
Posts: 241

Rep: Reputation: 50
You might want to change the name of your script because on my F12 system "start" is a symbolic link to "initctl". I don't know if this is the same on Debian.
 
  


Reply

Tags
nautilus, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SFTP equivalent of FTP's "quot" command. jrobins Linux - Networking 3 10-04-2008 11:29 AM
command in solaris which is equivalent to "smbstatus" of linux Nupur Singh Solaris / OpenSolaris 2 02-02-2006 12:25 PM
Linux equivalent for "makedevice" command gan_04 Programming 1 07-26-2005 09:05 AM
Linux equivalent to DOS "tree" command? XDude Linux - Newbie 9 03-24-2005 01:19 AM
equivalent of "what" shell command in Linux raees Linux - General 4 03-16-2004 08:59 AM


All times are GMT -5. The time now is 10:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration