TXZ_pup 4.5

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#361 Post by Aitch »

Hi Joe

Is that a typo, in the displayed updater...?

"....which could be turned on or ON"....??

FWIW I totally understand your philosophy, and see no reason for people to be upset....they should be pleased, IMHO

Aitch :)
big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#362 Post by big_bass »

Aitch
"....which could be turned on or ON"....??
yeah , I did a bulk remame from OFF to ON for the packages and that slipped though I willl fix it thanks

anyone try running the updater script it has all the bug fixes and a few packages so when you setup for the first time just run that script

all the things I talked about with ttuuxxx and the packages that he provided are included now


I spent much time setting up the build enviornment , package management and kernel (two years )so now that
is finally completed package upgrades will follow
and sorting everything out now, is so much easier

Joe
big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#363 Post by big_bass »

automatic UPDATER

no need to search thought all the threads and wonder if you got it or not
one click is all you need to get updated

now with menu entry
http://www.puppy2.org/slaxer/txz_updater-1-4_SLXR.tgz

update the cd with this

Joe


faenza_irx--------------------icon theme
freememapplet--------------replaces freememapplet for a better one
galculator------------------- ttuxxx packaged better calculator
geany------------------------ update
gftp----------------------------ttuxxx latest version
gftp_NLS---------------------ttuxxx latest version
grub4dos -------------------new package
htmlfix------------------------fixes clicked on html
htop ------------------------- ttuxxx improved top
libcups2-------------------- fixes needed lib for pdf viewer
loadconfig------------------update
lxtask -----------------------ttuxxx replaces pprocess
mtpaint----------------------ttuxxx latest version
oxygen_gtk_theme-------gtk theme upgrade
Pmenu----------------------removes clutter from menu from trapster
resizepfile------------------updated retro pupsave look
simplepkg-824_svn -----repackage installed packages
tarz -------------------------update compatibility
TXZpackageMgmt ------menu entry for package tools
unzip_and_split ----------split and strip packages
unzipper_dragNdrop5---uncompress many formats updated for tar.xz
xz----------------------------update compatibility
Attachments
menu.png
(22.73 KiB) Downloaded 1469 times
User avatar
CosmiCat
Posts: 22
Joined: Tue 30 Nov 2010, 20:05
Location: Italy

Updater

#364 Post by CosmiCat »

Hi Joe

It would be great to have an upgrade finder for all the packages of TXZ pup. :)
User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#365 Post by James C »

Just downloaded and used the automatic updater........worked fine here. :)
big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#366 Post by big_bass »

James C
just downloaded and used the automatic updater........worked fine here
thanks for the feedback

*I compiled a recent version of gtk2 and all its dependencies
its working fine but I want to do more testing before adding it

Joe
User avatar
cowboy
Posts: 250
Joined: Thu 03 Feb 2011, 22:04
Location: North America; the Western Hemisphere; Yonder

internet reconnection

#367 Post by cowboy »

Hello,

I'm impressed so far with TXZ_pup. My only difficulty is discovering how to reconnect my wlan0 connection after each reboot. All the settings are retained, but I have to manually reconnect to my wireless router serving WPA each time. Is there a way to make this happen automatically? Do not have the problem in either 4.3.1 or spup. (though I am having other probs with spup, based, I think, on difficulties filtering up from woof.)

thank you for you efforts here.
"you fix what you can fix and you let the rest go.." - Cormac McCarthy - No Country For Old Men.
User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#368 Post by ttuuxxx »

2.14X also have the same wireless problem ever since I updated the Internet to autoload wired Lan from a link joe had given to me. here's the complaints on 2.14X
http://www.murga-linux.com/puppy/viewto ... 050#506050
any ideas joe how to fix this?
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
User avatar
cowboy
Posts: 250
Joined: Thu 03 Feb 2011, 22:04
Location: North America; the Western Hemisphere; Yonder

txz_pup wireless

#369 Post by cowboy »

