gtk-youtube-viewer (for lots of pups)

Browsers, email, chat, etc.
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#256 Post by fredx181 »

Hi sindi, glad it's useful for you somehow !
I'm not sure if you managed to save the session already, anyway here's some info:
A save folder may be the most convenient, but works only on a linux filesystem e.g. ext2/3/4
And best is to place the "live" folder in a folder with a unique name, e.g. for below example: "dwheezy-jwm"
(see also "Examples for several DebianDog frugal install on different partitions ..." on the porteus-boot wiki page, at the bottom)
And the "from=" and "changes=" parameters accordingly:

Code: Select all

title DebianDog Wheezy-jwm -  changes to /dwheezy-jwm/live
 root (hd0,0)
 kernel /dwheezy-jwm/live/vmlinuz1 from=/dwheezy-jwm noauto changes=/dwheezy-jwm/live/ 
 initrd /dwheezy-jwm/live/initrd1.xz
Then the changes will be in "/dwheezy-jwm/live/changes" folder. (folder "changes" will be automatically created)
For to save only at shutdown (choice to save or not) make it: changes=EXIT:/dwheezy-jwm/live/

For to create save file, run from Menu > Utility > Make Save file
And if the location is "/dwheezy-jwm/live/changes dat" make it "changes=/dwheezy-jwm/live/changes.dat" on the kernel line.
(but note that the changes are not directly saved after creating savefile (need to reboot, then the savefile will be mounted), newer 'dogs' can do that, but this old version not)

Fred

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

saving changes to debiandog

#257 Post by sindi »

Debiandog is sharing a partition with several puppy linuxes.

title DebianDog 902 (sda5)
root (hd0,4)
kernel /dog902/live/vmlinuz1 noauto from=/dog902/ changes=EXIT:/dog902/live/changes.dat
initrd /dog902/live/initrd1.xz

(The changes line is part of the previous line but when I type things in a GUI I am restricted to a narrow box, and lines wrap).

A 100MB save file changes.dat was created in live, along with various empty subdirectories, when I shut down yesterday.
ext2

When I try to reboot it complains about trying to access
/memory/changes/mnt/live

no space left on device.

I have 7GB free space.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

debiandog working properly with 'EXIT'

#258 Post by sindi »

With 'EXIT' added to menu.lst and a reboot everything is working now.
menu.lst as posted here

I may use DebianDog 9.02 (2015) as the default OS on this 1.6GHz laptop. It is newer than both Wary (2013) and Lupu2016 (with 2010 libraries), and the squashfile is a lot smaller and it runs in less memory and seemingly faster (though with larger kernel). I added ssh and youtube-viewer.

If google had not broken smtube again I might never have known about Debiandog. It seems ideal for slower hardware with less RAM.

Next problem is to figure out why 54G pcmcia cardbus cards download at 1.4Mbps and 850Kbps in two laptops from 2003 and 2004. Onboard wifi (B) does 5.6Mbps.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#259 Post by fredx181 »

sindi wrote:A 100MB save file changes.dat was created in live
That's very small, the cache used by the package manager (after "apt-get update") takes already around 100MB, so better use bigger save file .
For info, with the EXIIT option the changes are in RAM, so a lot faster, but limited to 60% of your RAM.
You can increase to e.g. 90%, by adding to kernel boot line:

Code: Select all

ramsize=90%
So, say, you install a lot of packages (or download big file to e.g. /root) you will run out of space when it's more than that % of your RAM size.

Fred

hamoudoudou

About gtk-youtube-viewer Puppy version would have been nice

#260 Post by hamoudoudou »

About gtk-youtube-viewer Puppy version would have been nice. for downloads they are so may addons available even for old browsers that i don't miss a pet.
(1click download addon for Palemoon is perfect)

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

debiandog no longer boots

#261 Post by sindi »

I tried to boot to Debiandog again and it won't finish booting.
ID 1 respawning too fast
Disabled for 5 minutes.

Ctrl-Alt-Del to reboot.

ID z6 respawning too fast.

I powered off and then on again to Wary puppy linux instead.

I presume deleting changes.dat would fix the problem but then I will need
to download everything again - updates, ssh, and youtube-viewer.

Is there a simpler fix?

This 1.5GHz laptop uses over 100% of cpu and ram to play 240p youtube with palemoon.
Quite jerky. It has nice sound and screen.

