Slacko 5.3.3-RC2 (5.3.2.4[0])

A home for all kinds of Puppy related projects
Message
Author
User avatar
Terryphi
Posts: 761
Joined: Wed 02 Jul 2008, 09:32
Location: West Wales, Britain.

#391 Post by Terryphi »

shinobar wrote: Barry says UTF-8 slows scripts. It is right as for English, but UTF-8 is preferable for other languages, i suppose.
This has not been noticeable to me using en_GB.utf-8 (British English) for "normal" use. This may just be an issue to developers running demanding scripts.
[b]Classic Opera 12.16 browser SFS package[/b] for Precise, Slacko, Racy, Wary, Lucid, etc available[url=http://terryphillips.org.uk/operasfs.htm]here[/url] :)

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

Re: FirstRUN and system when hostname is changed

#392 Post by shinobar »

gcmartin wrote:Slacko SAMBA - The BUG - Shows original Hostname when NO logout has occurred for desktop user before SAMBA installation started
http://www.murga-linux.com/puppy/viewto ... &start=343

It is discussed many times on the environment variable HOSTNAME does not reflect the change with the Quickset/Firstrun/Personalize settings.
I think the fundamental issue is the script xwin restarts without re-evaluateing the /etc/profile other than the environment variable 'LANG'(see the last lines of '/usr/bin/xwin').

But practically, i guess no problem with the 'HOSTNAME' and no need to logout or even restart X(my firstrun does not restarts X if the change is only the hostname).
Actually, as for the samba server, restart is required for the samba server, not the X server.

My question is, who reads the 'HOSTNAME'?
As for the samba server, it does never read the variable 'HOSTNAME'. But the mick's 'simple samba settings' reads the variable 'HOSTNAME'. In this point of view, the script should read the output of the command 'hostname' instead of the variable 'HOSTNAME, that is $(hostname) rather than "$HOSTNAME" (~line 66).
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

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

Re: FirstRUN and system when hostname is changed

#393 Post by 01micko »

shinobar wrote: 'HOSTNAME, that is $(hostname) rather than "$HOSTNAME" (~line 66).
Yes, that solves it, though for true resetting of HOSTNAME a reboot is needed (for /etc/profile and kernel).

I will reupload samba with the fix.

Thanks, saves me a headache :lol:

~

I'm hoping to get RC out on Friday.

I'm in front with my homework now :)
Puppy Linux Blog - contact me for access

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#394 Post by sc0ttman »

Terryphi wrote:
shinobar wrote: Barry says UTF-8 slows scripts. It is right as for English, but UTF-8 is preferable for other languages, i suppose.
This has not been noticeable to me using en_GB.utf-8 (British English) for "normal" use. This may just be an issue to developers running demanding scripts.
Forgive me if I am talking rubbish, shinobar is the expert here...

But just for the record, I run with UTF-8 enabled, sometimes in Russian, Spanish, whatever...
Having UTF-8 does not seem to slow things down in English, but it does get slower in other languages...
I have timed it, some things are definitely a bit slower in non-English UTF-8 locales.

However, I have found that when devs use a well placed 'LANG=C' inside (a function of) a shell script,
then you can remedy the slow down easily.. I have done this with Pup-Advert-Blocker on my system..

LANG should get reverted obviously.. So:

OLDLANG=$LANG
LANG=C
...
(do stuff)
...
LANG=$OLDLANG

But as long as you have the right LANG set when pulling in locale files,
then you can usually pretty much run the rest of the script with LANG=C
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

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

#395 Post by 01micko »

I just compiled samba

samba_full-3.6.3-s.pet

It includes Samba Simple Setup gui with shinobar's bugfix for hostname. I have done very limited testing, haven't tested printing yet.

Also, if you have a custom smb.conf the setup gui detects that and offers a way out before it starts.

The compile is slightly different, swat and private are in different locations, no big deal. It is the complete package with all binaries and libraries stripped, still only ~32M in size.

Configure args:

Code: Select all

./configure --prefix=/usr --enable-swat --enable-cups --localstatedir=/var --sysconfdir=/etc --with-statedir=/var/locks --with-configdir=/etc/samba
Puppy Linux Blog - contact me for access

Jasper

seaside's SFSdirload-standalone-0.3.pet as amended

#396 Post by Jasper »

Hi 01micko, seaside, technosaurus
and, for now, especially Puppy experts

Below is an excerpt from a thread from technosaurus. Any Puppy amateurs, like myself, should make a backup if they decide to try this small change of code.

Firstly. at least for now, my understanding is that it only works with JWM where it has a speed improve improvement over "fixmenus" of some fifteenfold.

This means that, even on my 1998 desktop (then high performing and still a pleasure to use even without a hard disk) I can load multiple (up to 7 in my case) sfs files and refresh the menus in a few seconds.

However, the screenshot below shows I currently get some additional Drive Icons which overlay my existing icons.

References:

from seaside http://www.murga-linux.com/puppy/viewto ... 13f#590655

where his opening sentence reads
"SFSdirload-standalone-0.3 allows you to arrange your SFS files in directories and load each directories' sfs files all at once."

The change as in the screenshot is to
/root/.etc/rc.d/init.d/SFSdirload
but there alternative additions shown in the code below.


technosaurus wrote at http://www.murga-linux.com/puppy/viewto ... 94&t=70804

"Forget about deciding whether to yaf-splash or gtkdialog-splash while creating jwm menus when it happens in <0.2 seconds _AND_ supports subcategory menus using only basic shell commands (no other requirements)

Thanks to amigo for his readline trick (and others) posted here:
http://www.murga-linux.com/puppy/viewtopic.php?t=70238

usage:

Code: Select all

#to get a menu without subcategories
jwm_menu_create && jwm -restart

Code: Select all

#to get a menu with subcategories
SUBMENU=0 jwm_menu_create && jwm -restart

Code: Select all

#to test with another language
LANG=de_JA SUBMENU=0 jwm_menu_create && jwm -restart
see the German translation for a localization template "

My regards

Note - I am using Slacko 5.3.1 Main. Though I have never used a Full installation - where this may be not or less applicable. Finally, if there are any questions please ask the experts.
Attachments
The extra drive icons .jpg
This would need fixing - perhaps it is already fixed in the latest Slacko.
(27.77 KiB) Downloaded 1321 times
The coding changes.jpg
See the two lines 22 &amp; 23 commented out and the two added lines at 24 &amp; 25.
(26.91 KiB) Downloaded 1258 times
Last edited by Jasper on Thu 16 Feb 2012, 19:24, edited 1 time in total.

Jasper

#397 Post by Jasper »

Hi 01micko,

The Drive Icon screenshot in my post immediately above was taken using Slacko 5.3.1 Main which is the only program I use apart from testing (and occasionally printing "Slacko data" from W98SE).

I have huge faith in your abilities which is why I added in the screenshot - "perhaps it is already fixed in the latest Slacko" so thank you for your most helpful explanation - where I'm pleased to read the Drive Icon quirk is resolved with a choice of displays.

I remain totally delighted with 5.3.1 - I just wanted to report on my effort to load many large sfs files and update the JWM menu in a few seconds.

My regards

PS I was also pleased to hear you're ahead with your college work.
---------------------------------------------------------------
Posted from this place holder after reading 01micko's response below.
Last edited by Jasper on Thu 16 Feb 2012, 21:10, edited 1 time in total.

Jasper

#398 Post by Jasper »

Hi again,

My wife and I will be rather busy with three upcoming birthdays this month of younger family members - two 65ths and a 40th.

As I recall it was Lobster, stu90 and me who expressed the greatest interest in Linux Portable Apps. Recently stu90 kindly explained to me how he can make them - and I was going to forward his PMs to Lobster to see if I could be of any help in making some.

However, since multiple sfs files may be available with updated menus in a few seconds and as they are easily made from pets there seems little point in making Portable Apps.

My regards

PS I hope to find some time to test any new Main versions of Slacko.
Last edited by Jasper on Thu 16 Feb 2012, 22:28, edited 1 time in total.

Jasper

#399 Post by Jasper »

I wanted to automate libreoffice>Tools>Options>Memory>Enable systray Quickstarter (just from interest and because I like to minimise numbers of keystrokes and mouse movements).

After instalingl a version of the xdotool pet the following works:

Code: Select all

xdotool key super+c
sleep 2
xdotool type libreoffice
sleep 2
xdotool key Return
sleep 6
xdotool key alt+T
sleep 2
xdotool key alt+O
sleep 2
xdotool key Down Arrow 
sleep .5
xdotool key Down Arrow 
sleep .5
xdotool key alt+e
sleep 1
xdotool key Return
sleep 1
xdotool key ctrl+q
sleep 1
xdotool key alt+z
Notes:
(1) The sleep times are unoptimised, specific to my computer, and hit and miss.
(2) In the first line I had already made a shortcut of Winkey+c to load my urxvt console.
(3) In the last line I had already added Alt+z (for zap) to JWM which closes windows exactly as Alt+F4 does - though, for me, more comfortably and easily reached.

My regards

The above works, but It took me more than 3 hours to achieve it. If anyone has a couple of minutes, or more, to spare to translate it into reasonably elegant code I would very much like that - though it is not important.
-----------------------------------------------------
I had already made this place holder so my apology that it is not purel Slacko.
Last edited by Jasper on Thu 16 Feb 2012, 21:59, edited 1 time in total.

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

#400 Post by 01micko »

Jasper

At this point you can make a choice of which drive icons you prefer to keep.

The "new" ones are a feature of techno's jwm_tools and in Slacko they are turned off by default. If you want to keep those ones I'm sure you know how to run desksetup :wink: to remove drive icons (and in distros without desksetup run event manager).



To remove those drive icons, which are simply an extra jwm-tray, there is a configuration file ~/.jwm/JWMRC. Near the top of that file you will likely have DRIVES="1". Change that to DRIVES="", restart jwm and they will disappear. There is a YAD gui for configuration, but it is still a little buggy so there is no menu entry.

There is also a setting for submenus in that file, maybe you are aware?

HTH
Puppy Linux Blog - contact me for access

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#401 Post by Lobster »

I remain totally delighted with 5.3.1
Me too. :)
. . . wait a minute I am using slacko-5.3.2.1-SCSI.iso
- that is the new kernel that Mick is not too happy with? :shock:

