how to do "picture-in-picture" in Mint?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
how to do "picture-in-picture" in Mint?
Some televisions have a "picture-in-picture" feature, where you can have most of the screen taken up by one channel, and use a corner of the screen to show what's on another channel. I would like to do something like that on my computer. I often have music from Youtube playing while doing other things on the computer. Suppose I'm writing a document in LibreOffice, enjoying the music, and suddenly there's a blistering guitar solo I'd like to watch. I'd like to have that Youtube video playing in a corner of the screen so all I have to do is glance up at the corner of the screen to see it. It would also be nice to be able to swap the two pictures, and make the video in the corner of the screen take up most of the screen and put the other application up in the corner. Maybe switch by clicking on the small corner image? There must be some way to do this, but I have no idea what it would be. Ideas?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
Re: how to do "picture-in-picture" in Mint?
If you don't mind using Opera browser, it has a video pop-out functionality you might want to have a look at.
https://www.youtube.com/watch?v=sEwdu2F_Rdw
https://www.youtube.com/watch?v=sEwdu2F_Rdw
Re: how to do "picture-in-picture" in Mint?
The solution is to glue two computers together, or glue an iPhone onto your regular monitor:
https://xkcd.com/1988/
https://xkcd.com/1988/
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
-
- Level 6
- Posts: 1347
- Joined: Thu Dec 26, 2013 10:19 am
- Location: N.E. AR USA
Re: how to do "picture-in-picture" in Mint?
Don't most media players have an "always on top" setting? I know I've used my PC TV tuner that way...have the display in a small window that is always on top of whatever app I"m working with.
Re: how to do "picture-in-picture" in Mint?
In Xfce (not sure about others) right clicking in the titlebar of any window gives me that option. Of course, there's no way to "flip" the windows with this.Neil Edmond wrote: ⤴Sat May 19, 2018 2:54 pm Don't most media players have an "always on top" setting? I know I've used my PC TV tuner that way...have the display in a small window that is always on top of whatever app I"m working with.
Re: how to do "picture-in-picture" in Mint?
this all depends on your graphic setup. most window managers have sticky window if you want to go that way or with nvidia you can make extended desktop if you use 2 monitor. you can tear out a chrome tab and then zoom out (max is 25%). but picture in picture needs it's own software like https://www.omgubuntu.co.uk/2017/05/flo ... -extension
Re: how to do "picture-in-picture" in Mint?
Same with fluxbox.
Raise one, lower the other [Edit: not even that...], and resize, maybe all with "xdotool" - which should work for all DEs..?:Of course, there's no way to "flip" the windows with this.
Code: Select all
xdotool windowsize $(xdotool search --name "Mousepad" | tail -1) 400 400
https://askubuntu.com/questions/441501/ ... ly-in-xfce
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: how to do "picture-in-picture" in Mint?
Thanks for the tips! I will give them a try. Except if I was going to glue a phone to my monitor, it would not be an Apple phone, it would be an Android device.
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
- smurphos
- Level 18
- Posts: 8498
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: how to do "picture-in-picture" in Mint?
On Cinnamon 'always on top' is available from the titlebar menu button for all windows...
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: how to do "picture-in-picture" in Mint?
in chrome address bar type the first flag and enable followed by second and enable then relaunch. when you watch a youtube rightclick the video twice (it doesn't have to be a quick double tap just casual click once then click again) *the first will the be video stats the second will be the cast picture in picture menu. you can now move the small window anywhere you want and resize it however big you need. if you close the page the video is gone so page needs to be open. if you minimize chrome the picture in picture is still on desktop. have no clue if picture in picture works with other sites yet.I often have music from Youtube playing while doing other things on the computer
chrome://flags/#enable-surfaces-for-videos
<<< change to Enabledchrome://flags/#enable-picture-in-picture
<<< change to Enabledfor those that do not like the new look of chrome Version 69.0.3497 you can restore the old tabs with
chrome://flags/#top-chrome-md
<<< change it to Normal )this will disable the new page customization
Last edited by trytip on Sun Sep 23, 2018 1:45 pm, edited 1 time in total.
- Gruppo Sportivo
- Level 4
- Posts: 276
- Joined: Sun May 28, 2017 4:14 am
- Location: 🇳🇱
Re: how to do "picture-in-picture" in Mint?
Min Vid is promising as Firefox Add-On, but is not yet functionaljimallyn wrote:I'd like to have that Youtube video playing in a corner of the screen so all I have to do is glance up at the corner of the screen to see it.
https://medium.com/firefox-test-pilot/m ... ad74dc37c1
- Gruppo Sportivo
- Level 4
- Posts: 276
- Joined: Sun May 28, 2017 4:14 am
- Location: 🇳🇱
Re: how to do "picture-in-picture" in Mint?
The Firefox Add-On Iridium for YouTube,play's videos in a pop-out window,while you can do other things (Firefox Quantum version 62.0)jimallyn wrote:It would also be nice to be able to swap the two pictures, and make the video in the corner of the screen take up most of the screen and put the other application up in the corner.
https://addons.mozilla.org/nl/firefox/a ... src=search
all you have to do is click on the Pop-up square symbols of your chosen video to start video in pop-out window
Last edited by Gruppo Sportivo on Sun Sep 23, 2018 11:32 am, edited 1 time in total.
Re: how to do "picture-in-picture" in Mint?
Hi jimallyn,
I just read your post and the good replies to it. Here are my thoughts on this as well. Thanks "trytip" and others for their information.
1.) If the browser already has a video pop-out option like Opera, you can use that.
2.) There are various browser extension add-ons to right-click and "open with" an external or local multimedia player. Check for browser addon in the "Synaptic Package Manager (SPM)" as well.
- open with MPV
- open with VLC
- open with external app
Automatically Open YouTube Links in an Uncluttered Viewer
https://lifehacker.com/automatically-op ... 1825389630
3.) There may also be Linux Mint applets, desklets, widgets, etc... to view videos or webpage or webslice in a desktop window. KDE has a "widget" called "plasmatube" which I just tried, but could not get it to play yet in my Linux Mint KDE 18.3.
4.) Someone could create a Linux application (maybe there already is one) for playing videos using the online videos url address.
SMtube, YouTube Viewer, etc...
SMPlayer Youtube Browser. Play YouTube videos with your favorite media player
https://www.smtube.org/
YouTube-viewer
Linux Mint 18.x - deb file
https://launchpad.net/~nilarimogard/+ar ... l0_all.deb
Linux Mint 19.x - deb file
https://launchpad.net/~nilarimogard/+ar ... c0_all.deb
GitHub - trizen/youtube-viewer: Lightweight application for searching and streaming videos from YouTube.
https://github.com/trizen/youtube-viewer
18.04 - [Solved]Can I use youtube-viewer on ubuntu18.04 - Ask Ubuntu
https://askubuntu.com/questions/1029038 ... buntu18-04
YouTube Viewer: A Complete YouTube Client For Linux [Ubuntu PPA] ~ Web Upd8: Ubuntu / Linux blog
http://www.webupd8.org/2015/02/youtube- ... lient.html
Hope this helps ...
. .
I just read your post and the good replies to it. Here are my thoughts on this as well. Thanks "trytip" and others for their information.
1.) If the browser already has a video pop-out option like Opera, you can use that.
2.) There are various browser extension add-ons to right-click and "open with" an external or local multimedia player. Check for browser addon in the "Synaptic Package Manager (SPM)" as well.
- open with MPV
- open with VLC
- open with external app
Automatically Open YouTube Links in an Uncluttered Viewer
https://lifehacker.com/automatically-op ... 1825389630
3.) There may also be Linux Mint applets, desklets, widgets, etc... to view videos or webpage or webslice in a desktop window. KDE has a "widget" called "plasmatube" which I just tried, but could not get it to play yet in my Linux Mint KDE 18.3.
4.) Someone could create a Linux application (maybe there already is one) for playing videos using the online videos url address.
SMtube, YouTube Viewer, etc...
SMPlayer Youtube Browser. Play YouTube videos with your favorite media player
https://www.smtube.org/
YouTube-viewer
Linux Mint 18.x - deb file
https://launchpad.net/~nilarimogard/+ar ... l0_all.deb
Linux Mint 19.x - deb file
https://launchpad.net/~nilarimogard/+ar ... c0_all.deb
GitHub - trizen/youtube-viewer: Lightweight application for searching and streaming videos from YouTube.
https://github.com/trizen/youtube-viewer
18.04 - [Solved]Can I use youtube-viewer on ubuntu18.04 - Ask Ubuntu
https://askubuntu.com/questions/1029038 ... buntu18-04
YouTube Viewer: A Complete YouTube Client For Linux [Ubuntu PPA] ~ Web Upd8: Ubuntu / Linux blog
http://www.webupd8.org/2015/02/youtube- ... lient.html
Hope this helps ...
. .
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen