LxPup : a Puppy with LXDE as its desktop environment

For talk and support relating specifically to Puppy derivatives
Message
Author
Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#861 Post by Sage »

Although I am a former user of Sylpheed, there has been so much progress in the development of Claws that I would suggest this as a better replacement. It's worth the extra space as email and it's records is perhaps the one aspect of comms. that isn't worth compromising. Claws also has a plethora of add-ons for those seeking even more sophistication and security.

User avatar
balloon
Posts: 56
Joined: Thu 03 Oct 2013, 03:45
Location: Miyagi, Japan

#862 Post by balloon »

I installed LxPupXenial-16.08.1, and tried it.
However, I have after installing the sfs package,
and freeze in a message stating that "LxPupXenial is Starting" when X is running.
This is not every time, there is a case to boot successfully.
Other Puppy has no problem at all, this problem has been observed only in LxPupXenial.,, :(
[b]BALLOON a.k.a. Fu-sen.[/b] from Japan | ã￾µã￾†ã￾›ã‚“ Fu-sen. (old: 2 8 6)

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

pupm5sum script

#863 Post by belham2 »

Hi all,

Thought I would post this in hopes it helps if anyone wants to add to the functionality of the md5/sha1 script in peebee's LXPup Xenioal 32. As the script currently stands, the right click function on any download file only allows a md5 and/or sha1 sum to be checked. But with with a few simple line additions to this "pupmd5sum.sh" script (located in /usr/sbin/), you can also add checks for sha256 and sha512. Below is a pic showing you exactly what lines to add (#77 & 78, and #172-179) (**update** argh, the pic starts at line 174, not line 172...please check the code below for lines 172 & 173). Otherwise, the pic shows exactly what to write. (below the pic I'll also attempt to use the "code" function, but hang in there as it is the first time I will be using that)

Image

(Note: nothing is changed in this original script except adding lines for sha256 and sha512 checks. This occurs on lines 77 & 78, and on 172-179. I hope this helps anyone out there that needs the additional sha256 and sha512 checking functions. For myself, I find I am always downloading other things, like Firefox builds, and other linux distros, which all pretty much use sha256 and/or sha512 along with gpg verification. Also, please know I have used this script in many other pups and pup-related distros (currently run 7-8 different ones) as the script seems to work fine on nearly all I have tried so far (both 32 and 64 bit)...just drop it into the /usr/sbin/, create a .desktop file for it if you want, or just create a shortcut to your desktop, and you should be good to go.

Code: Select all

#!/bin/bash
#pupchecksum.sh
#01micko 120731 GPL2 (see /usr/share/doc/legal)
#gtkdialog checksum checker
# shinobar: accept paramater
# don570 and shinobar: fix spaces in path name, BASEDIR, more message
#set -x #debug
# version 0.7 dec 7 2012
#+ modified  to use Xdialog (for greater compatibility) by don570
# version 0.9 dec 19 2012  - save of md5sum to file possible
# version 1.0 dec 20  yaf-spash when saving  -save file use \t
#gettext version 1.1  German French  Spanish
#gettext version 1.2 - fixed bug in save 

MYPATH=$0
MYNAME=$(basename "$0")      
VERSION=1.2

CREDIT="$MYNAME - checksum checker: version $VERSION"
usage() {
  echo $CREDIT
  echo "usage: $APPNAME [FILENAME]"
}
case "$1" in
-v|--version) echo $CREDIT; exit ;;
-*) usage; exit;;
esac
export ENT1="$1"
export ENT2=""
rm -f /tmp/pupchecksum*
BASEDIR=$(dirname "$ENT1")
[ -d "$BASEDIR" ] || BASEDIR=""
[ -d "$ENT1" ] && BASEDIR="$ENT1"
[ "$BASEDIR" ] || BASEDIR=$HOME
[ "$BASEDIR" ] || BASEDIR="/root"

export TEXTDOMAIN=pupmd5sum.sh
export OUTPUT_CHARSET=UTF-8
TITLE="pupmd5sum"

#splash screens
export SPLASH1=$(gettext "Please enter a file!")
export _NOFILE=$(gettext "The source file not found!")
export _NGFILE=$(gettext "The source is not a file!")
export _NULL=$(gettext "The source file is null!")
export SPLASH2=$(gettext "Nothing to compare!")
export SPLASH3=$(gettext "Your checksums match")
export SPLASH4=$(gettext "Your checksums DO NOT match")
export SPLASH5=$(gettext "Please wait ...")
export SPLASHT1=$(gettext "Correct")
export SPLASHT2=$(gettext "Wrong!")
export SPLASHT3=$(gettext "Please complete the settings. ")
export SPLASHT4=$(gettext "Saving to disk ...")

#frames, buttons and tool-tip
FRAME1=$(gettext "File Name")
FRAME1a=$(gettext "Hash type")
FRAME2=$(gettext "Checksum")
FRAME3=$(gettext "Compare")
FRAME4=$(gettext "Save Directory")
BTN1=$(gettext "Calculate")
BTN2=$(gettext "Compare")
BTN4=$(gettext "OK")
BTN5=$(gettext "Select a Directory to save MD5sum")
TT=$(gettext "Paste the correct checksum here")
SAVETT=$(gettext "MD5sum is saved to a text file")

#Save to file
#Check func


checkfunc()
{

	CHECKSUM=md5sum
	[ "$RB2" = "true" ] && CHECKSUM=sha1sum
	[ "$RB3" = "true" ] && CHECKSUM=sha256sum
	[ "$RB4" = "true" ] && CHECKSUM=sha512sum
	ERRMSG=""
	[ "$ENT1" ] || ERRMSG=$SPLASH1
	[ -s "$ENT1" ] || ERRMSG=$_NULL
	[ -f "$ENT1" ] || ERRMSG=$_NGFILE
	[ -e "$ENT1" ] || ERRMSG=$_NOFILE
	if [ "$ERRMSG" ] ; then
	Xdialog  --ok-label "$BTN4" --backtitle "\n\n   $ERRMSG    "  --msgbox  "" 0 0
	  return 1
	fi
		Xdialog  --ok-label "$BTN4" --backtitle "\n\n    $SPLASH5    "  --msgbox  "" 0 0 &

	SPID=$!
	$CHECKSUM "$ENT1" > /tmp/pupchecksum
	ENT=$(cat /tmp/pupchecksum)
	rm /tmp/pupchecksum
	export ENT2=${ENT%% *}	#fix dirname with spaces
	echo $ENT2 > /tmp/pupchecksum_result
	kill $SPID
}
export -f checkfunc
 
