Results 1 to 3 of 3

Thread: How to have a desktop launching VLC with parameterss

  1. #1
    Join Date
    Apr 2024
    Beans
    2

    How to have a desktop launching VLC with parameterss

    Hi everybody, thanks for your help
    I need to have on my Desktop a launch file for VLC with an IP adress (Camera)

    vlc rtsp://10.1.1.56:554

    This command line works fine like this on Terminal
    but when I put it as EXEC=VLC rtsp://10.1.1.56:554, only vlc runs and I have not the video from my camera.
    What am i doing wrong?
    Thanks

  2. #2
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How to have a desktop launching VLC with parameterss

    Quote Originally Posted by peterpan0011 View Post
    Code:
    EXEC=VLC rtsp://10.1.1.56:554
    Try changing that to
    Code:
    Exec=sh -c "VLC rtsp://10.1.1.56:554"
    That way it passes the whole command with the parameter list of what is contained within the quotation marks...

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  3. #3
    Join Date
    Apr 2024
    Beans
    2

    Re: How to have a desktop launching VLC with parameterss

    Thanks I'll try ASAP

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
  •