Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 22 Oct 2019, 12:05
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
DebianDog - Wheezy
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 94 of 99 [1481 Posts]   Goto page: Previous 1, 2, 3, ..., 92, 93, 94, 95, 96, 97, 98, 99 Next
Author Message
fredx181


Joined: 11 Dec 2013
Posts: 4125
Location: holland

PostPosted: Sat 06 Apr 2019, 14:46    Post subject:  

Hi sindi

Just tested from fresh install of DebianDog-Wheezy-Jwm, changed sources.list to now containing:
Code:
deb http://www.smokey01.com/saintless/DebianDog/Packages/ ./
deb http://archive.debian.org/debian/ wheezy main contrib non-free

then , after "apt-get update", I did :
Code:
apt-get install youtube-viewer

(or can be installed from Synaptic also)
And all went fine, gtk-youtube-viewer installed correctly and works OK for me.

Quote:
Unmet dependencies (after running apt-get -f install as suggested) for ssh and youtube-viewer.

I don't understand that, where is "apt-get -f install" suggested ? No need for that, I'd say, if doing above.
EDIT: Oh I see, probably it's suggested after it failed to install, still... I think, doing above should work.

Please check if your /etc/apt/sources.list is exactly correct, that's the most important.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 974
Location: Ann Arbor MI USA

PostPosted: Sat 06 Apr 2019, 14:58    Post subject: sources.list - is it two lines?  

Is sources.list two lines as shown in your post,
the first line ending in / ./
?

I am using DebianDog-Wheezy-jwm_icewm-2015-09-02.iso

Which version of youtube-viewer do you have? My cde-exec pet
version is 3.15 and there is 3.50 available now.

More after dark. It is 69F and dry out today after a long cold winter.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4125
Location: holland

PostPosted: Sat 06 Apr 2019, 15:15    Post subject: Re: sources.list - is it two lines?  

sindi wrote:
Is sources.list two lines as shown in your post,
the first line ending in / ./
?

Yes and yes
Maybe best to use text-editor, e.g. leafpad for that (copy/paste) see pic
Quote:
Which version of youtube-viewer do you have? My cde-exec pet
version is 3.15 and there is 3.50 available now.

Version 3.1.5 only available for Debdog wheezy (it's from http://www.smokey01.com/saintless/DebianDog repo)

Quote:
I am using DebianDog-Wheezy-jwm_icewm-2015-09-02.iso

Same as I'm testing on now.

Fred
sources.list.png
 Description   sources.list
 Filesize   42.61 KB
 Viewed   340 Time(s)

sources.list.png


_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 974
Location: Ann Arbor MI USA

PostPosted: Sat 06 Apr 2019, 22:03    Post subject: sources.list  

Here is my sources.list (pasted in using lynx and pico
after uploading it to my netbsd shell account where I do mail).
When I edited it in debiandog the words were various colors.

#DebianDog repository:
deb http://www.smokey01.com/saintless/DebianDog/Packages/ ./
deb http://archive.debian.org/debian/ wheezy main contrib non-free

Do you know why the shapes of the letters change during boot from
rounded to squared? The former looks like framebuffer console in
puppy linuxes.

Perhaps updated files from youtube-viewer 3.5 package could be
substituted for some files in 3.1.5 version. Frequently youtube
videos do not play in youtube-viewer that play on a phone with
Tubemate.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4125
Location: holland

PostPosted: Sun 07 Apr 2019, 03:00    Post subject:  

sindi wrote:
Perhaps updated files from youtube-viewer 3.5 package could be
substituted for some files in 3.1.5 version. Frequently youtube
videos do not play in youtube-viewer that play on a phone with
Tubemate.


If you don't have it already, installing youtube-dl would be a great improvement, but it depends on python, so then:
Code:
apt-get install python

Download and install youtube-dl:
Code:
curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
# make executable
chmod a+rx /usr/local/bin/youtube-dl


Then there's good chance that the videos will play (which didn't before) in gtk-youtube-viewer. (because mpv can make use of youtube-dl)
(I tested this and works fine, only thing: starting the video may take a while)

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 974
Location: Ann Arbor MI USA

PostPosted: Thu 11 Apr 2019, 11:36    Post subject: debian-dog jessie needs new sources-list  

Snowed here, back to linux. Trying jessie today.

To a DELL 600M laptop with 1GB RAM I downloaded jessie (32-bit, jwm)
I think from ibiblio. It uses close to 768MB RAM. I modified the
menu.list lines for wheezy. jessie still uses wheezy*sgn.

One of my laptops cannot be upgraded cheaply from 512MB (microdimms),

wheezy works there. (Tahr won't boot, lupu and wary have video problems).

What can I remove from jessie to reduce memory without compiling my own
kernel? I see an awful lot of modules loaded for pata, scsi, parport,
joystick, modem, etc. Would it help to rmmod them? I don't use the
modem. The DELL has dead wifi slot and usb and battery and would boot
faster without looking for them.


apt-get update cannot find kazzas.... files, which were deleted.
What do I change the first line of sources.list to?
It would help to update the iso's online.

apt-get install ssh worked (I am online with it)

palemoon 28.4.1 worked (run from its own directory)

I see gtk3 so Firefox 52.9 ESR ought to work.

I have not yet tried installing python and youtube-dl in debiandog wheezy.

Jessie has perl 5.20. youtube-viewer old version needs 5.14 and python
2.7 (which I just installed).

youtube-dl apparently installed its own python files. They add to about
50MB of new files but probably lots of overlap. apt-get remove python
removed about 600K.

apt-get install youtube-viewer - unable to locate the package
(until I fix sources.list).
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 974
Location: Ann Arbor MI USA

PostPosted: Fri 12 Apr 2019, 13:15    Post subject: youtube-viewer 3.5.0
Subject description: works standalone from the 'all' pet
 

I downloaded the latest 3.5.0 gtk-youtube-viewer pet and extracted it to /mnt/home/ and wrote a script to use youtube-viewer standalone, which works with ddog wheezy. (The gtk-viewer part does not work). I will test it at sites where 3.1.5 does not work.

If I can get ddog wheezy to install the 3.1.5 version I will then compare files and try to update youtube-dl etc. and make an updated .deb package.

Are there smaller debian kernels? ddog wheezy with 2.5GB kernel uses 600MB RAM in low-ram mode with PaleMoon 28.4.1 (100MB for X and PM, the rest for kernel and modules?) which makes it unusable on my older laptops with 512MB. (Including a 2004 ASUS with screwy video that will not display right with wary or lupu or even boot tahr). Modules are loaded for every pata and sata drive, serial, parallel, modem, wifi (dead slot), battery (dead), joystick...
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4125
Location: holland

PostPosted: Fri 12 Apr 2019, 13:47    Post subject:  

sindi wrote:
Are there smaller debian kernels? ddog wheezy with 2.5GB kernel uses 600MB RAM in low-ram mode with PaleMoon 28.4.1 (100MB for X and PM, the rest for kernel and modules?) which makes it unusable on my older laptops with 512MB.


Where do you get that number from ? (600MB RAM) for me at initial boot it's only 50MB RAM ! (from Htop display)
Quote:
I downloaded the latest 3.5.0 gtk-youtube-viewer pet and extracted it to /mnt/home/ and wrote a script to use youtube-viewer standalone, which works with ddog wheezy. (The gtk-viewer part does not work). I will test it at sites where 3.1.5 does not work.


Better stick with 3.1.5 from repo, I'd say (which is working well with the included Perl version)

Quote:
Modules are loaded for every pata and sata drive, serial, parallel, modem, wifi (dead slot), battery (dead), joystick...


You can try unloading these, it will decrease RAM usage, but not much, I think.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 974
Location: Ann Arbor MI USA

PostPosted: Fri 12 Apr 2019, 15:22    Post subject: memory usage in wheezy  

If I subract cache (listed under swap though I have no swap file) and buffers it is 100MB memory usage including X and Pale Moon. I won't worry about kernel size.

I just noticed youtube-viewer in /usr/bin/ (3.1.5) but it can't locate Data Dump.pm in ..... (lots of things with perl in the name). gtk-youtube-viewer cannot find Gtk2.pm

I tried again to apt-get install ssh and then as suggested I ran apt-get -f install and this time it downloaded a bunch of missing dependencies for ssh and youtube-viewer including mpv and various perl packages.

I seem to have fixed sources.list. thanks for all the help.

youtube-viewer --480p 'search term' works now on my 2004 laptop.
About 62% CPU usage for mpv plus Xorg. At 720p about 88% and I can watch even with Palemoon 28.4 also loaded!!!!!

This is a big improvement over the puppy pet, which worked in ddog or lupu only up to 480p and required loading youtube-viewer before searching.

Watching youtube from Palemoon at 360p uses over 100% cpu
(of a video with little action, not theater mode or full screen).

Many advantages of 2015 Debiandog wheezy over various 2010-2014 puppies, on an older laptop:

1). Low RAM usage (including a low-RAM mode of X).
2) video works on an ASUS M5000 where wary displays with missing screen bottom, lupu crashes if I try to access a vt, and tahr cannot find /usr/bin. (I will try it on a Compaq V2000 next, which also crashes if I try to use a vt, and on various other 2003-2005 laptops which do not work with lupu or tahr, or lupu lacks fbcon).
3) works directly with Palemoon 28.4. (and Jessie should work
with Firefox 52.9 ESR which needs gtk 3).
4) works directly with youtube-viewer 3.1.5 (and I may manage to
replace a few files to get 3.5) at 720p (instead of indirectly at only 480p) even with Palemoon also running.

Nice to see elinks and mplayer.

I will research how to install printer drivers.

There is a forum discussion about replacing kernels in puppy.
How do i use a 2.6 kernel and modules in debiandog (on an HP dv6500 which does not support the nouveau chip in later kernels)?

What is better about jessie besides gtk3, for 2002-2007 laptops?
gtk-youtube-viewer cannot locate Glib.pm but I don't need it. The menu item for it does nothing either.
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 974
Location: Ann Arbor MI USA

PostPosted: Sun 14 Apr 2019, 13:18    Post subject: rebooted, youtube stopped working, blank Dump.pm and scripts  

I rebooted (possibly with Ctrl-Alt-Del instead of typing wmreboot) and now Youtube is no longer working. Perhaps something did not get saved properly. There is no dialog about saving things when I reboot that way.

Data/Dump.pm did not return a true value at /usr/bin/youtube-viewer at line 431. (When run from a non-X terminal).
Dump.pm is blank.

Also two small scripts I wrote (one was to ssh to my mail provider)
were blank after reboot. I rewrote one, saved it, chmod +x, wmreboot and it is blank again. So is Dump.pm

aptget update does not help.

aptget install youtube-viewer lists missing dependencies again.

aptget -f install did not help. Every time I run it is says it will use another 22MB disk space. I ran it a few times.

Palemoon 28.4 still works.
sources.list is still what it should be (smokey and archive).

Fred, can you reboot and still use youtube-viewer and is there a Dump.pm with something in it? Do scripts erase themselves?
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4125
Location: holland

PostPosted: Mon 15 Apr 2019, 14:02    Post subject:  

sindi wrote:
Fred, can you reboot and still use youtube-viewer and is there a Dump.pm with something in it? Do scripts erase themselves?


I have no such problems, I tested again by starting with fresh save, first changed sources.list and did:
Code:
apt-get update
apt-get install youtube-viewer
# recommended to install youtube-dl, first install dependency python:
apt-get install python
curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
# make executable
chmod a+rx /usr/local/bin/youtube-dl

And it works fine for me, also after reboot, I think something went wrong for you in the process of first trying to install before you changed sources.list

I'd advice to start fresh and try the above.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak

Last edited by fredx181 on Tue 16 Apr 2019, 13:38; edited 1 time in total
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 974
Location: Ann Arbor MI USA

PostPosted: Mon 15 Apr 2019, 16:21    Post subject: Starting with correct sources.list makes things work  

The best part of puppy linux is all the help in the forums.

I deleted changes.dat, started over, edited sources.list and also made two scripts, apt-get update, apt-get install youtube-viewer. youtube-viewer and even gtk-youtube-viewer now work. I copied ssh and sftp to /usr/local/bin from where i had saved them.

I then rebooted using the menu in X (which did NOT work, I had to power off). The new scripts are still there.

Can someone (Fred?) modify the iso files with the correct sources.list or at least add the info to the first post in this discussion? It would save everyone time in the long run.

720p works even with gtk-youtube-viewer dialog box onscreen behind the youtube video that is playing. Pale Moon and ssh work too.

I look forward to copying this setup to five other 2003-2005 laptops which do not work with lucid puppy (some of them also not with wary or tahr).

How do I keep the font from changing during boot from rounded to squared style? It changes about the time I see something about fonts onscreen. In a terminal, not X. I am used to the former font.

What advantage is there to jessie for a 2003-2005 laptop other than that it has gtk3? Can I add gtk3 to wheezy?

I do not find youtube-dl or yt-dl in /usr/bin, /usr/local/bin, or youtube-viewer script. It appears to download with wget.
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 974
Location: Ann Arbor MI USA

PostPosted: Tue 16 Apr 2019, 04:09    Post subject: no reboot or poseroff  

using jwm menu reboot stops
partway says to type ctrl d
poweroff halts does not turn off
on dell 600m 2004 where both
work with puppies from menu or
wmreboot or wmpoweroff.
i think wmreboot from vt worked.

installed yt viewer from vt not
x/jwm said no display did not
make menu item no problem as
i start programs from terminal.
and i can edit .jwmrc.

yt viewer works without x
audio only. i will try to get
mpv working with framebuffer
video. uses less cpu good on
older computers. mplayer -vo
fbdev works in puppies to play
dvds without x. does debdog
use framebuffer? why does
terminal font change during
boot?
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4125
Location: holland

PostPosted: Tue 16 Apr 2019, 13:55    Post subject:  

sindi wrote:
I do not find youtube-dl or yt-dl in /usr/bin, /usr/local/bin, or youtube-viewer script. It appears to download with wget.


Best to use the curl command to install youtube-dl, see my previous post, but I forgot to add that python has to be installed, edited above now to:
Code:
# recommended to install youtube-dl, first install dependency python:
apt-get install python
curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
# make executable
chmod a+rx /usr/local/bin/youtube-dl


Yes, you can install gtk3 in wheezy
Code:
apt-get install libgtk-3-0


Jessie has more modern software and is officially still maintained (till 2020, I believe) for security fixes and maybe more, but I'm not sure what exactly.
The sources.list for DebianDog-Jessie needs some changes (e.g. kazza repo not working anymore), tell me if you are interested and I'll try to figure out how exactly.

EDIT: I know very little about framebuffer, so can't help with that.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 974
Location: Ann Arbor MI USA

PostPosted: Tue 16 Apr 2019, 14:06    Post subject: youtube-dl not needed by youtube-viewer  

Why do you suggest downloading youtube-dl? I already have the latest version in puppy
(no dependencies) but do not use it since I have youtube-viewer (which downloads with wget).
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 94 of 99 [1481 Posts]   Goto page: Previous 1, 2, 3, ..., 92, 93, 94, 95, 96, 97, 98, 99 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2150s ][ Queries: 13 (0.1536s) ][ GZIP on ]