slacko-6.0 beta 2

A home for all kinds of Puppy related projects
Message
Author
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#511 Post by technosaurus »

I hate firefox - so wrote this browser getter for others haters:

Code: Select all

#!/bin/sh
MACHINE=`uname -m`
WGET="wget --no-check-certificate"
CHROME=https://dl.google.com/linux/direct/google-chrome-stable_current_
[ "$MACHINE" == "x86_64" ] && CHROME="${CHROME}x86_64.deb" || CHROME="${CHROME}i386.deb"
MOZLANG=${LANG%.*}
MOZLANG=${MOZLANG/_/-}
MOZ=http://ftp.mozilla.org/pub/mozilla.org/
FIREFOX="${MOZ}firefox/releases/latest/linux-${MACHINE}/${MOZLANG}/"
SEAMONKEY="${MOZ}seamonkey/releases/"
OPERA="http://get.geo.opera.com/pub/opera-developer/"
OLDIFS="${IFS}"

CHOICE=`Xdialog --stdout --combobox "Please choose a browser" 0 0 Firefox SeaMonkey Chrome Opera64 None || exit`
case "$CHOICE" in
	Firefox)LATEST=`$WGET -O - ${FIREFOX}?C=M;O=A | grep "href" |tail -n 1`
	LATEST=${LATEST##*href=\"}
	LATEST=${LATEST%%\"*}
	LINK=${FIREFOX}${LATEST}
	;;
	SeaMonkey)LATEST=`$WGET -O - ${SEAMONKEY}?C=M;O=A | grep "href" |tail -n 1`
	LATEST=${LATEST##*href=\"}
	LATEST=${LATEST%%\"*}
	LINK="$SEAMONKEY${LATEST}linux-${MACHINE}/${MOZLANG}/seamonkey-${LATEST%/}.tar.bz2"
	;;
	Opera64)LATEST=`$WGET -O - $OPERA |grep href |tail -n2 |head -n1 |cut -d \" -f2`
	LINK="${OPERA}${LATEST}linux/opera-developer_${LATEST%/}_amd64.deb"
	;;
	Chrome)LINK=$CHROME
	;;
	None)exit;;
esac
PKG=${LINK##*/}
Xdialog --yesno "Install $PKG ?" 0 0 && $WGET $LINK || exit
case $PKG in
	*.tar.*)tar -xf $PKG && rox ${PKG%.tar.*} || Xdialog --msgbox "Error opening $PKG." 0 0;;
	*.deb|*.pet)petget $PKG;;
esac
Opera is at least making linux builds again, but only for 64 bit

The code is kinda messy - its a rough draft ... but thought I'd share in case anyone wanted to add other browsers that aren't in PPM

notes
www.maxthon.com/blog/tag/linux-browser | grep i386.tgz | head -n1

Also what's up with abiword "Bus error"?
I need to take a look at the kernel config and see if synaptics is enabled in the ps2mouse driver - which kernel is it?
Last edited by technosaurus on Wed 23 Jul 2014, 04:01, edited 1 time in total.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

gcmartin

#512 Post by gcmartin »

Hello @Technosaurus. Seen lots of your beautiful works in the past.

@Shinobar, has been creating a technique for browser installations that offers portability. The beauty in what he is showing us is a way to installed a single browser in such a way as it can launch from anywhere on the LAN and that it exist outside of PUPSAVE to reduce its impact on system's memory and systems/desktop failures. He offers a portable client for FFox/SM/Chrome/Chromiun.

I do realize what you share does not bring functionality from that aspect., but, was wondering: Could it?

Just a question

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#513 Post by mcewanw »

New version of Premote uploaded:

http://www.murga-linux.com/puppy/viewto ... 466#651466

William
github mcewanw

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#514 Post by 01micko »

@techno

3.4.94
CONFIG_MOUSE_PS2_SYNAPTICS=y

You getting trouble with abiword? I don't use it much but it opens docx ok for me, as reliably as usual, in that some complex ones open a bit scrambled. I was thinking of going to TED, then of course there will be no complaints of screwing up any doc, docx files.
Puppy Linux Blog - contact me for access

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

FIX: LASTUNIONRECORD

#515 Post by shinobar »

@01micko and whom woof-CE concern

I realized the LASTUNIONRECORD in /etc/rc.d/BOOTCONFIG shows SFS in wrong order as for the zdrv.
at line 1897 init in initramfa wrote: mount -t aufs -o udba=reval,diropq=w,dirs=${UMNTRW}${UMNTRO0}${ALAYER}${YLAYER}${UMNTRO1}${ZLAYER}${UMNTRO} unionfs /pup_new
where UMNTRO0 is pup_ro1, UMNTRO1 is main SFS, UMNTRO is extra SFS.
The order of the UNIONRECORD should be in this order. Here is a fix.