How is the course going Mick? What are you learning?

Talking of portable apps.
http://portablelinuxapps.org/
Many of them worked in Lucid. Very few in Slacko
(that has been my experience). Shame. :cry:
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

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

#402 Post by 01micko »

WOOHOO!

The death of Adobe Flash is nigh!

The next slacko-rc WILL play youtube vids ootb with NO, I repeat NO flashplayer installed 8)

Yes, yes, it's late, I know .. I've been buried in a batch of macros.. :roll:

Stay tuned...
Attachments
new-seamonkey-noflash.png
(183.28 KiB) Downloaded 1002 times
Puppy Linux Blog - contact me for access

User avatar
russoodle
Posts: 707
Joined: Fri 12 Sep 2008, 17:36
Location: Down-Under in South Oz

#403 Post by russoodle »

01micko wrote:WOOHOO!

The death of Adobe Flash is nigh!

The next slacko-rc WILL play youtube vids ootb with NO, I repeat NO flashplayer installed 8)

Yes, yes, it's late, I know .. I've been buried in a batch of macros.. :roll:

Stay tuned...
STUPENDOUS! !

Thank you :D
[i][color=Green][size=92]The mud-elephant, wading thru the sea, leaves no tracks..[/size][/color][/i]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

jwm_param_gui

#404 Post by L18L »

01micko wrote:Jasper

At this point you can make a choice of which drive icons you prefer to keep.

The "new" ones are a feature of techno's jwm_tools and in Slacko they are turned off by default. If you want to keep those ones I'm sure you know how to run desksetup :wink: to remove drive icons (and in distros without desksetup run event manager).



To remove those drive icons, which are simply an extra jwm-tray, there is a configuration file ~/.jwm/JWMRC. Near the top of that file you will likely have DRIVES="1". Change that to DRIVES="", restart jwm and they will disappear. There is a YAD gui for configuration, but it is still a little buggy so there is no menu entry.

There is also a setting for submenus in that file, maybe you are aware?

HTH
Fixed in jwm_param_gui now (and LANGUAGE added)
see http://murga-linux.com/puppy/viewtopic. ... 4&start=97
Attachments
jwm_param_gui_0.7.2.png
(25.37 KiB) Downloaded 1022 times

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

Re: 5.3.3-Beta

#405 Post by 01micko »

sszindian wrote:Some more testing.....

Seems to be a problem with the PPM 'UMPlayer' (both versions there)

The Stand Alone Version: When activated appears on the screen as it should - When you type a selection in the Youtube Address Bar, the second window opens displaying the files (as it should) but... the 'Thumbnail Graphics' do NOT appear. When you click on a file, the audio works but the video does not!

The Regular Plain sfs Version: When activacted appears on the screen as it should - When you type a selection in the Youtube Address Bar, the second window opens displaying the files (as it should) WITH the Thumbnail Graphics.' When you select a thumbnail file, the video works in the main window (as it should) but... there ISN'T any AUDIO!

Hope I got that right!

>>>---Indian------>
Ok, that's weird. I'm not having an issue with umplayer or smplayer BUT I don't know how on earth I play a youtube vid in it!!! Is that the only problem? Does it play local video ok? DVDs? (does for me). Is it because of the 'vesa' xorg driver?