further info: If I right click on the "connect" icon on the desktop, and choose either "Autoconnect" nothing occurs. If I choose "connect to the internet now", then the network wizard runs. While my WPA login setting are retained from the last session, I have to run the profile, and then choose "auto DHCP" to get a connection.

Once connected, the connection seems fine and stable.
"you fix what you can fix and you let the rest go.." - Cormac McCarthy - No Country For Old Men.
User avatar
cowboy
Posts: 250
Joined: Thu 03 Feb 2011, 22:04
Location: North America; the Western Hemisphere; Yonder

txz_pup wireless

#370 Post by cowboy »

Deleted: double post
"you fix what you can fix and you let the rest go.." - Cormac McCarthy - No Country For Old Men.
big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#371 Post by big_bass »

since I cant test this myself please let me know if this fixes the problem with wifi
clarf in the other thread has a clue to what was giving the error

that wont help the auto start but it shouldl fix the other problem noted


edit this file
/usr/local/apps/Connect/AppRun

add this line
. /usr/share/locale/en/LC_MESSAGES/net-setup.mo # added to pre load needed values

Code: Select all

#!/bin/sh

# Dougal: re-write this to support new rc.network
. /usr/share/locale/en/LC_MESSAGES/net-setup.mo # added to pre load  needed values 
case $1 in
  --wizard) exec /usr/sbin/connectwizard 1>&2 ;;
  --connect) exec /etc/rc.d/rc.network connect 1>&2 ;;
  --disconnect) exec /etc/rc.d/rc.network stop 1>&2 ;;
  *) exec /usr/local/bin/defaultconnect 1>&2  ;;
esac
User avatar
cowboy
Posts: 250
Joined: Thu 03 Feb 2011, 22:04
Location: North America; the Western Hemisphere; Yonder

wireless reconnect

#372 Post by cowboy »

Big_Bass,

thank you so much for building this, and for helping me. After finding my way to the file "Apprun", I clicked on "open as text" and was confronted with this pop up from Geany. It says "Geany needs to move your old configuration directory before starting." Does that sound OK, don't want to mess anything up too badly here.
Attachments
geanyex.png
(171.1 KiB) Downloaded 971 times
"you fix what you can fix and you let the rest go.." - Cormac McCarthy - No Country For Old Men.
big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#373 Post by big_bass »

click yes for geany

that comes up because its the first time geany was run

it just shows that its a fresh install

Joe
User avatar
cowboy
Posts: 250
Joined: Thu 03 Feb 2011, 22:04
Location: North America; the Western Hemisphere; Yonder

#374 Post by cowboy »

big_bass wrote: it just shows that its a fresh install

Joe
Thanks big_bass. On first attempt, nothing seemed different. Will try again later this evening, and reboot a few times.
"you fix what you can fix and you let the rest go.." - Cormac McCarthy - No Country For Old Men.
big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#375 Post by big_bass »

Hey Jeff

this is just a documentation of what changes had taken place
nothing needs to be installed

here are the two network setups (history of changes )

so Jeff you could revert back if you wanted to by installing network_wizard_apr_1st-1-SLXR.tar.gz is the original

or just "see" the patch I made between the two of what had changed since

only this file was modified
/etc/rc.d/rc.network

*nobody has to manually add that its only to document changes
network_wizard_apr_1st-1-SLXR.tar.gz is the original

network_wizard_apr_1st_shino-2-SLXR.tar.gz was what shinobar edited
and is already installed in txz_pup



Joe

Code: Select all

--- /root/Downloads/network-wizard-apr-1st/network-wizard-apr-1st/etc/rc.d/rc.network	2009-04-01 21:15:16.000000000 +0800
+++ /etc/rc.d/rc.network	2009-12-28 15:25:34.000000000 +0800
@@ -47,6 +47,9 @@
 # Update: Mar. 26th: add 5 second sleep between wireless scans for pcmcia cards
 # Update: Mar. 29th: move (pcmcia) 5 second sleep to start if run_iw_scan
 # Update: Apr.  1st: change pcmcia sleep detection to module name being *_cs...
