--
--
You received this message because you are subscribed to the Google Groups Vinux Support Forum.
To post to this group, send email to vinux-...@googlegroups.com.
To unsubscribe from this group, send email to vinux-suppor...@googlegroups.com.
For more options, visit this group at: http://groups.google.com/group/vinux-support?hl=en
Vinux Home Page: http://vinuxproject.org/
Vinux Virtual Edition: http://virtual.vinuxproject.org/
Vinux Wiki Documentation: http://wiki.vinuxproject.org/
---
You received this message because you are subscribed to the Google Groups "The Vinux Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vinux-suppor...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I assume you have tried reading the manual.
man vlc
And
info vlc
Thed do this.
sudo killall vlc
David
If you ron vlc in terminal, it starts vlc gui.
I think if you start vlc in condole it might start vlc-nox, but perhapd not.
I know mplayer works like that.
Yes you need to sudo to use killall command.
David
You'd need to be root to kill a media player?
I wasn't thinking so much as it's true that kiilall works for GUI programs, and I guess vlc launches the GUI even when started in a console?
There's bound to be a command to kill the program natively though, and if it does start the gui when run from the commandline as I think it would, there's probably a keyboard shortcut you can run when in the vlc window.
--
B. Henry
*follow me on Twitter @BurtHenry
*connect on *GTalk or *AIM
(this address)
*Yahoo
burt1iband
(&I'm on *FaceBook)
ý?????ý?????ý?????ý?????ý?????ý?????ný?????
To unsubscribe from this group, send email to vinux-support+unsubscribe@googlegroups.com.
For more options, visit this group at: http://groups.google.com/group/vinux-support?hl=en
Vinux Home Page: http://vinuxproject.org/
Vinux Virtual Edition: http://virtual.vinuxproject.org/
Vinux Wiki Documentation: http://wiki.vinuxproject.org/
---
You received this message because you are subscribed to the Google Groups "The Vinux Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit https://groups.google.com/groups/opt_out.
--
--
You received this message because you are subscribed to the Google Groups Vinux Support Forum.
To post to this group, send email to vinux-...@googlegroups.com.
To unsubscribe from this group, send email to vinux-support+unsubscribe@googlegroups.com.
For more options, visit this group at: http://groups.google.com/group/vinux-support?hl=en
Vinux Home Page: http://vinuxproject.org/
Vinux Virtual Edition: http://virtual.vinuxproject.org/
Vinux Wiki Documentation: http://wiki.vinuxproject.org/
---
You received this message because you are subscribed to the Google Groups "The Vinux Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit https://groups.google.com/groups/opt_out.
--
--
You received this message because you are subscribed to the Google Groups Vinux Support Forum.
To post to this group, send email to vinux-...@googlegroups.com.
To unsubscribe from this group, send email to vinux-support+unsubscribe@googlegroups.com.
For more options, visit this group at: http://groups.google.com/group/vinux-support?hl=en
Vinux Home Page: http://vinuxproject.org/
Vinux Virtual Edition: http://virtual.vinuxproject.org/
Vinux Wiki Documentation: http://wiki.vinuxproject.org/
---
You received this message because you are subscribed to the Google Groups "The Vinux Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit https://groups.google.com/groups/opt_out.
--
--
You received this message because you are subscribed to the Google Groups Vinux Support Forum.
To post to this group, send email to vinux-...@googlegroups.com.
To unsubscribe from this group, send email to vinux-support+unsubscribe@googlegroups.com.
For more options, visit this group at: http://groups.google.com/group/vinux-support?hl=en
Vinux Home Page: http://vinuxproject.org/
Vinux Virtual Edition: http://virtual.vinuxproject.org/
Vinux Wiki Documentation: http://wiki.vinuxproject.org/
--- You received this message because you are subscribed to the Google Groups "The Vinux Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vinux-support+unsubscribe@googlegroups.com.
Thanks for your suggestions to cancel vlc, when run from the console.
I wanted something simple for my CLI document. I am aiming my article
‘how to Use the Command Line”, primarily at beginners.
The problem with switching to another console or terminal, is the constant distraction from an audio track being played by vlc.
Opening another virtual console (ctrl+alt+F2) requires coping with the user and password prompts.
Using ‘top’ is the most difficult because there is the added step of getting a process ID before issuing the ‘kill’ command.
Going to a terminal with ctrl+alt+t and typing “killall vlc” is the simplest and it works.
Mplayer can be killed with the ‘q’ or ctrl+c. These do not work with vlc when playing a video file.
When streaming BBC4 radio with:
$ vlc URL
ctrl+c will kill vlc and return me to the command prompt.
However, when I play a video with:
$ vlc my-video.vob
Ctrl+c, and a few other ctrl hot keys, does not work.
Mplayer works fine with an audio file:
$ mplayer my-audio.mp3
The ‘q’ is the simple way to quit mplayer.
Mplayer does not want to play my video files with the formats: .vob, .mp4 and .avi.
It gives the message:
... cannot get I/O permissions.
Vlc does play these video formats, without
additional options.
I was hoping for a simple hot key that would kill vlc. I can't
expect a beginner to jump through a lot of hoops.
Thanks again for your responses.
Peter Tesar
----- Original Message -----From: Peter Tesar
Please let me know when the article is finished.It sounds like a terrific idea.
�
----- Original Message -----From: Peter TesarSent: Wednesday, February 27, 2013 10:46 AMSubject: [VINUX-SUPPORT] How to kill VLC when running from the command line?
Thanks for your suggestions to cancel vlc, when run from the console.
I wanted something simple for my CLI document. I am aiming my article
�how to Use the Command Line�, primarily at beginners.
The problem with switching to another console or terminal, is the constant distraction from an audio track being played by vlc.
Opening another virtual console (ctrl+alt+F2) requires coping with the user and password prompts.
Using �top� is the most difficult because there is the added step of getting a process ID before issuing the �kill� command.
Going to a terminal with ctrl+alt+t and typing �killall vlc� is the simplest and it works.
Mplayer can be killed with the �q� or ctrl+c. These do not work with vlc when playing a video file.
When streaming BBC4 radio with:
� �$ vlc URL
ctrl+c will kill vlc and return me to the command prompt.
�However, when I play a video with:
�� $ vlc my-video.vob
Ctrl+c, and a few other ctrl hot keys, does not work.
Mplayer works fine with an audio file:
�� $ mplayer my-audio.mp3
The �q� is the simple way to quit mplayer.
Mplayer does not want to play my video files with the formats: .vob, .mp4 and .avi.
It gives the message:
��� ... cannot get I/O permissions.
Vlc does play these video formats, without additional options.
I was hoping for a simple hot key that would kill vlc. I can't expect a beginner to jump through a lot of hoops.
Thanks again for your responses.
Peter Tesar
--
--
You received this message because you are subscribed to the Google Groups Vinux Support Forum.
To post to this group, send email to vinux-...@googlegroups.com.
To unsubscribe from this group, send email to vinux-suppor...@googlegroups.com.
For more options, visit this group at: http://groups.google.com/group/vinux-support?hl=en
�
Vinux Home Page: http://vinuxproject.org/
Vinux Virtual Edition: http://virtual.vinuxproject.org/
Vinux Wiki Documentation: http://wiki.vinuxproject.org/
�
---
You received this message because you are subscribed to the Google Groups "The Vinux Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vinux-suppor...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
�
�
--
--
You received this message because you are subscribed to the Google Groups Vinux Support Forum.
To post to this group, send email to vinux-...@googlegroups.com.
To unsubscribe from this group, send email to vinux-suppor...@googlegroups.com.
For more options, visit this group at: http://groups.google.com/group/vinux-support?hl=en
�
Vinux Home Page: http://vinuxproject.org/
Vinux Virtual Edition: http://virtual.vinuxproject.org/
Vinux Wiki Documentation: http://wiki.vinuxproject.org/
�
---
You received this message because you are subscribed to the Google Groups "The Vinux Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vinux-suppor...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
�
�
A couple thoughts and un-solicited opinions.smiles.
First I would like to say that an article's certainly a good idea. It should be kept simple. I just tested a couple things to make sure, would have been a better tester if I'd realized that you were asking specifically about vid playing I'd have been a better tester/only tested audio files as I mainly use vlc for this and I was not thinking about any difference in how audio and video would respond to hotkeys/should have, but...
One important thing is that indeed sudo is not and should not be needed for killall with any program that's not started with these elevated permissions. (just wanted to clarify as this had been brought up in another msg.)
There's no great difficulty with typing user name and pw, i.e. you type your usernmae hit enter and then your password, something that even a new user should be able to do as one does not have to wait any appreciable amount of time, and if it does not enter correctly for some reason you just do the same thing again. If vlc's opened from a terminal, comtrol+alt t it is closed from that terminal with control c, but as you say the same is only true from a console for audio files. I seldom suggest using gnome for running programs from the commandline. (good for killall..lol.)
I guess my one question/descenting opinion is this: why would you have a novice user using CLI for video, or the commandline to start VLC or any GUI program that's inaccessible,) if you are aiming at maximum simplicity when There are accessible ways to play video content such as totem or rhythmbox. When run from a true CLI console control + C does not work for video with VLC as you say. I'd look at the online help for a way to toggle fullscreen-mode, and if one does not exist that's a serious strike against a fine media player. Totem for instance closes with control c video as well as audio, but one must start the program with display exported.
export DISPLAY =:0
Again this complicates things for the new user a bit, but nothing's running to distract with noise when the command is entered and it is good until one logs out of the console or reattaches x11.
I have a couple suggestions for the included .bash_aliases file including an alias for exporting display.
Again I agree that keeping it simple is important, but learning to work from more than one console is basic to CLI usage, not in the jumping through hoops category in my opinion. I atually almost always start more than one console as soon as I log-on to my computer. This is good practice as one is ready to do what needs to be done with out the delay of logging in when one is working.
Keep up the good work.
Regards,
Burt
On 28/02/2013 04:33, Angelo Sonnesso wrote:
Please let me know when the article is finished.It sounds like a terrific idea.
----- Original Message -----
From: Peter TesarSent: Wednesday, February 27, 2013 10:46 AMSubject: [VINUX-SUPPORT] How to kill VLC when running from the command line?
Thanks for your suggestions to cancel vlc, when run from the console.
I wanted something simple for my CLI document. I am aiming my article
‘how to Use the Command Line”, primarily at beginners.
The problem with switching to another console or terminal, is the constant distraction from an audio track being played by vlc.
Opening another virtual console (ctrl+alt+F2) requires coping with the user and password prompts.
Using ‘top’ is the most difficult because there is the added step of getting a process ID before issuing the ‘kill’ command.
Going to a terminal with ctrl+alt+t and typing “killall vlc” is the simplest and it works.
Mplayer can be killed with the ‘q’ or ctrl+c. These do not work with vlc when playing a video file.
When streaming BBC4 radio with:
$ vlc URL
ctrl+c will kill vlc and return me to the command prompt.
However, when I play a video with:
$ vlc my-video.vob
Ctrl+c, and a few other ctrl hot keys, does not work.
Mplayer works fine with an audio file:
$ mplayer my-audio.mp3
The ‘q’ is the simple way to quit mplayer.
Mplayer does not want to play my video files with the formats: .vob, .mp4 and .avi.
It gives the message:
... cannot get I/O permissions.
Vlc does play these video formats, without additional options.
I was hoping for a simple hot key that would kill vlc. I can't expect a beginner to jump through a lot of hoops.
Thanks again for your responses.
Peter Tesar
--
--
You received this message because you are subscribed to the Google Groups Vinux Support Forum.
To post to this group, send email to vinux-...@googlegroups.com.
To unsubscribe from this group, send email to vinux-suppor...@googlegroups.com.
For more options, visit this group at: http://groups.google.com/group/vinux-support?hl=en
Vinux Home Page: http://vinuxproject.org/
Vinux Virtual Edition: http://virtual.vinuxproject.org/
Vinux Wiki Documentation: http://wiki.vinuxproject.org/
---
You received this message because you are subscribed to the Google Groups "The Vinux Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vinux-suppor...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
--
You received this message because you are subscribed to the Google Groups Vinux Support Forum.
To post to this group, send email to vinux-...@googlegroups.com.
To unsubscribe from this group, send email to vinux-suppor...@googlegroups.com.
For more options, visit this group at: http://groups.google.com/group/vinux-support?hl=en
Vinux Home Page: http://vinuxproject.org/
Vinux Virtual Edition: http://virtual.vinuxproject.org/
Vinux Wiki Documentation: http://wiki.vinuxproject.org/
---
You received this message because you are subscribed to the Google Groups "The Vinux Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vinux-suppor...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
--
You received this message because you are subscribed to the Google Groups Vinux Support Forum.
To post to this group, send email to vinux-...@googlegroups.com.
To unsubscribe from this group, send email to vinux-suppor...@googlegroups.com.
For more options, visit this group at: http://groups.google.com/group/vinux-support?hl=en
Vinux Home Page: http://vinuxproject.org/
Vinux Virtual Edition: http://virtual.vinuxproject.org/
Vinux Wiki Documentation: http://wiki.vinuxproject.org/
Burt,
�
My 11 heading document �How to Use the Command Line Interface�, in the old Vinux Wiki, generated a lot of hits. Since the Wiki was down, I have spent the last year adding to it. Now, there are 23 headings and many more examples.
�
I know that there is an interest in learning how to use the command line and that it can easily turnoff beginners (Windows users).
�
I wanted it simple enough for a beginner to grasp. Some of the basic concepts include:
� The command line and running commands,
� The directory tree and moving around it,
� Listing contents of a directory,
� Online help,
� Aliases and scripts.
�
The examples are used to illustrate rather than be verbose with explanations.
I chose tasks with examples that I thought would be of interest, not only to the beginner but also to a more advanced user.
�
Tasks like ripping music from a CD and the process of scanning to an image file, aligning it horizontally and performing OCR using tesseract and cuneiform.
�
Examples are given, with some of the useful options, and all of the examples work without the need to make complicated adjustments.
�
Another goal was to give the command names that
many of us
know about but a beginner wouldn�t. Those who are interested,� can
then use the man pages or Google it.
A blind person may not want to play a video from the command
line but they probably will want to rip it from the DVD using
vobcopy, and then
extract the audio track using ffmpeg.
�
Since there is no quick way to kill the vlc (playing a video file), I won�t give an example. I consider the need to open up a second console or a terminal, and typing �killall vlc� to be more than just simple.
�
Not all beginners will think the same way and overall, I hope that my approach will prove useful.
�
Thanks for your feedback.
�
Peter Tesar
You received this message because you are subscribed to the Vinux Support mailing list.
To unsubscribe from this group, email vinux-suppor...@googlegroups.com
Our website: www.vinuxproject.org
Hello,
I have no trouble quitting VLC in the virtual console. I am referring to the virtual console with speakup.
I use VLC to stream the BBC4 and my script is below.
VLC is present and the cursor must be on a command line. I can type the following commands followed by ENTER:
pause, play or quit.
The quit command returns me to the command line.
Peter
#!/bin/bash
echo 'BBC4 PLS'
vlc { name = "BBC4", url = http://www.bbc.co.uk/radio/listen/live/r4lw.pls
echo 0