Code: Select all

--- init-20140623-slacko-5.9.3	2014-06-23 08:54:16.000000000 +0900
+++ init-20140723-unionrecord-fix	2014-07-23 16:35:08.169967818 +0900
@@ -1694,7 +1694,7 @@
   SAVEFILENAMEONLY="`basename $SAVEFILE`"
   SFSFILE="`echo -n "$PUPSFS" | cut -f 3 -d ','`"
   SFSFILENAMEONLY="`basename $SFSFILE`"
-  RECORDLIST="$SAVEFILENAMEONLY $AFACTOR $YFACTOR $SFSFILENAMEONLY $EXTRASFSLIST $ZFACTOR" #v426
+  RECORDLIST="$SAVEFILENAMEONLY $AFACTOR $YFACTOR $SFSFILENAMEONLY $ZFACTOR $EXTRASFSLIST"
   NEWUNIONRECORD="`echo "$RECORDLIST" | tr -s ' '  | sed -e 's/ $//'`"
 
   #120130 bring back Underdog Linux...
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#516 Post by technosaurus »

01micko wrote:@techno

3.4.94
CONFIG_MOUSE_PS2_SYNAPTICS=y

You getting trouble with abiword? I don't use it much but it opens docx ok for me, as reliably as usual, in that some complex ones open a bit scrambled. I was thinking of going to TED, then of course there will be no complaints of screwing up any doc, docx files.
when I ran abiword from terminal all I got was "bus error" .... strace said was from a signal. I use Seamonkey or Amaya as my document editor. ... can't get much more portable than html. I have no idea how to fix my touchpad the right mouse button doesn't work so end up using flsynclient to emulate with taps ... its one of those annoying Acer pads with no distinguishable buttons, just clickable areas on the pad.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

gcmartin

Language offer for FirstRUN

#517 Post by gcmartin »

FirstRUN changes will further "Internationalize" Puppy Linux. This is a rather significant offer to the community. Language becomes an out-of-the-box (OOTB) element of any future PUPPY distro.

An enhancement to a "Puppy Linux exclusive".

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#518 Post by mcewanw »

I'll be re-uploading precord in a few hours time with a new version number to avoid any confusion. I made a stupid single character error, which won't effect it working at all, but underneath causes it to use mplayer for playing back mp3 files when I wanted it to use lame|aplay. No big deal in practice, but best I fix it now anyway...

Cheers, William
github mcewanw

Marble42
Posts: 30
Joined: Sun 20 Jul 2014, 07:20

#519 Post by Marble42 »

I tried this version a few minutes ago and it seems extremely laggy. Laptop used was an ancient IBM T23 ThinkPad. Pentium 3, 1333Mhz, 512MB Ram, 30GB HDD. Booted via USB.

The mouse pointer was very laggy. I had to wait a lot of time to do anything, like click the initial "OK" button. Also the Puppy logo on the settings screen was glitchy, had black and white lines in it.

P.S. I just started using Linux a few days ago, so sorry that I can't be of more help. The official version of Slacko works great on that same LapTop. No problems (apart from maybe taking a somewhat long time to boot when compared to my 2gb ram desktop).

gcmartin

#520 Post by gcmartin »

Hello @Marble42 and welcome to Puppyland (BTW, I am not the official greeter. Like you, just a user)

Yes, the current official Slacko (assuming you are using 5.6 or 5.7) should work with no problems. And 5.7 still remains current and supported.

This version, as its title suggest is "beta" and under much development. It should not be expected to be "official" and without bugs as much of the dialogue in this thread are showing. Keep testing as any information you provided can be helpful as this progresses to a final official Slacko for 32bit PCs.

Also, pay attention to the opening post of the multiple PUP distros you find in the forum. They provide us useful information in which platforms and configurations (PCs) they recommend and support their distros use on.

Hope this is helpful

Marble42
Posts: 30
Joined: Sun 20 Jul 2014, 07:20

#521 Post by Marble42 »

Thanks for the welcome @gcmartin! :-)

Unfortunately I'm a very basic user (using just FireFox, and perhaps a writing program). My abilities to report issues is very limited.

I can however help out in translating stuff in Serbian language (language shared by Ex-Yugoslavian countries - Serbia, Croatia, Bosnia&Herzegovina, Montenegro. Is something like that needed? Is it easy to do, just translate it? My technical knowledge is very limited so I have no idea what I am offering here, hehe.)

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Precord and Pavrecord. New versions uploaded

#522 Post by mcewanw »

new version Precord uploaded. Now version 9.0.2. Changes notified here:

