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
davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#571 Post by davesurrey »

Okay, installed the new pet, uninstalled libphoto2 and then reinstalled it.
Results:

1. reinstalling libphoto2 gave no dependency errors.

2. running Xsane from Menu brought up the GUI frontend. Selected USB and it started to scan for a device but as I haven't got a scanner here that is as far as it goes. But seems fine.
Tried to do the same using terminal "xsane" and get the scanning for devices window.
Only error message is the usual GTK and GDK warning ..locale not supported.

3. Still no menu for gtkam. Ran it from terminal and it came up okay. Same GTk/GDK error messages.

HTH
Dave

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

#572 Post by davesurrey »

ttuuxx:
seems our posts crossed.
I edited the gtkam.desktop file and now it is in the Menu.
Enjoy the film!

MHHT:
I did as you suggested and now have xmms in the Menus.

Thanks to you both.

Dave

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

#573 Post by ttuuxxx »

ok Gtkam has been updated on page 38 and Also I included a link to that missing lib that was in the devx :) all should be perfect now :)
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:

#574 Post by ttuuxxx »

Ok Guys I can't wait, lol This was going to be my surprise, lol
I spent like 2 days on xfce making a xfBurn-Gstreamer package, it was for 415, So anyways I was bored and messed around a bit, and well lets just call this little package below XFCE-TRIO 8)
Basically its
Xfburn - Basic version I compiled on 2.14.1X tonight :)
Ristretto Which is a nice small image viewer with adjustable slideshow, thumbnails, zoom. really nice for the size of it:)
Screenshot: This has to be the nicest Screenshot application on puppy:) you can Select region, active window, or whole screen, plus adjustable delay, then only part that doesn't work is 'Open With' big woopie, lol
The reason why I grouped them together is because they use mostly the same xfce libs.
I also included a updated /root/.xinitrc because your dbus has to be working and this update will turn it on, once installed refresh menus, and restart X-server and you should be good to go :)
Trust me this is a nice package:) and only 809kb for all 3 applications.
ttuuxxx

Ps The way I hacked together these packages, they are just standalone apps, Xfce will not be installed, still using JWM :)
Attachments
xfce.jpg
(66.66 KiB) Downloaded 1355 times
xfburn.jpg
(46.61 KiB) Downloaded 1326 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
clarf
Posts: 613
Joined: Wed 13 Jun 2007, 19:22
Location: The old Lone Wolf

#575 Post by clarf »

Amazing work ttuuxxx, What a gift they look great. Can´t just wait the new release...

Well my two cents. About the error "locale not supported by C library", it means just that the system locale set is not supported by the C library compiled.

You can easily fix it just using:

Code: Select all

export LC_ALL=C
or

Code: Select all

export LC_ALL=POSIX
Use it and then execute any application, you can notice the error message is gone.

The LC_ALL variable Overrides all LC_* environment variables with the given value

It could happend because some locale files where missed when you compiled the C libraries.

You also could avoid these error messages just removing the LANG environment variable. BUT this also eliminates the internationalization support in all programs...

clarf

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

#576 Post by ttuuxxx »

clarf wrote:Amazing work ttuuxxx, What a gift they look great. Can´t just wait the new release...

Well my two cents. About the error "locale not supported by C library", it means just that the system locale set is not supported by the C library compiled.

You can easily fix it just using:

Code: Select all

export LC_ALL=C
or

Code: Select all

export LC_ALL=POSIX
Use it and then execute any application, you can notice the error message is gone.

The LC_ALL variable Overrides all LC_* environment variables with the given value

It could happend because some locale files where missed when you compiled the C libraries.

You also could avoid these error messages just removing the LANG environment variable. BUT this also eliminates the internationalization support in all programs...

clarf
Ok that worked really well and thanks, but does it work for other languages? And how do I integrate it into the system. maybe just in /root/.xinitrc ?
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

mawebb88
Posts: 246
Joined: Sun 13 Jul 2008, 09:54
Location: France nr Lyon

pnethood

#577 Post by mawebb88 »

Hi ttuuxxx

Just a reminder to a request I made earlier in the thread to have pnethood to replace linneighood which does not work at least for me with my Samba LANdisk access as I did not see it in 214x4.

Thanks

Mike

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

#578 Post by MinHundHettePerro »

clarf :D :D :D
Putting

Code: Select all

export LC_ALL=C
just before

Code: Select all

#exec $CURRENTWM
in /root/.xinitrc fixes a lot of problems.:):):) I Can now set my keyboard layout with Menu>Setup>Muse/Keyboard Wizard>first option. :D :D

Furthermore, if we comment out some offending code in /etc/xdg/templates/_root_.jwmrc:
<WindowStyle>
<Font>DejaVu Sans 12</Font>
<Width>4</Width>
<Height>24</Height>
<Active>
<Text>white</Text>
<Title>#70849d:#2e3a67</Title>
<!--Corner>white</Corner-->
<Outline>black</Outline>
</Active>
<Inactive>
<Text>#aaaaaa</Text>
<Title>#808488:#303438</Title>
<!--Corner>#aaaaaa</Corner-->
<Outline>black</Outline>
</Inactive>
</WindowStyle>
and run fixmenus and jwm -restart.........................

:)

............................

then the original jwm_config manager works (at least the parts I tried) :D :8

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
clarf
Posts: 613
Joined: Wed 13 Jun 2007, 19:22
Location: The old Lone Wolf

#579 Post by clarf »

Internationalization of software means programming it to be able to adapt to the user's favorite conventions (conventions such as the format for representing dates and times, monetary values, etc) there is a complete list in http://en.wikipedia.org/wiki/Locale). In ANSI C, internationalization works by means of locales. The user chooses a set of conventions by specifying a locale (via environment variables).

Using a "C", "POSIX" or "" LANG variable will tell the system to use the standard locale. In this way any program will use their deafult message, date format, etc from the ANSI C standard.

The behavior of the locale variable is peculiar to the localization control itself in each program. For example, some programs use translation libraries just reading the locale variable. If you remove those transalations, the translation is not present for a specific locale value or the local value is invalid, then this application usually show a warning and then use the satndard translation libraries that it has.

You can edit the /etc/profile file and edit the LANG=en_US variable (line 77) to make this change consistant in each boot.

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

#580 Post by ttuuxxx »

Hi great work on squashing those bugs :) I'll include the fixes, there's one issue still left the error
'Xlib: extension "SHAPE" missing on display ":0.0".'
I read on the net how to fix it
To get the SHAPE extension, you need to load the extmod module in your xorg.conf:

Section "Module"
Load "extmod"

but dougal messed around and moved it from there. And when I try to add it to xorgwizard it doesn't work. grrr, any ideas?

#Special base config file used in Puppy Linux.

## Dougal: moved module section into xorgwizard.

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

thanks for everything
ttuuxxxx
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:

#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

Post Reply