# check md5sum for length and if foldername supplied then create file to save md5 sum
checkmd5sum()
{	
export RESULT=`cat /tmp/pupchecksum_result`
if  [ ${#RESULT} -eq 32 ]  && [ -n  "$FILE_DIRECTORY" ]; then  # save the md5sum
break
elif [ ${#RESULT} -ne 32 ] || [ ! -e /tmp/pupchecksum_folder  ];then  # don't save
		Xdialog  --ok-label "$BTN4" --backtitle "\n\n    $SPLASHT2    "  --msgbox  "\n     $SPLASHT3   \n " 0 0 &
exit 0
fi
 yaf-splash -timeout 2 -border false  -center -close never -bg orange -fontsize large -text "
  $SPLASHT4   
   "  &
cd "$FILE_DIRECTORY"
#FILENAME="$(basename $ENT1)"   won't work
FILENAME="${ENT1##*/}" # find ending of pathname
echo -e "$RESULT\t$FILENAME" > "$FILENAME".md5.txt

exit 0



}
export -f checkmd5sum








#compare
comparefunc()
{
	CHECKSUM=md5sum
	[ "$RB2" = "true" ] && CHECKSUM=sha1sum
	if [ ! "$ENT2" -o ! "$ENT3" ];then Xdialog  --ok-label "$BTN4" --backtitle "\n\n    $SPLASH2    "  --msgbox  "" 0 0
	 else
	 #ENT3=$(echo -n "$ENT3"|sed 's/ //g') #remove whitespace with bad copy/paste
	 ENT3=$(echo $ENT3)	#remove whitespace with bad copy/paste
	 ENT3=${ENT3%% *}	# extract only the checksum
	[ "$ENT2" = "$ENT3" ] && Xdialog  --ok-label "$BTN4" --backtitle "\n\n   ${CHECKSUM}: $SPLASH3    " \
	 --msgbox  "" 0 0 || Xdialog  --ok-label "$BTN4" --backtitle "\n\n    ${CHECKSUM}: $SPLASH4    "  --msgbox  "" 0 0
	fi
}
export -f comparefunc

export MAINGUI='<window  title="'"$TITLE"'-'"$VERSION"'" icon-name="hash" resizable="false">
 <hbox>
  <vbox width-request="335">
   <frame '"$FRAME1"'>
    <hbox>
     <entry fs-action="file" fs-folder="'"$BASEDIR"'">
      <variable>ENT1</variable>
      <default>"'$ENT1'"</default>
      <action>clear:ENT2</action>
     </entry>
     <button>
	  <input file stock="gtk-new"></input>
	  <action>fileselect:ENT1</action>
	 </button>
	</hbox>
   </frame>
   <frame '"$FRAME1a"'>
    <hbox homogeneous="true">
     <radiobutton>
       <label>MD5</label>
       <variable>RB1</variable>
     </radiobutton>
     <radiobutton>
       <label>Sha-1</label>
       <variable>RB2</variable>
     </radiobutton>
     <radiobutton>
       <label>Sha-256</label>
       <variable>RB3</variable>
     </radiobutton>
     <radiobutton>
       <label>Sha-512</label>
       <variable>RB4</variable>
     </radiobutton>    
    </hbox>
   </frame>
   <frame '"$FRAME2"'>
    <entry  tooltip-text=" '"$(gettext 'Result of calculation')"' ">
     <variable>ENT2</variable>
     <input>cat /tmp/pupchecksum_result 2>/dev/null</input>
    </entry>
   </frame>
   <frame '"$FRAME3"'>
    <entry tooltip-text="'"$TT"'">
     <variable>ENT3</variable>
    </entry>
   </frame>
   
   
   
   
<frame '"$FRAME4"'>
			<hbox>
				<entry accept="directory" tooltip-text=" '"$SAVETT"' ">
					<label>'"$BTN5"')</label>
					<variable>FILE_DIRECTORY</variable>
				</entry>
				<button>
					<input file stock="gtk-open"></input>
					<action type="fileselect">FILE_DIRECTORY</action>
					<action>touch  /tmp/pupchecksum_folder</action>
				</button>
			</hbox>
		</frame>  </vbox>
		
		
		
		
		
  <vbox  space-expand="true" width-request="150">
   <hbox>
    <frame>
     <pixmap>
      <width>48</width>
      <input file>/usr/share/pixmaps/hash.xpm</input>
     </pixmap>
    </frame>
   </hbox>      <text height-request="30"><label> </label></text>

   <hbox homogeneous="true"><hbox>
    <button>
     <label>'"$BTN1"'</label>
     <action>checkfunc '"$ENT1"'</action>
     <action type="refresh">ENT2</action>
    </button>
   </hbox></hbox>
   <hbox homogeneous="true"><hbox>
    <button>
     <label>'"$BTN2"'</label>
     <action>comparefunc</action>
     </button>
   </hbox></hbox>
    <hbox homogeneous="true"><hbox>
    
     
      <button tooltip-text=" '"$SAVETT"' ">
      <label>'"$(gettext "Save")"'</label>
      <action>checkmd5sum</action>
    </button>
     
    
   </hbox></hbox>
   <hbox homogeneous="true"><hbox>
   
   <button>
      <label>'$(gettext "Close")'</label>
      <action type="exit">CLOSE</action>
    </button>
   </hbox></hbox>
  </vbox>
 </hbox>
</window>'
for P in gtkdialog4 gtkdialog3 gtkdialog; do
  GTKDIALOG=$(which $P) && break
done
if [ -z "$GTKDIALOG" ]; then
  echo "$MYNAME: error: gtkdialog not found." >&2
  exit 1
fi
[ -f "$ENT1" -a -s "$ENT1" ] && checkfunc "$ENT1"
$GTKDIALOG -p MAINGUI  --geometry=+200+100
unset MAINGUI

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

How we get from 16.07 to latest 16.08.2?

#864 Post by belham2 »

Hi all,

Was wondering if anyone could help me understand something with Peebee's prolific releases with LXPups (the slacko and this ubuntu/xenial-based):

I currently have LxPupXenial-16.07.1 installed on a USB, completely set up with my settings, browsers additions, etc, etc.....and I happen to notice Peebee had released a LxPupXenial-16.08.1 awhile back, and just recently coming across his webite (and sourceforge), he has up a LxPupXenial-16.08.2 with all the latest fixes and security (i.e. openssl) releases.

How is a person supposed to go from their current frugally-installed on a USB to the latest 16.08.2 when there are no "Deltas" provided? I could not find any deltas for the 16.08.2 on peebee's website and/or sourceforce and/or here. Am I looking right at them and missing them?

Or am I supposed to completely wipe my 16.07.1 install and re-install 16.08.2, using the current save file I have inside the /initrd/mnt/dev_save/lxpuppy directory called "lxxenialsave"?

Sorry for asking. It is just getting harder and harder to keep up with the blizzard of releases from pup developers where we do not have the simple, clear ability to click on an update and, at the very least, have that update/delta downloaded and applied. If this isn't a huge argument for the continual development of the DebianDog pups (updates, one click, and voila, they are applied since they are based on debian repos), then I do not know what is.

Thanks to anyone who can help me here......I am super appreciative of the work peebee, phil, micko and others do, but it is getting hard & frustrating trying to keep up-to-date a pup that is based like this (this thread seems dead.....)


All Pup developers (mainly talking to the woof-ce gang, as everyone seems to going that route nowadays) need to re-approach this---again----we are never going to attract new users in large enough bunches unless something is done inside the basic development of pups where upgrades can be handled quickly and nearly effortlessly---across all pups. Just my opinion... :(


Thanks to anyone who can explain to me a painless way to get from current lxPupXenial 16.07.1 to 16.08.2 without losing my whole setup.

(UPDATE: My mistake, reloaded the sourceforge again and did not realize the 16.08.1 to 16.08.2 delta was right there......argh, my eyes & brain are failing me as I get old, old :oops: )

noalternative
Posts: 104
Joined: Wed 11 Nov 2009, 03:45
Contact:

Re: LxPup : a Puppy with LXDE as its desktop environment

#865 Post by noalternative »

How do I make compiz my windows manager in Xenial Pae. I cannot find emerald when I search in the repos.

Pelo

Palemoon, even last version,fails with videos Dailymotion !

#866 Post by Pelo »

Palemoon, even last version, fails now to read many videos in You tube and daily motion. We are working and searching why in the french forum.
Palemoon-fr Fil francophone.
Will feed-back.
Attachments
anaxagore.jpg
Daily Motion
(28.19 KiB) Downloaded 2471 times

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

Re: Palemoon, even last version,fails with videos Dailymotion !

#867 Post by belham2 »

Pelo wrote:Palemoon, even last version, fails now to read many videos in You tube and daily motion. We are working and searching why in the french forum.
Palemoon-fr Fil francophone.
Will feed-back.
Hi Pelo,

I don't know if this is related or not, but I use Fedora 24 (for heavy tasks) and occassionally I drop into the Fedora forums. There are many posters on Fedora complaining about both Firefox (and any of its derivatives, like Palemoon) not playing many videos in Youtube and other sites. The Fedora forum gurus I have read think it has something to do with gstreamer.

I myself noticed over this past month that Firefox, Palemoon, the old Iceweasel, anything based on Firefox browser engine, that they only open some videos on Youtube (and other sites) and sometimes they do not open/play them. Yet when I use Chromium, Chrome and/or Opera, they open most all of them (though, strangely, not all either).

This move to HTML5 (and how browser developers are handling it in their browsers, while keeping support for non-HTML5 videos) is at present going along like a train wreck, imho. :(

Pelo

It is said to use Chrome, on many Web sites.

#868 Post by Pelo »

It is said to use Chrome, on many Web sites.Our expert Medor tells me i am only a bad user :!: Palemoon works fine for videos for him. Debate is in progress,

Pelo

HTML5 : What is that, how do you activate ?

#869 Post by Pelo »

flashplayer11-11.2.202.637-i386.pet and Palemoon.
TV videos ( for movies scheduled at night) Audio, but no image.
Advertising at the beginning is OK. :!: :!:
HTML5 : What is that, how do you activate ?
Attachments
HTML5.jpg
I Got IT ! But i ignore if addon HTML5 for Youtube is the reason
(51.69 KiB) Downloaded 2293 times

noalternative
Posts: 104
Joined: Wed 11 Nov 2009, 03:45
Contact:

LxPanelx

#870 Post by noalternative »

is there a place where I can download the most recent version of lxpanelx for your older 5.7 slacko versions? I can't find them in the package manager.

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Re: LxPanelx

#871 Post by peebee »

noalternative wrote:is there a place where I can download the most recent version of lxpanelx for your older 5.7 slacko versions? I can't find them in the package manager.
lxpanelx is sadly a defunct project - there has been no "recent version" for some long time - that is why I have had to move to lxpanel on more recent lxpups....I did try to compile lxpanelx for new builds but failed.....

What aspect of lxpanelx do you need to update????
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

noalternative
Posts: 104
Joined: Wed 11 Nov 2009, 03:45
Contact:

#872 Post by noalternative »

It doesn't show all the desktops in the desktop pager. It just shows 1 even though I have made 3.

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#873 Post by peebee »

noalternative wrote:It doesn't show all the desktops in the desktop pager. It just shows 1 even though I have made 3.
Works fine for me on a pristine boot of LxPup-15.11-s with lxpanelx .......

Add desktops either by clicking the scroll wheel on the mouse

or Menu -> Desktop -> Change Appearance -> Windows to run Openbox Configuration Manager

Did you make the additional desktop differently??
Attachments
screenshot.png
(98 KiB) Downloaded 1792 times
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

noalternative
Posts: 104
Joined: Wed 11 Nov 2009, 03:45
Contact:

Install ubuntu packages.

#874 Post by noalternative »

peebee wrote:
noalternative wrote:It doesn't show all the desktops in the desktop pager. It just shows 1 even though I have made 3.
Works fine for me on a pristine boot of LxPup-15.11-s with lxpanelx .......

Add desktops either by clicking the scroll wheel on the mouse

or Menu -> Desktop -> Change Appearance -> Windows to run Openbox Configuration Manager

Did you make the additional desktop differently??
I did this before. However, I changed from 2 to 3 and all of the sudden they showed up.

Anyhow, I have another question. Can I install ubuntu debian packages on xenial based lxpup? If so how? I would like to install this facebook plugin in pidgin. http://download.opensuse.org/repositori ... 6.04/i386/

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Re: Install ubuntu packages.

#875 Post by peebee »

noalternative wrote:Anyhow, I have another question. Can I install ubuntu debian packages on xenial based lxpup? If so how? I would like to install this facebook plugin in pidgin.
Yes - Easiest way if the .deb is not in the repositories offered by PPM is to download the .deb and then click on it - once loaded you will need to use the menu item Setup -> Check dependencies installed pkg

If there are missing dependencies you will need to install these as well - hopefully via the PPM.
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

noalternative
Posts: 104
Joined: Wed 11 Nov 2009, 03:45
Contact:

#876 Post by noalternative »

Thanks for all your help? What is the easiest way to setup bluetooth in xenial? Would this be better posted to xenial pup?

noalternative
Posts: 104
Joined: Wed 11 Nov 2009, 03:45
Contact:

Puppy Package Manager won't download or upgrade anymore.

#877 Post by noalternative »

My puppy package manager stopped updating and downloading all the sudden. It seemed to happen after I downloaded adb and fastboot tools so I could upgrade my phone to the latest cyanogenmod nightly. I am using the xenial version of lxpup.

https://wiki.cyanogenmod.org/w/Install_CM_for_condor

Otherwise xenial lxpup is working perfectly, so I would hate to have to do a reeinstall.

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Re: Keyboard Layout handler - no flags in the panel

#878 Post by peebee »

riedzig wrote:Hi Peebee
I'm still using your excellent LXpup as No. 1 among all distros, but I am also trying to get through some bugs (not found in forums). One of them is the Keyboard Layout switcher/handler), which won't show in any LXPup the appropriate flags in the panel (shows only a blank frame). Do you please know a solution?
Hi riedzig....I'm pleased to report that the Keyboard Handler panel plugin is now working in LxPupSc-17.01.21.....
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

riedzig
Posts: 40
Joined: Thu 01 Oct 2015, 06:14

#879 Post by riedzig »

Hi, peebee
many thanks, I'll have a look at it. Will it be possible to use my current save file?
If you have a moment please read my last query (at this time still unanswered)
http://murga-linux.com/puppy/viewtopic.php?t=109558
I would very much appreciate an advice.

mcradventures
Posts: 10
Joined: Wed 25 Jan 2017, 08:09

#880 Post by mcradventures »

Could you offer versions with the 3.x kernel? The 4.x kernel doesn't work with my Puppy computer but would like to try this pup.

Post Reply