[opensuse] script to watch a movie
Hi From kde, could this: ctrl+alt+f1 login sudo init 3 sudo rcsmb start sudo rcnmb start <watch the movie> sudo rcnmb stop sudo rcsmb stop sudo init 5 ctrl+alt+f1 exit ctrl+alt+f7 be scripted into a click and a password? 11.2 L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-02-13 22:49, lynn wrote:
Hi From kde, could this:
ctrl+alt+f1 login sudo init 3 sudo rcsmb start sudo rcnmb start <watch the movie>
How are you going to watch a movie in text mode? I know that xine has an ascii text mode display, but I would not care to watch a movie that way except to show that it can be done. And I very much doubt you are refering to that. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk85m2QACgkQIvFNjefEBxqrMgCgjgxzL+SIhqoL0EKlhGX32ayC 4PcAnil6yLMQYjvtyiLZnAm2G2XNaA5Q =5xvl -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/14/2012 12:23 AM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-02-13 22:49, lynn wrote:
Hi From kde, could this:
ctrl+alt+f1 login sudo init 3 sudo rcsmb start sudo rcnmb start <watch the movie> How are you going to watch a movie in text mode? I know that xine has an ascii text mode display, but I would not care to watch a movie that way except to show that it can be done. And I very much doubt you are refering to that. Hi
I connect to a wireless multimedia nas via samba so that everyone can view the movie on a larger screen with better sound. I drop to rl3 because otherwise the playback is jerky. Any ideas for a script? Cheers, L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-02-14 00:50, lynn wrote:
On 02/14/2012 12:23 AM, Carlos E. R. wrote:
ctrl+alt+f1 login sudo init 3 sudo rcsmb start sudo rcnmb start <watch the movie> How are you going to watch a movie in text mode? I know that xine has an ascii text mode display, but I would not care to watch a movie that way except to show that it can be done. And I very much doubt you are refering to that. Hi
I connect to a wireless multimedia nas via samba so that everyone can view the movie on a larger screen with better sound. I drop to rl3 because otherwise the playback is jerky.
Why didn't you explain this before? It is very different from watching a video on your machine, as most of us all thought.
Any ideas for a script?
Well... yes, you can use "chvt 1" instead of "ctrl-alt-f1". No need to login, actually impossible from a script (you can not answer the password prompt). The script has to be launched from somewhere, but that somewhere can not be a konsole because it will be killed: you will have to go to the one text mode terminal, login, and there launch the script. You are already in a text console, so the first few steps you listed are superfluous. Or you can connect remotely via ssh and issue an init 3. That is the only command you need to issue, the samba server should be started on boot. Actually, you could create your own runlevel definition and start/stop whatever services you want. Don't ask me how with systemd, however. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk85wpcACgkQIvFNjefEBxpUZwCgiBRzrtzoPO/406EMFSmBpRJ4 aUgAoI5f6rJB2vNcDCnLruA3+DZ39CSq =WtmO -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 14/02/12 03:10, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-02-14 00:50, lynn wrote:
On 02/14/2012 12:23 AM, Carlos E. R. wrote:
ctrl+alt+f1 login sudo init 3 sudo rcsmb start sudo rcnmb start <watch the movie> How are you going to watch a movie in text mode? I know that xine has an ascii text mode display, but I would not care to watch a movie that way except to show that it can be done. And I very much doubt you are refering to that. Hi
I connect to a wireless multimedia nas via samba so that everyone can view the movie on a larger screen with better sound. I drop to rl3 because otherwise the playback is jerky. Why didn't you explain this before? It is very different from watching a video on your machine, as most of us all thought. My fault. As long time sufferers on the list know, I'm hopeless at asking questions. Any ideas for a script? Well... yes, you can use "chvt 1" instead of "ctrl-alt-f1". OK First problem: chvt 1 Couldn't get a file descriptor referring to the console
No need to login, actually impossible from a script (you can not answer the password prompt). The script has to be launched from somewhere, but that somewhere can not be a konsole because it will be killed: you will have to go to the one text mode terminal, login, and there launch the script. You are already in a text console, so the first few steps you listed are superfluous.
Or you can connect remotely via ssh and issue an init 3. That is the only command you need to issue, the samba server should be started on boot.
Samba isn't started at boot as we only need it to get the stuff over to the nas when we're watching a movie. We need the rl3 otherwise the playback is poor.
Actually, you could create your own runlevel definition and start/stop whatever services you want. Don't ask me how with systemd, however.
Salu2, L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2012-02-14 at 17:25 +0100, lynn wrote:
On 14/02/12 03:10, Carlos E. R. wrote:
Why didn't you explain this before? It is very different from watching a video on your machine, as most of us all thought. My fault. As long time sufferers on the list know, I'm hopeless at asking questions.
:-)
Any ideas for a script? Well... yes, you can use "chvt 1" instead of "ctrl-alt-f1". OK First problem: chvt 1 Couldn't get a file descriptor referring to the console
Dunno... where are you doing it? You have to be root, and probably the process needs a terminal.
Or you can connect remotely via ssh and issue an init 3. That is the only command you need to issue, the samba server should be started on boot.
Samba isn't started at boot as we only need it to get the stuff over to the nas when we're watching a movie. We need the rl3 otherwise the playback is poor.
But it wouldn't hurt to have it started earlier and saves you a step. - -- Cheers, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk87AUYACgkQtTMYHG2NR9UMSgCfVyAJnh5VUTm9yDDh3m+EKvYj evYAmgJb0U2aWF4zsgCU6IW5klb/8o+O =bHvE -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 15 Feb 2012 01:50:06 +0100 (CET) "Carlos E. R." <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tuesday, 2012-02-14 at 17:25 +0100, lynn wrote:
On 14/02/12 03:10, Carlos E. R. wrote:
Why didn't you explain this before? It is very different from watching a video on your machine, as most of us all thought. My fault. As long time sufferers on the list know, I'm hopeless at asking questions.
:-)
Any ideas for a script? Well... yes, you can use "chvt 1" instead of "ctrl-alt-f1". OK First problem: chvt 1 Couldn't get a file descriptor referring to the console
Dunno... where are you doing it? You have to be root, and probably the process needs a terminal.
Or you can connect remotely via ssh and issue an init 3. That is the only command you need to issue, the samba server should be started on boot.
Samba isn't started at boot as we only need it to get the stuff over to the nas when we're watching a movie. We need the rl3 otherwise the playback is poor.
But it wouldn't hurt to have it started earlier and saves you a step.
- -- Cheers, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux)
iEYEARECAAYFAk87AUYACgkQtTMYHG2NR9UMSgCfVyAJnh5VUTm9yDDh3m+EKvYj evYAmgJb0U2aWF4zsgCU6IW5klb/8o+O =bHvE -----END PGP SIGNATURE----- Hi Create a udev rule to give your user temporary access, I would also use a different tty 2-6 or 11-12.
Here is how I run htop on tty12 with systemd ;) http://forums.opensuse.org/blogs/malcolmlewis/package-day-systemd-htop-servi... -- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.19-default up 1 day 2:47, 3 users, load average: 0.00, 0.01, 0.05 CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tuesday 14 February 2012, Carlos E. R. wrote:
On 2012-02-13 22:49, lynn wrote:
Hi From kde, could this:
ctrl+alt+f1 login sudo init 3 sudo rcsmb start sudo rcnmb start <watch the movie>
How are you going to watch a movie in text mode? I know that xine has an ascii text mode display, but I would not care to watch a movie that way except to show that it can be done. And I very much doubt you are refering to that.
You can watch real movies even without X using mplayer -vo fbdev
-- Cheers / Saludos,
Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar)
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Carlos E. R.
-
lynn
-
Malcolm
-
Ruediger Meier