+# Update: Apr.  2nd: fix finding profiles in prism case, add checkIsPCMCIA
+#
+# 29nov09: rewrite eth0 mac address by shinobar
 
 ######### TODO ###########
 #- need to find out about static ip... can we check somehow (arp)? maybe use
@@ -74,12 +77,12 @@ DEBUG_OUTPUT=/dev/stderr
 # Dougal: add localization
 mo=net-setup.mo
 #lng=${LANG%.*}
+# always start by sourceing the English version (to fill in gaps)
+. "/usr/share/locale/en/LC_MESSAGES/$mo"
 if [ -f "/usr/share/locale/${LANG%.*}/LC_MESSAGES/$mo" ];then
   . "/usr/share/locale/${LANG%.*}/LC_MESSAGES/$mo"
 elif [ -f "/usr/share/locale/${LANG%_*}/LC_MESSAGES/$mo" ];then
   . "/usr/share/locale/${LANG%_*}/LC_MESSAGES/$mo"
-else
-  . "/usr/share/locale/en/LC_MESSAGES/$mo"
 fi
 
 #  Dougal: want to use functions from wag-profiles (cleanUpInterface...)
@@ -203,12 +206,18 @@ setupStaticIP()
 run_iw_scan(){
 	# add sleeping a bit for pcmcia...
 	#grep -q "^pcmcia:" /sys/class/net/$INTERFACE/device/modalias &&	sleep 5
-	case $INTMODULE in *_cs) sleep 5 ;; esac
+	#case $INTMODULE in *_cs) sleep 5 ;; esac
+	checkIsPCMCIA
+	[ -n "$IsPCMCIA" ] && sleep 5
 	# no try runing twice and redirecting to files, then use bigger one...
 	# clean up any old files
 	rm /tmp/iwscan*.tmp 2>/dev/null
 	iwlist "$INTERFACE" scan >/tmp/iwscan1.tmp 2>&1
-	usleep 100000
+	if [ -n "$IsPCMCIA" ] ; then
+	  sleep 1
+	else
+	  usleep 100000
+	fi
 	iwlist "$INTERFACE" scan >/tmp/iwscan2.tmp 2>&1
 	ScanListFile=$(du -b /tmp/iwscan*.tmp |sort -n | tail -n1 |cut -f2)
 	# now try scanning
@@ -221,13 +230,11 @@ run_iw_scan(){
 	#if [ -z "$SCAN_LIST" ] ; then
 	if [ -z "$CELL_LIST" ] ; then
 		# with pcmcia try ejecting and inserting (this is done in wag-profiles.sh)
-		#if grep -Fq 'pcmcia:' /sys/class/net/$INTERFACE/device/modalias ; then
-		case $INTMODULE in *_cs)
+		if [ -n "$IsPCMCIA" ] ; then
 			pccardctl eject
 			pccardctl insert
-			;;
-		esac
-		#fi
+			sleep 1
+		fi
 		sleep 1
 		#SCAN_LIST=$(iwlist "$INTERFACE" scan | grep 'Cell\|ESSID\|Mode\|Frequency\|Encryption\|Channel')
 		iwlist "$INTERFACE" scan >/tmp/iwscan3.tmp 2>&1
@@ -263,6 +270,29 @@ try_and_connect(){
 	return $RETURN
 }
 
