LWN.net Logo

Terminology 0.3 available

Terminology 0.3 available

Posted Apr 2, 2013 19:39 UTC (Tue) by mathstuf (subscriber, #69389)
In reply to: Terminology 0.3 available by nix
Parent article: Terminology 0.3 available

You could use it as a video player on a TTY rather than using MPlayer (which IME prevents TTY switches and covers the terminal in the current TTY).


(Log in to post comments)

Terminology 0.3 available

Posted Apr 2, 2013 20:10 UTC (Tue) by nix (subscriber, #2304) [Link]

mplayer doesn't prevent tty switches (heck it doesn't even stop the screensaver from kicking in :( ). As for covering the whole screen... that's usually what you want from a video player. Or at least it's what I want. Nothing but the image.

Terminology 0.3 available

Posted Apr 2, 2013 20:23 UTC (Tue) by mathstuf (subscriber, #69389) [Link]

It didn't go fullscreen for me (it just took up 60% of the screen). I also couldn't get it to quit (I was running tmux started in a different TTY when I launched mplayer; maybe that has something to do with it?).

I want full screen as well, but I'd like to be able to pause it and go back to the terminal underneath it. Does SIGSTOP do that?

Terminology 0.3 available

Posted Apr 3, 2013 23:06 UTC (Wed) by nix (subscriber, #2304) [Link]

Yeah, you can SIGSTOP it, but since you can go fullscreen and back by hitting 'f' one generally goes windowed again beforehand.

Going fullscreen takes window manager cooperation: perhaps your wm wasn't cooperating that day?

Terminology 0.3 available

Posted Apr 3, 2013 23:22 UTC (Wed) by mathstuf (subscriber, #69389) [Link]

Maybe my cases are getting confused here:

MPlayer on TTY2 under tmux started on TTY1 (untested since this happened since recovery required a reboot):

- shows video at 1:1; not fullscreened;
- ignores keyboard;
- cannot switch to a different TTY.

MPlayer on X11:

- works as expected.

Terminology 0.3 available

Posted Apr 4, 2013 0:16 UTC (Thu) by hummassa (subscriber, #307) [Link]

what was your -ao option (in the tty case)?

Terminology 0.3 available

Posted Apr 4, 2013 0:29 UTC (Thu) by mathstuf (subscriber, #69389) [Link]

I dont remember setting it explicitly, so it was probably using pulseaudio.

Terminology 0.3 available

Posted Apr 4, 2013 0:57 UTC (Thu) by hummassa (subscriber, #307) [Link]

And your -vo ?

Terminology 0.3 available

Posted Apr 4, 2013 1:15 UTC (Thu) by mathstuf (subscriber, #69389) [Link]

It was probably fbdev or fbdev2 (or I let mplayer choose the default). Maybe I'll try this again this weekend.

Terminology 0.3 available

Posted Apr 8, 2013 8:13 UTC (Mon) by nix (subscriber, #2304) [Link]

Oh, yeah, right, I had it completely backwards. I have no idea what mplayer does in fbdev: I basically never use fbdev to do more than 'startx' unless something is wrong with X, and then I only use it to fix it. :)

Terminology 0.3 available

Posted Apr 8, 2013 16:21 UTC (Mon) by mathstuf (subscriber, #69389) [Link]

I use the TTY on long trips where battery saving is key. Not running X helps, though I imagine with non-KMS drivers, the driver's power management probably helps more than the extra load hurts.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds