Slacko 5.7 final - 8 March 2014

A home for all kinds of Puppy related projects
Message
Author
User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

Something's wrong with CURL..?

#521 Post by SFR »

[posted by mistake, moved to another thread]

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#522 Post by Tman »

Hi all,

I just tried to download the kernel sources 3.4.82 sfs using Sfs Manager and I got a "broken link" error. Has anyone else been able to download the kernel sources? Perhaps, from a different link?

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#523 Post by mavrothal »

Tman wrote:Hi all,

I just tried to download the kernel sources 3.4.82 sfs using Sfs Manager and I got a "broken link" error. Has anyone else been able to download the kernel sources? Perhaps, from a different link?
http://distro.ibiblio.org/puppylinux/pe ... g_f2fs.sfs
(or from a faster mirror)

Looks like a bug in sfs_mgr
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#524 Post by SFR »

Here's the fix for sfs_mgr:
http://www.murga-linux.com/puppy/viewto ... 174#765174

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#525 Post by mavrothal »

SFR wrote:Here's the fix for sfs_mgr:
http://www.murga-linux.com/puppy/viewto ... 174#765174

Greetings!
No. Actually that's what is in 5.7 and is broken because the devx grep overwrites the kernel grep.
Here is the fix for the kernel source.

Code: Select all

--- a/usr/sbin/sfs_mgr	2013-12-29 23:50:33.000000000 +0200
+++ b/usr/sbin/sfs_mgr	2014-03-29 17:54:22.000000000 +0200
@@ -112,8 +114,8 @@
      cp -f /tmp/sfs_mgr_input /tmp/sfs_mgr_input0
      fi
    done
-grep -v -E "kernel|krn" /tmp/sfs_mgr_input0 > /tmp/sfs_mgr_input1
-grep -v -E "devx" /tmp/sfs_mgr_input0 > /tmp/sfs_mgr_input1
+grep -v -E "kernel|krn|devx" /tmp/sfs_mgr_input0 > /tmp/sfs_mgr_input1
+#grep -v -E "devx" /tmp/sfs_mgr_input0 > /tmp/sfs_mgr_input1
 grep $KVER /tmp/sfs_mgr_input0 >> /tmp/sfs_mgr_input1
 grep -E  "${DISTRO_VERSION}\.sfs" /tmp/sfs_mgr_input0 >> /tmp/sfs_mgr_input1
 cp -f /tmp/sfs_mgr_input1 /tmp/sfs_mgr_input
You still need the said pet for the devx.
Hm, maybe I make a new pet with both.

A bit Latter: Here is a pet that will correct both the devx and kernel source download with SFS Manager.
Attachments
sfs-mgr-patch-2.pet
(2.58 KiB) Downloaded 309 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#526 Post by Tman »

Thnaks for the pet, Marthovol :)
I am about to go to sleep right now, but will download and test it tommorrow.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#527 Post by nooby »

Should I start a new thread or ask in this thread about Slacko 5.7.

Barry recommend we use it and others do too.

The problem for me is that I have Firefox symlinked from the HD
to the OS So Firefox browser need no save file filled with cache

and such taking up a lot of space.

Now if I do a frugal install of Slacko 5.7 having two such
would require me being able to isolate from from each other
so they work well together,

I feel very unsure of if it helps to have these in two separate Directories.
I could maybe make use of two separate computer but that feels like
overkill and not so practical to use.

And one can not make use of both FF connecting to same symlink?

So what would you suggest? I lack needed knowledge on how to do it.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#528 Post by MochiMoppel »

nooby wrote:Should I start a new thread or ask in this thread about Slacko 5.7.
You are already asking, but I don't see how this is related to Slacko 5.7. It's a FF question, not even limited to Puppy.
Now if I do a frugal install of Slacko 5.7 having two such
would require me being able to isolate from from each other
so they work well together
If you run FF from outside the savefile and if, as you say, the cache doesn't fill the savefile, then you must have configured to use a cache directory other than /root/.cache/mozilla/firefox. If this is the case, then running Slacko's built-in FF and your HD FF in paralled should be no problem. What I dont' understand: If you already use your customized FF, why do you care for the (outdated) built-in FF? Just don't use the latter.
Even if both FF installation share the same cache, there should be no problems (my experience with Opera. FF could be different). Letting both installation share the same profile could be a bigger problem if the versions are different. By default the built-in and your HD FF use the same profile directory /root/.mozilla/firefox. You can change this by starting FF with the -profile <profilepath> command line option and thus keep profiles completely separate.
And one can not make use of both FF connecting to same symlink?.
What symlink? Do you need one?

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#529 Post by Tman »

mavrothal, your pet fixed my problem with sfs manager, thank you.

@01micko & all,

Currently, I have found 2 issues with the new Slacko 5.7.

(1) My wired internet connection was not autodetected upon first boot.
I was easily able to configure it to get an internet connection, but noobs might have a harder time.

(2) When I tried to install other Window Mangers (specifically xfwm4 and openbox), no icons would appear in the tray. Whereas when I tried Jwm with the same panels, the tray icons would appear. I noticed that delayedrun has changed since Slacko 5.5 (I didn't try out version 5.6 much, so I'm not sure about the delayedrun in that version). But when I tried to copy over the delayedrun file in Slacko 5.5 and restarted, my problem was not fixed.. so I reverted back to the original 5.7 delayedrun file.

I hope these issues will get resolved in future releases. On the bright side, the new graphical interfaces are looking nice! Eg. logout_gui, internet connection interface.. etc.

For those who want a more detailed look under the hood of what I've done, please see my JX_Slacko 5.7 release version 0.2 in the link below.
http://www.murga-linux.com/puppy/viewtopic.php?t=92693
Attachments
jwm+xfce4panel.jpg
(8.27 KiB) Downloaded 1027 times
xfwm4_xfce4panel.jpg
(6.63 KiB) Downloaded 960 times
jwm+tint2panel.jpg
(7.36 KiB) Downloaded 972 times
openbox+tint2.jpg
(8.77 KiB) Downloaded 1019 times

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#530 Post by mavrothal »

Tman wrote: (2) When I tried to install other Window Mangers (specifically xfwm4 and openbox), no icons would appear in the tray.
This is because autostarting apps have been moved to /root/.config/autostart.
Your panel config should look there for these.
You could symlink /root/Startup to /root/.config/autostart but then you may also want to modify /etc/xdg/templates/_root_.jwmrc so will not start apps in /root/.config/autostart, or you end up with double icons.
Keep in mind though that option b could be broken after some pet installation, so I would go with option a. Besides, having auto started files in /{etc,$HOME}/*/autostart is rather the standard in linux.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#531 Post by Tman »

Hi mavrothal, that was one quick reply
mavrothal wrote: This is because autostarting apps have been moved to /root/.config/autostart.
Ahh..so that is where they went to. I tried the symlink method and rebooted, but sadly, no tray icons did appear in Openbox and I did not get double icons in the JWM tray. Perhaps when you have time, you could give my puplet a test?

Anyway, thanks for your help.. logging out.. off to sleep soon.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#532 Post by mavrothal »

Tman wrote:I tried the symlink method and rebooted, but sadly, no tray icons did appear in Openbox and I did not get double icons in the JWM tray. Perhaps when you have time, you could give my puplet a test?
Ah, that's probably because they are desktop files instead of executables and they need to be called with xdg-open. So delayedrun has to be modified too at line 162. But since is going to be used for both scripts and desktop files should be a bit more complex than just adding "xdg-open".
see if this may work in line 162

Code: Select all

if [ -x "$a" ];then $a &; xdg-open $a &
Though as I said is better to go with option (a) ;)
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#533 Post by Tman »

mavrothal wrote: Though as I said is better to go with option (a) ;)
Uhh.. I'm clueless as how to accomplish option a that at this moment :oops: but will try to look into it. Thanks for the advice.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#534 Post by mavrothal »

Tman wrote: Uhh.. I'm clueless as how to accomplish option a that at this moment :oops: but will try to look into it. Thanks for the advice.
Openbox reads $HOME/.config/openbox/autostart and XFCE $HOME/.config/xfce4/xinitrc, usually.
So you can add something similar to the jwmrc entry ie

Code: Select all

for i in $HOME/.config/autostart/*.desktop;do if [ -f $i ];then xdg-open $i;fi;done
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#535 Post by Tman »

mavrothal wrote:
Tman wrote: Uhh.. I'm clueless as how to accomplish option a that at this moment :oops: but will try to look into it. Thanks for the advice.
Openbox reads $HOME/.config/openbox/autostart and XFCE $HOME/.config/xfce4/xinitrc, usually.
So you can add something similar to the jwmrc entry ie

Code: Select all

for i in $HOME/.config/autostart/*.desktop;do if [ -f $i ];then xdg-open $i;fi;done
Thanks again, Mavrothal! I will try that approach later tonight. I did manage to get the tray icons to work by reverting to the old Puppy method..that is by keeping /root/Startup as a folder (not a symlink) and creating shell scripts in that folder, instead of .desktop files in /root/.config/autostart

But I want to get it working using the new technique, since the old method is going to become deprecated...

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#536 Post by radky »

FbBox desktop environment

Supports Slacko and Slacko64

http://murga-linux.com/puppy/viewtopic.php?t=92982

Rodney Byne
Posts: 247
Joined: Fri 31 Jan 2014, 14:12

Flashdrive size & personal storage free space

#537 Post by Rodney Byne »

Hi to all for advice.

I am interested in authoring & burning holiday DVDs for playing on a DVD player.
I can do this in Windows 7, but wanted to be able to replicate
this process in Linux.

This requires copying VOB files from my camcorder mini-discs
to root folders on desktop.
Having VOBs from 3 mini-discs to 1 DVD, requires renaming them
to be in contiguous number order for burning.

To start the burning process, VOBs have to be converted in Handbrake
to MP4 Mpeg2.

Mpeg files are then imported to Pburn for authoring and burning in
a continuous movie stream to a blank DVD.

I have installed Slacko to a 32Gb flashdrive & the maximum allowed
slacko savefile.2fs size is about 4Gb, which cannot be further expanded.

My theoretical question is:
If total VOBs are 5Gb, total converted Mpegs are 5GB and the
finalized DVD is 5Gb, how will the meagre 4Gb savefile size cope?
Will excess of the total stored video data be able to spill over to
the larger free-space part of the flashdrive without reducing the
savefile size to zero?

Eventually, will the personal storage free space return to normal
when the temporary VOBs and Mpegs are deleted?

Alternatively, perhaps another temporary external storage flashdrive
is needed for process-swapping the copied VOBs and converted Mpegs.

Any ideas on all this please & regards.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#538 Post by bigpup »

You could place them in /mnt/home
That is still on the Flash drive, but outside of the save file.

You could change how you made the save file.
When asked to make a save file, there is an option to use the entire flash drive.
This option puts some of the Puppy directories on the drive and saves in them. Only size limit is size of drive.

Here is an example:
Attachments
save to entire flash drive.jpg
(26.51 KiB) Downloaded 590 times
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#539 Post by bigpup »

Alternatively, perhaps another temporary external storage flashdrive is needed for process-swapping the copied VOBs and converted Mpegs
That should work too.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#540 Post by SFR »

Rodney Byne wrote:I have installed Slacko to a 32Gb flashdrive & the maximum allowed
slacko savefile.2fs size is about 4Gb, which cannot be further expanded.
Actually it can be, see Menu -> Utility -> Resize personal storage file
4Gb is max size, but only for initial savefile.

BTW:
Rodney Byne wrote:If total VOBs are 5Gb, total converted Mpegs are 5GB and the
finalized DVD is 5Gb, how will the meagre 4Gb savefile size cope?
It won't and bad things may start to happen.
Actually, if you're running Slacko from the flashdrive and have the savefile.2fs, Puppy is in PUPMODE=13 (unless you've changed something manually), which means that everything newly created/copied to the root filesystem resides in RAM (tmpfs), so you'd need more than 15GB of RAM (or large swap file/partition) in order to handle this situation...

So indeed, processing all those large files outside of the savefile/tmpfs is the best idea.
Also, in Pburn's preferences, you can define the location for temp files (the default is in /root/my-documents/tmp).

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

Post Reply