+# 29nov by shinobar
+rewrite_mac_address () {
+  cat /etc/NETWORKING 2>/dev/null | grep -q -i 'yes' || return
+  INTERFACES=/etc/network-wizard/network/interfaces
+  HWADDRESS=$(LANG=C ifconfig eth0 | head -n 1 | tr -s ' ' | cut -d' ' -f5)
+  [ "$HWADDRESS" != "" ] || return
+     TMPFILE=/tmp/$(basename $0)_conf.tmp
+     rm -f "$TMPFILE"
+     IFCONFIG=$(ifconfig)
+     CONFS=$(find "$INTERFACES" -follow -type f -name '*.conf' -printf "%P ")
+     if [ "$CONFS" != "" ]; then
+       for F in $CONFS; do
+         echo "$IFCONFIG"|grep -q "$(basename $F .conf)" && continue
+         [ ! -f "$TMPFILE" ] && \
+           grep -q '^[[:blank:]]*STATIC_IP=.*yes' "$INTERFACES/$F" && \
+           cp "$INTERFACES/$F" "$TMPFILE"
+         rm -f "$INTERFACES/$F"
+       done
+     fi
+     [ -f "$TMPFILE" ] && mv "$TMPFILE" "$INTERFACES/$HWADDRESS.conf" || \
+       echo "IS_WIRELESS=''" > "$INTERFACES/$HWADDRESS.conf"
+}
+
 # Dougal: when running after boot, we don't need this
 if [ "$ACTION" = "restart" ] ; then # connect
   pidof X >/dev/null && HAVEX="yes"
@@ -270,7 +300,7 @@ if [ "$ACTION" = "restart" ] ; then # co
 else # below only done at boot
   ifconfig lo 127.0.0.1
   route add -net 127.0.0.0 netmask 255.0.0.0 lo
-
+  rewrite_mac_address  # 29nov9 rewitte eth0 mac addres by shinobar
   # Dougal: add reloading of bcm43xx
   if grep -Fq bcm43xx /proc/modules ; then
     rmmod bcm43xx
@@ -317,11 +347,11 @@ else # below only done at boot
   # "close" the line started before the loop
   echo
   # add an extra wait for pcmcia NICs to initialize
-  case "$(cat /sys/class/net/*/device/modalias)" in *pcmcia:*)
-    echo "pcmcia NIC detected, sleeping an extra 10 seconds"
-    sleep 10
-    ;;
-  esac
+  #case "$(cat /sys/class/net/*/device/modalias)" in *pcmcia:*)
+  #  echo "pcmcia NIC detected, sleeping an extra 10 seconds"
+  #  sleep 10
+  #  ;;
+  #esac
 fi # if [ "$ACTION" = "restart" ] ; then
 
 #  It appears that "cleaning up" an interface, while another one is already
@@ -383,7 +413,11 @@ do
           # CELL_AP_MAC, CELL_MODE, CELL_ENCRYPTION
           # see if access point configured
           #### need to see about the ecryption part: gives "true" or "no_value"
-          if [ -f "${PROFILES_DIR}/${CELL_AP_MAC}.${CELL_ENCRYPTION}.conf" ] ; then
+		  case $CELL_ENCRYPTION in
+		    true) CELL_ENCRYPTION=WEP ;;
+		    *) CELL_ENCRYPTION=Open ;;
+		  esac
+		  if [ -f "${PROFILES_DIR}/${CELL_AP_MAC}.${CELL_ENCRYPTION}.conf" ] ; then
             # unset static ip variables
             unset STATIC_IP IP_ADDRESS NETMASK DNS_SERVER1 DNS_SERVER2 GATEWAY
             # source it
@@ -405,15 +439,15 @@ do
               else
                 failure_message
               fi
-            elif [ "$CELL_ENCRYPTION" != "true" ] ; then # add to list of open networks
+            elif [ "$CELL_ENCRYPTION" = "Open" ] ; then # add to list of open networks
               OPEN_NETWORKS="$OPEN_NETWORKS $P"
             else # failure of useWlanctl
               failure_message
-            fi
-          fi
+            fi #if useWlanctl &&
+          fi #if [ -f "${PROFILES_DIR}/${CELL_AP_MAC}.${CELL_ENCRYPTION}.conf" ] ; then
         done # for P in
         # if we got here, we are not connected yet, look at open networks
-        if [ "$OPEN_NETWORKS" ] ; then
+        if [ -n "$OPEN_NETWORKS" ] ; then
           WLAN_SECURE="opensystem"
           PROFILE_KEY=""
           # unset static ip variables
Attachments
network_wizard_apr_1st-1-SLXR.tar.gz
(48.73 KiB) Downloaded 319 times
network_wizard_apr_1st_shino-2-SLXR.tar.gz
(49.21 KiB) Downloaded 305 times
User avatar
CosmiCat
Posts: 22
Joined: Tue 30 Nov 2010, 20:05
Location: Italy

