Unterbrechen Sie das Video, wenn Sie in xmonad zu einem anderen Desktop wechseln

316
Dilawar

Angenommen, ich verwende vlc auf Desktop 5. Ich möchte es anhalten, wenn ich zu einem anderen Desktop wechsle, und es fortsetzen, wenn ich zurück zu Desktop 5 wechsle. Wie kann man diesen Effekt in xmonad erreichen?

0

1 Antwort auf die Frage

0
StreakyCobra

In vlc, go to the Preferences (CTRL+P) screen, then on the left there is a button named Interface which shows a Look and feel group of options, containing a checkbox Pause playback when minimized: check it!

It will automatically play/pause when you switch from/to the workspace. Better, if you have a dual screen, even if you work on the other screen it will continue to play the video until you switch the workspace where vlc is.

In other words, it will play the video only when vlc is visible, as soon as vlc is hidden the video is paused.

Lief wie am Schnürchen. Vielen Dank. Dilawar vor 10 Jahren 0