Slow wifi but the download is faster than the playing.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#262 Post by fredx181 »

sindi wrote:I tried to boot to Debiandog again and it won't finish booting.
ID 1 respawning too fast
Disabled for 5 minutes.

Ctrl-Alt-Del to reboot.
Sorry, I've seen that "respawning too fast" message long time ago, but can't remember what's causing it.
Indeed try to start all over again could fix it, if you do, better use a larger savefile (just guessing, but too small savefile could be the cause)

Fred

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

debiandog won't boot on AMD64 2008 HP

#263 Post by sindi »

I unpacked the iso as on the 2004 DELL, and copied the menu.lst entry (by hand) as follows:


title dog902 wheezy (sda5)
root (hd0,4)
kernel /dog902/live/vmlinuz1 from /dog902/ noauto changes=EXIT:/dog902/live/changes.dat nouveau.modeset=0
initrd /dog902//live/initrd1.xz

The only difference was that I added nouveau.modeset=0 because
no puppy later than lupu can handle the nvidia chip on here.
Lupu uses nv and later puppies use nouveau which scrambles even terminal mode. modeset=0 helps somewhat.

Is that interfering somehow?


I also tried
from /dog902/live.

I copied the sgn file to /dog902/

I tried (sda5/live) on the first line

The .sgn file is in 'live' as before.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

debiandog booted from IDE not SATA drive

#264 Post by sindi »

Only other obvious difference between laptops is IDE vs SATA.

The modeset line was irrelevant.

dpup stretch boots on here (with wrong resolution) - maybe youtube-viewer will work with it.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#265 Post by fredx181 »

="sindi"unpacked the iso as on the 2004 DELL, and copied the menu.lst entry (by hand) as follows:


title dog902 wheezy (sda5)
root (hd0,4)
kernel /dog902/live/vmlinuz1 from /dog902/ noauto changes=EXIT:/dog902/live/changes.dat nouveau.modeset=0
initrd /dog902//live/initrd1.xz
That looks ok, no need to change "from=" or "changes=" but I don't know about the "nouveau.modeset=0", it could be the problem, you did try without ?
(from google search I found that "respawning too fast" has to do with X server)

Fred

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#266 Post by fredx181 »

sindi wrote:I unpacked the iso as on the 2004 DELL, and copied the menu.lst entry (by hand) as follows:


title dog902 wheezy (sda5)
root (hd0,4)
kernel /dog902/live/vmlinuz1 from /dog902/ noauto changes=EXIT:/dog902/live/changes.dat nouveau.modeset=0
initrd /dog902//live/initrd1.xz
I see now after looking better at your kernel line that "from" is missing the "=", should be from=/dog902/
Otherwise it won't find the data and gets stuck on "searching for wheezy-i486.sgn"

Fred

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

fixed menu.lst, thanks; where to find modules?

#267 Post by sindi »

The equal sign fixed things.

I do need nouveau.modeset=0 to make video work.
As with puppies Tahr and later, it is scrambled otherwise (nouveau). nv in lupu/sulu works correctly.
modeset=0 I gives 1024x768 instead of 1280x800, which stretches things sideways.
youtube-viewer works at 720p, sound works, ethernet works.

Where do I find modules fbcon tileblit and related, or if not needed, where do I put vga=791 in menu.lst?

Where do I find ipw2100? Puppy comes with most wifi modules already.

Still cannot reboot even on my newest laptop (2008 or 2009) - it just halts, says to hit Ctrl-D, and I power off.
Also I chose 200MB save file and it saved 100MB. Maybe I missed something.

It rebooted okay anyway so 100MB is enough (for rxvt ssh and youtube-viewer and updates).

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#268 Post by fredx181 »

sindi wrote:Where do I find modules fbcon tileblit and related, or if not needed, where do I put vga=791 in menu.lst?
Don't know about fbcon tileblit, you can add vga=791 to the kernel line.
Where do I find ipw2100
Install from synaptic or with apt-get "firmware-ipw2x00"

Fred

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

ipw2100 and fbcon and shutdown

#269 Post by sindi »

Shutdown works on the newer laptop (AMD65 HP from 2008-9) but not on the 2004 DELL 600M.
fbdev (framebuffer terminal) works automatically on the DELL but not the HP so must be
part of the nouveau video problem. (Does not work with later puppies either).

