Classic Pup 2.14X -- Updated 2 series

A home for all kinds of Puppy related projects

What is the best Puppy Version ever, LOL

2.14x
11
29%
2.14x
4
11%
2.14x
11
29%
Other: 2.14x only
12
32%
 
Total votes: 38

Message
Author
User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#581 Post by ttuuxxx »

Here's hardinfo hardware information, I edited the source code and renamed/repeated most of the icons so it would reduce the amount of icons needed, it went from 236kb in icons to 20kb in icons and still looks good :)
ttuuxxx
Attachments
hardinfo.jpg
(61.39 KiB) Downloaded 1319 times
hardinfo-0.5.1-i386.pet
(164.13 KiB) Downloaded 730 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#582 Post by davesurrey »

Some feedback once again:

1. clarf's suggestion to do

Code: Select all

export LC_ALL=C 
eliminates the GTK and GDK warnings "locale not supported by C lib" certainly for xsane, gtkam and gtkhash but only while I am in terminal. If I go out of terminal and then back in and "gtkhash" for example the error messages return.

I tried adding "export LC_ALL=C" to /root/.initrc as suggested by MHHT but that didn't work. So I guess the question is where can it go to be persistent. Also I checked that /etc/profile line 73 had

Code: Select all

 LANG=en_GB 
which it did.

2. Even with this in terminal I get a further error message with gtkhash
gtk-warning: failed to set property gtk toolbar.icon-size to GTK_ICON_SIZE_SMALL_TOOLBAR. could not parse integer.
3. As MHHT reported the change to /etc/xdg/templates/_root_.jwmrc resolves a lot of the issues with jwm_config_mngr

HTH
Dave

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#583 Post by davesurrey »

ttuuxxx;
Just installed HardInfo, and the Xfburn/Ristretto/Screenshot trio and all are working. Many thanks.

We now have two inserts in Menu>Graphics namely
"Screenshot" and "Take Screenshot".
Can I assume if you are going to keep both then you will rename them to ident them easier.
eg Simple and Advanced Screenshot or Even Screenshot-mtpaint.

Cheers
Dave

User avatar
esmourguit
Posts: 1410
Joined: Fri 17 Nov 2006, 14:45
Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie

#584 Post by esmourguit »

Bonjour à tous,

Hello ttuxxx,
Just installed HardInfo, and the Xfburn/Ristretto/Screenshot trio but there is one problem with ristretto, see picture below. I'm with the fr-FR locale.
Thank you for that version.
Cordialement ;)
Attachments
Screenshot_ristretto01.jpg
(32.01 KiB) Downloaded 1145 times
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#585 Post by davesurrey »

Bonjour esmourguit:
Go'day ttuuxx:

Yes I have the same error message when I run Ristretto from terminal. Well not as verbose; it just says
DEBUG: xfdesktop is not running
I am running locale=en_UK.
However it seems to work okay either from the terminal or Menu.

Dave

User avatar
clarf
Posts: 613
Joined: Wed 13 Jun 2007, 19:22
Location: The old Lone Wolf

#586 Post by clarf »

davesurrey wrote:Some feedback once again:

1. clarf's suggestion to do

Code: Select all

export LC_ALL=C 
eliminates the GTK and GDK warnings "locale not supported by C lib" certainly for xsane, gtkam and gtkhash but only while I am in terminal. If I go out of terminal and then back in and "gtkhash" for example the error messages return.

I tried adding "export LC_ALL=C" to /root/.initrc as suggested by MHHT but that didn't work. So I guess the question is where can it go to be persistent. Also I checked that /etc/profile line 73 had

Code: Select all

 LANG=en_GB 
which it did.
davesurrey, I don´t understand your post. You could make it persistent or not?.

I must clarify that any environment variable could be set in /etc/profile and it makes changes persistent, in this file you must change your LANG=en_GB to LANG=C or LANG=POSIX. Excuse me if I wasn´t clear enough before...

