Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar
- - - - -

How to start NetFlix in 'Puppy' direct from the Menu.....without opening Chrome


  • Please log in to reply
2 replies to this topic

#1 Mike_Walsh

Mike_Walsh

    Bleepin' "Puppy" fanatic...


  •  Avatar image
  • Moderator
  • 4,813 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:King's Lynn, UK
  • Local time:05:53 AM

Posted 10 November 2017 - 03:05 PM

Starting NetFlix from the Menu in Puppy.....without opening Chrome itself

 

Object of tutorial; to start NetFlix as a Chrome 'app', independently of the browser, from a custom Menu entry.

 

Tools required; Chrome itself, plus the built-in packaging tools native to Puppy (primarily dir2pet).

 

---------------------------------------------

 

Evening, all. 

 

I've been having a 'play around' this last day or two, and come up with a solution to something I've wanted to do for a long while:- 

To be able to launch NetFlix direct from the Menu.....without having to launch Chrome itself. This does, of course, specifically apply to those of you running Chrome, or one of the Chromium 'clones'. I haven't investigated how you could do this for FireFox (which can now run NetFlix), as I don't use it. 

--------------------------------------------------- 

This is in large part only possible due to Chrome's ability to turn the contents of a given tab into an 'App'.....which can then be started from the App Launcher. This is the icon of little coloured squares, with the title 'Apps', situated at the far left-hand end of your Bookmarks bar (common to all versions of Chrome; it's where you find the shortcut for the Web Store, for instance). You will, however, need to be running at least Chrome 37 or newer, as the Widevine modules (which make NetFlix possible), were first introduced with the release of 37. 

 

(Believe it or not, that very first Chrome with the WideVine modules will still play modern NetFlix, despite the browser being at least 4 yrs old.)

-------------------------------------------------- 

This takes the form of two sections. Firstly, enabling NetFlix as an 'App'.....which will allow it to launch in its own separate window. And secondly, using the 'app-id' unique to your NetFlix launcher (which I believe will vary from one individual's default profile to another) to create your Menu .desktop entry itself. 

-------------------------------------------------- 

Section 1:- Creating the NetFlix 'app'. 

a ) First of all, open NetFlix in Chrome. 

b ) Go into the Chrome Menu (the 'hamburger' symbol, top-right), then More tools->Add to desktop... You'll get a small window come up as below. (I apologise for the crap quality of this, but I had to use SimpleScreenRecorder to capture, followed by taking a screenshot of the 'paused' video, then editing it.....trust me, you really
 don't want to know!)  :rolleyes:  :lol:

 

 

JFo9LKk.jpg

 

Tick the 'Open as window' check-box, then click 'Add'. 

c ) If you now click on 'Apps' at the far left of the Bookmarks Bar, you should see NetFlix listed as an app within the App Launcher page.

d ) Place your cursor over the app, and rt-clk. You'll get the option to 'Create Shortcuts'. Click this, and you get two further options; 'Desktop', and 'Applications Menu'. For our purposes, just tick the 'Desktop' check-box. 

e ) Go into ROX's /root window, and open the 'Desktop' directory. You should find a .desktop entry, titled Chrome-[long string of letters]-Default.desktop. This does not, however, work by itself. It needs turning into a 'Puppyfied'  Menu-entry, which will work. 

That's the first part 'done & dusted'. You can launch NetFlix in a separate window at this point from its icon in the App Launcher, if you want to try it out; it'll open a separate window on top of the browser itself. You can then send this window to another desktop. 

------------------------------------------------------------ 

Section 2:- Creating the Menu entry. 

a ) Now; here, I've done the work for you. D'l and install the 'NetFlix-MenuEntry.pet' from here:-

 

http://www.mediafire.com/file/xuavk9ksxabvcre/NetFlix-MenuEntry.pet

 

That will give you the Menu entry for launching NetFlix. You will, however, need to check one thing, since, as stated above, this probably varies from one user profile to another; I'm certain the string of letters that identifies NetFlix in my Google a/c will be different to the same string of letters in yours. 

b ) Go into/root/my-applications/bin, and open the Netflix entry with Geany. Compare the string of letters in the app_id 'switch' (--app-id=xxxxxxxxxxxxxxxxx, etc) with the string of letters in your own .desktop entry in /root/Desktop.....which you created earlier (see above). If they're different, replace the existing string of letters with your own 'string'. Then 'Save', and exit Geany. 

c ) The moment of truth! Go to Menu->Internet->NetFlix. All things being equal, NetFlix will now launch by itself, in its own window, without Chrome even being open.....or, you can do this on another desktop. This window can, of course, be re-sized, if you don't want it full screen. Like this:- 

 