http://www.murga-linux.com/puppy/viewto ... 862#790862

also

new version pAVrecord uploaded to match the changes. Now version 9.0.2. Changes notified here:

http://www.murga-linux.com/puppy/viewto ... 861#790861

Note that on my computer at least (Pentium M 1.6GHz 1GB RAM) pAVrecord works much better on Puppy Precise 5.7.1 or DebianDog than in Slacko for some reason I can't so far resolve. In Slacko using the default MPEG-4/10 settings, my webcam preview loads slowly when recording and and recording itself is also jumpy, but, as I say, might just be my webcam (different webcam drivers maybe?) if not the differing ffmpeg/ffplay used in these different systems. Huge difference though - working very smoothly in Precise.

William
github mcewanw

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

#523 Post by bigpup »

Marble42 wrote: I can however help out in translating stuff in Serbian language (language shared by Ex-Yugoslavian countries - Serbia, Croatia, Bosnia&Herzegovina, Montenegro. Is something like that needed? Is it easy to do, just translate it? My technical knowledge is very limited so I have no idea what I am offering here, hehe.)
Go here and read about Momanager.
http://bkhome.org/fossil/woof2.cgi/arti ... 4fefdcbb79
Language packs are usually posted in the Localization Projects section of the forum.
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

#524 Post by SFR »

