LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-22-2006, 04:23 AM   #1
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 733
Blog Entries: 1

Rep: Reputation: 30
Nautilus: Open with Other Application... question


Anyone know how to get nautilus to open a file with this command "xine dvd:///filename"?
 
Old 12-22-2006, 05:01 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
so you have tried:

rt-click on file icon
select "open with another application"
select "custom command"
enter "xine dvd:///"
 
Old 12-22-2006, 11:43 PM   #3
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 733
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Unfortunately, I have tried that and it doesn't seem to work.
I also tried "xine dvd:///$@" without luck.
Thanks for you posting in Simon.
 
Old 12-23-2006, 12:18 AM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
What are you trying to achieve?
In what way is this failing?

You want xine to play (navigate) a dvd in the default dvd drive, that command is:
xine dvd://
 
Old 12-23-2006, 03:40 AM   #5
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 733
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Simon Bridge
What are you trying to achieve?
In what way is this failing?

You want xine to play (navigate) a dvd in the default dvd drive, that command is:
xine dvd://
Yeah, the two slashes (//) doesn't seem to be doing it either.
On the commandline I can start it like this "xine dvd:///filename.iso".
I think the problem is that nautilus is sending the command like this
"xine dvd:/// filename.iso" with a space before the filename. Xine is starting, but it appears that nautilus thinks "dvd:///" is a commandline option instead of attaching it directly to the front of the filename.

I wish I could solve this.
Thanks for you posting in Simon.
 
Old 12-23-2006, 04:17 AM   #6
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 733
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Solved: I changed a line in this file:
.local/share/applications/xine-usercreated.desktop:

From this:
Exec=xine dvd:/// %f

To this:
Exec=xine dvd:///%f

Just like I thought, it wasn't connecting the "dvd:///" to the filname. Works great now.

Last edited by Sepero; 12-23-2006 at 04:44 AM.
 
Old 12-23-2006, 04:37 PM   #7
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Yeah - it helps to state what you are trying to acheive... if you had told me you wanted to run video from an iso file I could have told you right away. (grumble)
 
Old 12-23-2006, 05:46 PM   #8
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 733
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Sorry, I just figured this might give that clue away "xine dvd:///filename".

Possibly suggesting that "filename" was actually a... dvd image?

Anyway, I do appreciate your help. Problem solved, Thanks.
 
  


Reply

Tags
arguments, program


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
Gconf Error : cannot open Nautilus Nasser Linux - Newbie 5 01-27-2008 08:04 AM
nautilus-open-terminal in reverse? TokyoYank Linux - Software 2 07-18-2006 02:37 AM
how do I open a nautilus window when I'm in a terminal cjennings Linux - General 2 07-27-2004 12:41 PM
Disabling display & Application Nautilus sumpter Linux - Newbie 0 09-18-2003 06:17 PM
Nautilus cannot open desktop launchers ptaylor Linux - General 2 01-05-2003 10:09 AM


All times are GMT -5. The time now is 07:27 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