The other strange thing is that they are both exactly the same compile, just the essential qt4 libs are added to the standalone version.

_____________________________________________________________________

L18L, thanks for that, just made RC :wink:
Puppy Linux Blog - contact me for access

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

#406 Post by 01micko »

RC is out

See main post
Puppy Linux Blog - contact me for access

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#407 Post by James C »

Fresh manual frugal install of 5.3.2.3 on an old P4 test box. Sound, display and internet all working on initial boot.
But, MtPaint screenshot is non-functional and no error messages when run from terminal. Otherwise,looking good so far.


# report-video
VIDEO REPORT: Slacko Puppy, version 5.3.2.3

Chip description:
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)

Driver used by Xorg:
intel

Video mode used by Xorg:
Resolution: "1024x768" Depth: Depth 24

...the above also recorded in /tmp/report-video

-Computer-
Processor : Intel(R) Pentium(R) 4 CPU 2.80GHz
Memory : 512MB (120MB used)
Operating System : Unknown distribution
User Name : root (root)
Date/Time : Sat Feb 18 19:37:44 2012
-Display-
Resolution : 1024x768 pixels
OpenGL Renderer : Unknown
X11 Vendor : The X.Org Foundation
-Multimedia-
Audio Adapter : ICH4 - Intel ICH5

-Version-
Kernel : Linux 3.1.10-slacko_4gx3 (i686)
Compiled : #1 SMP Sat Jan 28 08:22:17 EST 2012
C Library : GNU C Library version 2.13 (stable)
Default C Compiler : Unknown
Distribution : Unknown distribution

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

Slacko 5.3.3-RC (5.3.2.3)

#408 Post by Billtoo »

I did a full install to my acer revo nettop pc.
I installed mesa and the nvidia driver from slickpet.

Sat 18 Feb 2012 Operating System:Slacko Puppy-5.3.2.3 Linux 3.1.10-slacko_4gx3
0.0 VGA compatible controller: nVidia Corporation ION VGA (rev b1)
oem: NVIDIA product: MCP79 Board - hornet-0 Chip Rev

X Server: Xorg Driver: nvidia
X.Org version: 1.9.5
dimensions: 1920x1080 pixels (524x292 millimeters)
depth of root window: 24 planes

direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: ION/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 290.10

Intel(R) Atom(TM) CPU 330
Core 0: 1600 1: 1600 2: 1600 3: 1600 MHz

# glxgears
8692 frames in 5.0 seconds = 1738.400 FPS
9760 frames in 5.0 seconds = 1952.000 FPS
9741 frames in 5.0 seconds = 1948.200 FPS

Running report-video-glx in the terminal gave the following error:
(process:6155): Gdk-WARNING **: locale not supported by C library

Gtk-WARNING (recursed) **: Locale not supported by C library.
Using the fallback 'C' locale.

No other problems so far, working well.

edit: almost forgot, the mtpaint screenshot isn't working, I had to load mtpaint and do the time delayed screenshot from the actions selection on the menu.
Attachments
Screenshot.jpg
(152.54 KiB) Downloaded 811 times
Last edited by Billtoo on Sun 19 Feb 2012, 02:02, edited 1 time in total.

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#409 Post by James C »

Billtoo must be luckier than me, 2 installs and 2 non-working screenshots..... :lol:

Anyway, installed Mesa and.......

# glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
378 frames in 5.0 seconds = 75.548 FPS
376 frames in 5.0 seconds = 75.143 FPS
376 frames in 5.0 seconds = 75.143 FPS
376 frames in 5.0 seconds = 75.141 FPS
376 frames in 5.0 seconds = 75.143 FPS
376 frames in 5.0 seconds = 75.144 FPS

Lots of those error messages though...

Code: Select all

(process:5709): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(process:6344): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(process:6380): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(process:6387): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(process:6440): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(process:6516): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(process:7092): Gdk-WARNING **: locale not supported by C library

(process:7092): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(process:7275): Gdk-WARNING **: locale not supported by C library

(process:7275): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(process:11794): Gdk-WARNING **: locale not supported by C library

(process:11794): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Last edited by James C on Sun 19 Feb 2012, 02:00, edited 1 time in total.

majorfoo
Posts: 448
Joined: Mon 07 Mar 2011, 22:27
Location: Wish I knew

#410 Post by majorfoo »

Boot from live CD to desktop

auto connected to internet
sound ok

Next - full install to ext4 partition

updated seamonkey to 2.8-beta3
Added several items from my storage partition.
Everything works so far

Great job as always - thank you for all your hard work on this

majorfoo

Post Reply