Results 1 to 1 of 1

Thread: [SOLVED] how to add - run movie on separate X screen - to "open with" menu in Na

  1. #1
    Join Date
    Apr 2006
    Beans
    14

    Question [SOLVED] how to add - run movie on separate X screen - to "open with" menu in Na

    Hello,

    I'd like to run videos fullscreen on my TV, configured as separate X screen. And I want launch it from other screen (monitor). It works OK with command:

    Code:
    DISPLAY=:0.1 kaffeine -f /home/video/movie.avi
    BUT. How I can add this command to the nautilus menu "open with"?

    I tried add DISPLAY=:0.1 kaffeine -f via file properties - open with - add, but nautilus response is "unable to find app DISPLAY=:0.1".
    I tried wrap this command to the "script", make it executable and add to the menu, but just kaffeine in fullscreen mode started on TV and no video.

    How do I pass argument with filename to the script? Or is there other way? Or...

    Thank you

    SOLVED

    ah. $1 did the trick
    Last edited by estevez; October 7th, 2008 at 08:18 PM. Reason: SOLVED

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •