How do I loop a movie in totem when running from a terminal?

Asked by Kathy Hays

I'm running totem from a terminal window, actually it will be part of a shell script. I type the command:
                totem --fullscreen <name_of_video>

I want this video to run in a continuous loop until I type the "q" command. Is there a way to do this with totem?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu totem Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) said :
#2

In the Edit Menu of Totem, choose "Repeat mode". This will loop content.

Revision history for this message
Mitchell Sharp (mrmitchellsharp) said :
#3

Hi,

I’ve faced a similar situation when using Totem from the terminal. To loop a video continuously, you can use the --loop option with Totem. Here’s how you can modify your command:
CSS:
totem --fullscreen --loop <name_of_video>

This will play the video in a continuous loop. However, you might need to manually stop the video by closing the Totem player window, as Totem doesn’t have a built-in command for quitting from the terminal with a key press.

If you’re looking for a break from scripting and video loops, you might want to check out Loklok, an app for watching movies and TV shows. I’ve been using it, and it’s been great. You can download the Loklok apk here --> https://apk-loklok.com/.

Hope this helps!

Best,
Mitchell Sharp

Can you help with this problem?

Provide an answer of your own, or ask Kathy Hays for more information if necessary.

To post a message you must log in.