I already tried apt-get install firmware-ipw2x000 and it could not find anything.
Should I not type install? I have never used Debian.

Debdog does work with a pcmcia wifi card in my other 600M (at 850 kbps download)
but I am running out of cards since most laptops have dead wifi slots by the time they reach us.
We can use ethernet cables. The cheap USB wifi cards I tried work in XP but not linux.

This is so much nicer than fighting with google at youtube.com.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#270 Post by fredx181 »

sindi wrote:I already tried apt-get install firmware-ipw2x000 and it could not find anything
One 0 too many, it's :

Code: Select all

apt-get install firmware-ipw2x00
(I assume you did "apt-get update" already, since I think you installed youtube-viewer and did that before)
If you don't have internet connection, download from another OS:
http://ftp.de.debian.org/debian/pool/no ... .1_all.deb
Then install single .deb package in debdog:

Code: Select all

dpkg -i firmware-ipw2x00_0.36+wheezy.1_all.deb
Fred

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

ipw2x00 installed but no wifi signal with ipw2100 debiandog

#271 Post by sindi »

I downloaded the ipw2x00 package on another laptop and moved it via USB flash drive. I had to agree to a license agreement using a confusing sequence of arrow keys. It appears to have installed.
There are a few ipw type modules inserted (libipw ipw2100).

Still no wifi signal found by debiandog wheezy.

The card works in wary 5.5 puppy.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

#272 Post by sindi »

b44 ethernet works automatically on the DELL 1150 but there is still no wifi signal.
I will check again if the card works with wary puppy. I had it marked 'good'.

I can play a 480p video with 99.9% CPU usage and it is not jerky but I can't do much else at the same time.
This laptop tests out as fast as my 2001 Pentium III, which could not even play 240p youtube with browser.

I can therefore find homes for 2003 (or slightly older) laptops with 512MB RAM, for browsing with palemoon and watching
youtube without a browser. Someone who just bought three 2003 desktops ($5 each complete) is interested. But they will
want wifi.

Thanks for explaining how to download debian files without an internet connection on the target computer.
And correcting my typing errors.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

youtube-player without X?

#273 Post by sindi »

I have played mp4 files with mplayer and fbdev.

youtube-player -h has settings for choosing the video player.
It says vlc or mpv are available, but not mplayer.

--videoplayer=s

It also gives a setting for choosing video device for MPlayer.
-vo=s

Fill in fbdev for s.

I experimented but can get only audio in framebuffer mode.

Not using X might let me play at 720p (reduce CPU usage).
It could improve 480p performance.

Any ideas how to use mplayer in fbdev mode for playing the videos
without using youtube-dl first to download them?

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

ipw2100 not working on two laptops with debiandog

#274 Post by sindi »

Two DELL Inspiron laptops have ipw2100 cards (which do WPA but not WPA2) which work with lupu etc. but not with
debiandog. The same modules get installed but no wireless connection is found.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

cde package youtube-viewer

#275 Post by fredx181 »

Hi sindi, I've made a "cde" package for youtube-viewer, it runs OK for me on Lucid :
https://dl.dropboxusercontent.com/s/hmu ... ar.gz?dl=1
It has the complete setup from Wheezy, included:
- youtube-viewer and gtk-youtube-viewer
- mpv
- youtube-dl (updated to latest)
- perl and python (required for youtube-viewer and youtube-dl
- and a lot more required, libraries etc...

Maybe this is better solution than running old DebianDog (specially for youtube-viewer), because this runs (most probably) from any 32-bit Linux OS.
In case you don't know what "cde" is: http://www.pgbovine.net/cde.html
It creates sort of a portable "package" which has the complete environment inside that's required for to run a certain program, disadvantage is very large size.
Extracted, this youtube-viewer package is 55MB

Extract yt-viewer.tar.gz somewhere (but MUST be on Linux filesystem, not FAT32 or NTFS)
And run "gtk-youtube-viewer.cde" or "youtube-viewer.cde" from inside yt-viewer folder.

EDIT: About mplayer, I couldn't make it run using mplayer, so only mpv, but as I said earlier, mpv combined with youtube-dl is the best, because there are no exceptions, i.e. all video's (including e.g. Vevo) will play.
(mplayer cannot connect with youtube-dl)

Fred
Attachments
yt-viewer_on_lucid.jpg
youtube-viewer running on Lupu
(41.98 KiB) Downloaded 666 times

Post Reply