D5BF7B5.jpg

 

Hope that's of some interest to some of you.....and remember; this same procedure can be repeated for literally any website. Chrome can make an 'app' out of any webpage, using existing, built-in tools, native to the browser.

 

(For anybody interested in creating Menu-Entry .pets for other Chrome 'apps', extract the .pet.....and study the content. To obtain the 'id_string' for any 'app', right-click on its icon in the App Launcher, once you've created it. Choose 'Create Shortcuts...in our case, you only need to tick the checkbox for 'Desktop', followed by 'OK'.

 

If you go into /root/Desktop, you'll now see a file titled 'Appname-[long string of letters]-Default.desktop'. That long string of letters is what you're after; that IS the 'app_id'. Edit everything where necessary to suit. Suitable PNG icons can usually be found for pretty much ANYTHING with a web search or two.)

 

Since you now have a Menu entry, you can also add it to the launcher area on the tray.....so you can launch it with a single click without even opening the Menu! Easy when you know how...

 

Have fun.


 Mike.  :wink:


Edited by Mike_Walsh, 10 November 2017 - 03:40 PM.

Distros:- Nowt but Puppies.....
My Puppy Packages ~~~ MORE Packages ~~~ ....and STILL more!
HP Pavilion mid-size tower - 590-p0024na; Pentium 'Gold' G5400 dual-core with H/T @ 3.7 GHz; 32 GB DDR4 RAM; Nvidia GeForce GT710 graphics (2 GB GDDR5) with 'passive' cooler; 1 TB Crucial MX500 SSD primary;  3 TB Seagate Barracuda HDD secondary; 1920x1080 HP 22w LED monitor; 7-port powered USB 2.0 hub; Logitech c920 HD 'Pro' webcam

 

forum-siggy-small.png
 
 


BC AdBot (Login to Remove)

 


#2 Mike_Walsh

Mike_Walsh

    Bleepin' "Puppy" fanatic...

  • Topic Starter

  •  Avatar image
  • Moderator
  • 4,813 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:King's Lynn, UK
  • Local time:05:53 AM

Posted 18 April 2019 - 06:23 PM

Just thought I really ought to add to this. To clarify the situation, Google decided (in their 'wisdom') to drop the code that permits you to do this from around Chrome 60 onwards. So you can't do this trick any longer. Not if you're the sort of individual who insists on always running the very newest version of your browser, the instant it's released.....

 

 

Mike. manshrug-small.gif


Distros:- Nowt but Puppies.....
My Puppy Packages ~~~ MORE Packages ~~~ ....and STILL more!
HP Pavilion mid-size tower - 590-p0024na; Pentium 'Gold' G5400 dual-core with H/T @ 3.7 GHz; 32 GB DDR4 RAM; Nvidia GeForce GT710 graphics (2 GB GDDR5) with 'passive' cooler; 1 TB Crucial MX500 SSD primary;  3 TB Seagate Barracuda HDD secondary; 1920x1080 HP 22w LED monitor; 7-port powered USB 2.0 hub; Logitech c920 HD 'Pro' webcam

 

forum-siggy-small.png
 
 


#3 Mike_Walsh

Mike_Walsh

    Bleepin' "Puppy" fanatic...

  • Topic Starter

  •  Avatar image
  • Moderator
  • 4,813 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:King's Lynn, UK
  • Local time:05:53 AM

Posted 07 October 2020 - 03:17 PM

Just thought I really ought to add to this. To clarify the situation, Google decided (in their 'wisdom') to drop the code that permits you to do this from around Chrome 60 onwards. So you can't do this trick any longer. Not if you're the sort of individual who insists on always running the very newest version of your browser, the instant it's released.....

 

 

Mike. manshrug-small.gif

Sorry, guys, I have to refute the above info once more.....because from around Chrome 79 onwards, that code has been re-activated again. I do wish Google would make their mind up.....though, of course, they may have temporarily disabled it just for the Linux release.

 

 

Mike.  :wink:


Distros:- Nowt but Puppies.....
My Puppy Packages ~~~ MORE Packages ~~~ ....and STILL more!
HP Pavilion mid-size tower - 590-p0024na; Pentium 'Gold' G5400 dual-core with H/T @ 3.7 GHz; 32 GB DDR4 RAM; Nvidia GeForce GT710 graphics (2 GB GDDR5) with 'passive' cooler; 1 TB Crucial MX500 SSD primary;  3 TB Seagate Barracuda HDD secondary; 1920x1080 HP 22w LED monitor; 7-port powered USB 2.0 hub; Logitech c920 HD 'Pro' webcam

 

forum-siggy-small.png
 
 





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users