You can check your actual locale for each format setting using:

Code: Select all

locale
For supported localization use:

Code: Select all

locale -a
You also can check all your environment setting using:

Code: Select all

set
Last edited by clarf on Wed 01 Jul 2009, 19:01, edited 1 time in total.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#587 Post by ttuuxxx »

esmourguit wrote:Bonjour à tous,

Hello ttuxxx,
Just installed HardInfo, and the Xfburn/Ristretto/Screenshot trio but there is one problem with ristretto, see picture below. I'm with the fr-FR locale.
Thank you for that version.
Cordialement ;)
Hi probably you didn't restart x-server, because that will start dbus, or you could click on /root/.xinitrc and that will start it also.
and the second message is to be ignored because xfce isn't running, jwm is, Its the way I hacked them together so we wouldn't be stuck using xfce, just there programs, its better that way :) well for size and resources, ristretto even had thunar as a dependency and that is very large, So I only used the lib from it.
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
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#588 Post by ttuuxxx »

davesurrey wrote:ttuuxxx;
Just installed HardInfo, and the Xfburn/Ristretto/Screenshot trio and all are working. Many thanks.

We now have two inserts in Menu>Graphics namely
"Screenshot" and "Take Screenshot".
Can I assume if you are going to keep both then you will rename them to ident them easier.
eg Simple and Advanced Screenshot or Even Screenshot-mtpaint.

Cheers
Dave
Hi Dave I'm just going to remove the older one, no need to have 2 screenshot utilities :) That new one is great isn't it ? lol Funny how small things like that can really make a persons day..
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#589 Post by davesurrey »

clarf wrote
davesurrey, I don´t understand your post. You could make it persistent or not?.
Sorry clarf, no I couldn't.
I did say
If I go out of terminal and then back in and "gtkhash" for example the error messages return.
but I can see it might not have been clear what followed.

Anyway now that I understand what needs to be put in /etc/profile I have changed line 73 to "LANG=C" in place of LANG=en_GB and it is persistent.

Thank you for your help.
Much appreciated.
cheers
Dave

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#590 Post by davesurrey »

Hi ttuuxxx,
Yes the new screenshot app is much nicer. I agree, it doesn't need two of them!!
Cheers
dave

User avatar
MinHundHettePerro
Posts: 852
Joined: Thu 05 Feb 2009, 22:22
Location: SE

#591 Post by MinHundHettePerro »

Hello, all!
Sorry, for my outcry with joy, a bit prematurely perhaps, that the 'C'-fallback-error-message-thingy-bug had vanished :( :oops: :) . Upon reboot, there it was again. Have tried now to make it foolproof, so as to always have LANG=C set in /etc/profile, as well as exported.
This is what I now put in .xinitrc, which ensures that LANG is set back to (and exported as) C, even if locale is set with the chooselocale-script, or otherwise entered in /etc/profile (nicked it from chooselocale, modified it slightly). Insert before #exec $CURRENTWM in /root/.xinitrc:

Code: Select all

# Brute force LANG_profile_workaround/over-rider by MHHP 2009; makes sure that, if a locale is chosen,
# or by other means is set, the choice is overridden and LANG is set back to "C"
LANG_set=`set|grep 'LANG'|grep 'LANG='|cut -f 2 -d '='`
if [ "$LANG_set" != "C" ];then
CURRENTLOCALE="`cat /etc/profile | grep "LANG=" | cut -f 2 -d '=' | cut -f 1 -d ' ' | cut -f 1`"
OLDLANG="LANG=$CURRENTLOCALE"
NEWLANG="LANG=C"
cat /etc/profile | sed -e "s/${OLDLANG}/${NEWLANG}/" > /tmp/profile
sync
cp -f /tmp/profile /etc/profile
rm -rf /tmp/.X0-lock
sync
exec restartwm $CURRENTWM
fi
export LC_ALL=C
It's like disabling chooselocale, while at the same time keeping it for the future, should someone come up with a permanent fix.
This fixes the problem for me but, then again, I never usually set the locale (don't know what it's good for), I just set my keyboard to se, and the timezone to +1, and then I feel localised :) .
Don't know if this is any help for users that need to set the locale, though :? .

