Removal of Control window

*nix specific usage questions
SD

Removal of Control window

Postby SD » 03 Dec 2005 16:36

Is there a way to open VLC without the control window. Keep only the video window?
:cry:

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 03 Dec 2005 20:48

Use 'vlc -I dummy' or 'vlc -I rc' or 'vlc -I http'

sborrill

Postby sborrill » 20 Dec 2005 14:34

Unfortunately, just using -I dummy or such like, keeps the vlc process running. It does not quit when you close the window. If you use -I dummy, then you don't have any interface and all you can do is Ctrl-C.

I've tried various things, but I've found no way to get vlc to quit when you close the window. vlc:quit on the playlist doesn't work as the previous playlist item hasn't completed.

fkuehne
Developer
Developer
Posts: 7275
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Postby fkuehne » 20 Dec 2005 17:17

As ipkiss pointed out, 'vlc -I rc' should do the job. It lets you quit, skip, jump to the next/previous item, etc. while playing a file.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

sborrill

Postby sborrill » 21 Dec 2005 09:39

But if you don't want to do that and you don't want to run it from a tty, you are stuffed. I just want to play a streaming video when a user clicks on an icon.

For instance, "vlc -I dummy udp:" will leave you with a dead background process if the window is closed. You need to find it and kill it. This seems like a bug to me.

"echo | vlc -I rc --rc-host 127.0.0.1:1000 --rc-fake-tty udp:" isn't really any better (the echo is to force it not to be a tty when testing from a command line). The process runs at 100% CPU unless there's a connection to the socket (the same is true of --rc-unix). This has been reported elsewhere on the forums, but there was no response.

The best I can come up with is to launch vlc with rc via a socket (as abive) and then immediately start a wrapper script to connect to that socket. The wrapper then has to watch out for hints like "status-change (stop state: 0)" and issue a quit. As you can guess, this is a hack. :-/


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 53 guests