fontconfig

#376 Post by CosmiCat »

Hi big_bass

As ttuuxxx said, Firefox (and some other app e.g. Aqualung) fonts aren't set at the start up. I've found this is due to the lack of the fontconfig package. I tried both the .tgz and the .pet package, but after installation, in both cases the system behaving strangely.
Can you take a look at this problem?
Thank you
big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#377 Post by big_bass »

Posted: Sun Mar 27, 2011 9:03 am Post subject: Re: Crisp fonts
Subject description: How to make it look sharper Reply with quote
mbiernat wrote:
The fonts when I browse the web do not look as clear. I use Firefox and my computer is a pretty new Acer with NVIDA GEforce drivers. ...I do not mind the puppy smoothing of fonts (that might help even), rather, I mean, some look a little less persfect than what I am use to.
http://www.murga-linux.com/puppy/viewto ... 94&t=66278
rcrsn51
It's not clear how you have tried to improve fonts so far, but here's what I do in Firefox.

1. Go to Edit > Preferences > Content
2. Change the default font to DejaVu Sans
3. Click on Advanced.
4. Change those fonts to DejaVu Sans
5. UNcheck the box "Allow pages to choose their own fonts".


------------------------------------------------------------------------------------------------------------------
more fonts
I keep firefox stock but if you like the nice fonts here is an auto installer in Xdialog
-------------------------------------------------------------------------------------------------------------------

Code: Select all

#!/bin/sh

# call this fonts-fix and make it executable

# A handy little script to download MS fonts. Stolen from Browserlinux puplet.
# added xdialog boxes big_bass
 
Xdialog --wrap --title "fonts" \
        --yesno "Do you want to install new fonts $@" 0 0

case $? in
  0)
    echo "Yes chosen.";;
  1)
    echo "No chosen."
    exit;;
  255)
    echo "Box closed."
    exit;;

esac
             


fonts_url="http://avi.alkalay.net/software/webcore-fonts/webcore-fonts-3.0.tar.gz"


Xdialog --title "downloading" \
           --infobox "\nthis takes awhile \n" 0 0 3000
echo Please wait...
echo

wget $fonts_url

tar -xf webcore-fonts-3.0.tar.gz

Xdialog --title "downloaded" \
           --infobox "\ndownloaded fonts.\n" 0 0 3000
mkdir /root/.fonts
cp webcore-fonts/fonts/* /root/.fonts
rm -r webcore-fonts
rm webcore-fonts-3.0.tar.gz

echo
echo
echo Finished downloading and installing the fonts...
echo
echo
sleep 2



Xdialog --title "Complete" \
           --infobox "\nInstalling  fonts has finished.\n" 0 0 5000
User avatar
CosmiCat
Posts: 22
Joined: Tue 30 Nov 2010, 20:05
Location: Italy

Firefox fonts

#378 Post by CosmiCat »

One way to fix the fonts problem with Firefox is as suggested by big-bass
Another way is to install this font package: http://puppeee.com/files/pet/webcore-fonts-1.pet
A third way is to install the fontconfig package, as requested by Seamonkey.
I think the latter it's better because the problem affect even other apps.
big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#379 Post by big_bass »

CosmiCat

I compiled it the fontconfig package, removed due to over writing the fonts config


Joe
Last edited by big_bass on Tue 05 Apr 2011, 04:11, edited 2 times in total.
User avatar
CosmiCat
Posts: 22
Joined: Tue 30 Nov 2010, 20:05
Location: Italy

fontconfig

#380 Post by CosmiCat »

Hi big_bass
First of all thank you very much for your help.
I've downloaded and installed the package following your instruction.
The installation runs fine but unfortunately I have the same problems:
- Firefox starts no more
- The Slaxer package tools in the root directory starts no more ( even after have installed and run your Txz updater)
- The unzipper starts no more

Again, many thanks
Post Reply