cheers/
MHHP
[color=green]Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285[/color]
Slackos & 214X, ... and Q6xx
[color=darkred]Nämen, vaf....[/color] [color=green]ln -s /dev/null MHHP[/color]

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#592 Post by ttuuxxx »

I've been following the forums advice, but also been adding locales to my system, 15MB compressed, lol utf8 etc
also I've ported puppy 4 series chooselocale script and matching files.
and so far this is how far I got. If I can figure out "LC_ALL="
then it would be good to go.
ttuuxxx
Attachments
Screenshot.jpg
(91.38 KiB) Downloaded 950 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#593 Post by ttuuxxx »

ok now I have it so that it sets everything to C local but the LANG=en_AU gets changed when I change it with the language selector.
That works pretty good. Still get a fallback C warning.
ttuuxxx
PS I did the C change by adding to the root/.bashrc

#. /etc/profile
alias ls='ls --color=auto'
alias mkdir='mkdir -p'
alias dir='ls'
export LC_ALL=C
#v1.0.5 need to override TERM setting in /etc/profile...
#export TERM=xterm
# ...v2.13 removed.

#export HISTFILESIZE=2000
#export HISTCONTROL=ignoredups
#...v2.13 removed.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
clarf
Posts: 613
Joined: Wed 13 Jun 2007, 19:22
Location: The old Lone Wolf

#594 Post by clarf »

Hi ttuuxxx, just for the record I tested XFCE-trio.pet.

I have some problems with ristretto.

After restart x-server I can use ristretto, open files and directories and view related images. But It crash right after you open a directory or file and click in File - Properties.

attached error.
Attachments
error_ristretto_crash_after_click_properties.jpg
(74.15 KiB) Downloaded 294 times

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#595 Post by ttuuxxx »

clarf wrote:Hi ttuuxxx, just for the record I tested XFCE-trio.pet.

I have some problems with ristretto.

After restart x-server I can use ristretto, open files and directories and view related images. But It crash right after you open a directory or file and click in File - Properties.

attached error.
Thanks clarf, I edited the source code and removed Properties, really its not an actual needed it, so when you open it, there's no 'Properties' to select, lol
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
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#596 Post by ttuuxxx »

Hi Guys I'm trying fixup the loose ends, well basically put the next release together. As for the JWM Config manager, is there anything else I should add to it, I changed the icons and now it looks much better.
ttuuxxx
Last edited by ttuuxxx on Thu 02 Jul 2009, 08:57, edited 2 times in total.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#597 Post by davesurrey »

ttuuxxx wrote
As for the JWM Config manager, is there anything else I should add to it,
taskbar ??

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#598 Post by ttuuxxx »

Good Idea, the number of virtual desktops wasn't working so I grabbed the script from series 4 and now it is :)
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
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#599 Post by ttuuxxx »

Ok thats done and I removed the restart JWM button, because I added fresh menus as soon as you click ok and also added the fresh menus to all the taskbar applets. So its automated now :) I did that to keep the height under control for small screens and also to make it simpler.
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
esmourguit
Posts: 1410
Joined: Fri 17 Nov 2006, 14:45
Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie

#600 Post by esmourguit »

Bonjour à tous,
Hello ttuuxxx,
I restarted X and ristretto works OK, with no problem.
Is it possible to get the french (and others) locale files for this little progs if they exist? Thank you.
I would like to say i have no message "locale not supported by C library". I use fr-FR locale. I just have in /etc/profile this line 73 : LANG=fr_FR
Cordialement ;)
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]

Post Reply