[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
xanad
Posts: 400
Joined: Fri 28 Feb 2014, 14:56
Location: 2 locations: MonteRosa Alp and Milano
Contact:

#525 Post by xanad »

gettext in 'desksetup.sh'
http://murga-linux.com/puppy/viewtopic. ... 062#791062

******

Another little contri...
'ptheme_gtk': adds two lines 60 and 61 (missing in the original)

Code: Select all

export TEXTDOMAIN=ptheme_gtk
export OUTPUT_CHARSET=UTF-8
and add gettext at line 86
http://murga-linux.com/puppy/viewtopic. ... 211#791211

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

#526 Post by mavrothal »

xanad,
you may want to consider submitting these as pull requests to woof-CE so all puppies can benefit from your contribution :wink:
== [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
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#527 Post by darkcity »

What is the status of alsaconf and alsa tools in the latest build? sound support has regressed from version 5.3.1 for me, see the following thread for details-

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

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

#528 Post by bigpup »

01micko,

I think there is a problem still with the Puppy repositories. I know you recently worked on issues with the Lucid Puppy repositories, but there still seems to be problems.

Not sure if it is with all of the Puppy repositories, but here is one I tried for Slacko.
http://ftp.nluug.nl/ibiblio/distributio ... lacko14.1/

I downloaded a pet package from here.
Saved it to my hard drive.
Clicked on pet package to install.
Started the install and got error message package will not install.

666phiib says he had to do this to get it to work.
666phiib wrote:something has gone weird with the .pets at ibiblio and nluug and you need to extract them and re-pet them to get them to work ....
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
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

ydrv_slacko_5.9.3.7

#529 Post by shinobar »

EDIT: There is ydrv_slacko_5.9.3.8:
http://www.murga-linux.com/puppy/viewto ... 433#791433

We are awaiting next release slacko-5.9.4, but at this point of time, I made a collection of recent fixes against slacko-5.9.3.
Updated vmlinuz and initrd.gz is available in the slacko-5.9.3.6: http://www.murga-linux.com/puppy/viewto ... 817#787817

HOW TO USE
Rename the file ydrv_slacko_5.9.3.7.sfs to 'ydrv_slacko_5.9.3.sfs', and place it where the slacko-5.9.3 is installed.
The base Puppy can be slacko-5.9.3 or slacko-5.9.3.6.

WHATS NEW (from the original 5.9.3)
1. seve-to-directory fix (df matter)
2. All the extra SFS (exept main,zdrv,adrv and ydrv) are totally handled by the sfs_load to avoid long wait at boot with the message 'next boot will be faster'.
3. Some tweaks to speed up at boot and at install/uninstall packages
4. ntfs permission to be 755. But it depends on the initramfs when the ntfs is /mnt/home.
5. pup_event bug fixes
6. New installers.

USED PACKAGES
Note: Not all the files in PET are in the SFS. Some files in the SFS are not from the packages on this list.
pup_event_files-140714.tar.gz http://www.murga-linux.com/puppy/viewtopic.php?t=94804
f2fs-usb-installer-0.21-noarch.pet http://www.murga-linux.com/puppy/viewto ... &start=403
pui-experimental4.tar.gz http://www.murga-linux.com/puppy/viewto ... &start=439
frugalinstaller-2.0.1.pet http://www.murga-linux.com/puppy/viewtopic.php?t=57711
grub4dos-0.4.4.v1.9.2.pet http://www.murga-linux.com/puppy/viewtopic.php?t=51697
sfs_load-2.1.8.pet http://www.murga-linux.com/puppy/viewtopic.php?t=64354
pman-2.3.pet http://www.murga-linux.com/puppy/viewtopic.php?t=56887
Attachments
slacko-5.9.3.7-ydrv.tar.gz
(174.44 KiB) Downloaded 269 times
Last edited by shinobar on Mon 28 Jul 2014, 15:22, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

rc.sysinit

#530 Post by shinobar »

The ydrv_slacko_5.9.3.7 has updated /etc/rc.d/rc.sysinit. Here is the diff:

Code: Select all

--- rc.sysinit.org	2014-06-21 06:27:24.000000000 +0900
+++ rc.sysinit	2014-07-27 10:57:31.883324320 +0900
@@ -91,9 +91,11 @@
 #130618 3builddistro sets 'DEVTMPFSFLG' variable.
 #130629 need directory /tmp/pup_event_ipc, to support new pup_event IPC.
 #130630 bring back tmpfs on /tmp for full HD installation.
+#140626,140708,140727: all extra sfs by sfs_load, another link of /mnt/home
+#150727: remount fix(SFR) http://www.murga-linux.com/puppy/viewtopic.php?t=94328&start=502
 
-# always use devtmpfs
-mount -t devtmpfs devtmpfs /dev 
+# always use devtmpfs 
+[ -d /initrd ] && mount -t devtmpfs devtmpfs /dev
 DEVTMPFSFLG=1
 
 #unset TZ #100319 busybox hwclock gives priority to this (rather than /etc/localtime) and 'init' has set it wrong.
@@ -199,7 +201,7 @@
 #v409 mount/umount scripts no longer write to /etc/mtab, as gparted failed to create a
 #ext3 partition -- dunno why. Instead, now have /etc/mtab a symlink to /proc/mounts...
 rm -f /etc/mtab
-ln -s /proc/mounts /etc/mtab
+ln -sf /proc/mounts /etc/mtab
 
 #redirect all output to a log file (must do after remount rw)...
 [ ! "$LOGLEVEL" ] && exec 1>/tmp/bootsysinit.log 2>&1
@@ -489,6 +491,20 @@
   fi
  fi
 fi
+#140727: another link
+MNTPNT=""
+PART=""
+if [ -L /mnt/home ]; then
+  MNTPNT=$(readlink /mnt/home)
+elif [ -d /initrd/mnt/dev_ro2 ]; then
+  MNTPNT=/initrd/mnt/dev_ro2
+fi
+[ "$MNTPNT" ] && PART=$(echo "$MNTPNT"| tail -n1| cut -f1 -d' ' | cut -s -f3 -d'/')
+if [ -b "/dev/$PART" ]; then
+  [ -d /mnt/$PART ] && rmdir /mnt/$PART
+  ln -s $MNTPNT /mnt/$PART
+fi
+#END another link
 
 ################WAIT MODULES LOADED##################
 echo "WAIT MODULES LOADED"
@@ -583,6 +599,9 @@
 
 status_func 0
 
+##############LOAD EXTRA SFS######################
+[ -d /initrd ] && [ -x /etc/init.d/sfs_load ] && /etc/init.d/sfs_load start
+
 ##############USER SELECTED MODULES##################
 echo "USER SELECTED MODULES"
 #the user can select extra modules to load in the BootManager...
@@ -861,15 +880,18 @@
 	rfkill unblock wlan
 fi
 # SFR hack for IO bug http://murga-linux.com/puppy/viewtopic.php?p=681383#681383
+#150727: remount fix(SFR) http://www.murga-linux.com/puppy/viewtopic.php?t=94328&start=502
 KERNVER=${KERNVER%%-*} # just for appending "-4g","-PAE" or whatever
 if [ ! "$PUPMODE" = 5 ];then  
   if vercmp $KERNVER ge 3.2 ;then
     if vercmp $KERNVER lt 3.8 ;then
-      case "$DEV1FS" in
-      ntfs|vfat|ext2)
-      mount -o remount,sync /dev/loop1 # changed 130210, SFR
-      ;;
-      esac
+      if [ "${PUPSAVE##*.}" = "2fs" ] || [ ${PUPMODE} -eq 3 -o ${PUPMODE} -eq 7 -o ${PUPMODE} -eq 13 ] ; then
+        case "$PUPSAVE" in
+          *,ntfs,*|*,vfat,*|*,ext2,*)
+            mount -o remount,sync /dev/loop1 # changed 130210, SFR
+          ;;
+        esac
+      fi 
     fi
   fi
 fi
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

Post Reply